diff --git a/DiscoveryJson/accesscontextmanager.v1.json b/DiscoveryJson/accesscontextmanager.v1.json index d86e20e796c..48d1bcf2f13 100644 --- a/DiscoveryJson/accesscontextmanager.v1.json +++ b/DiscoveryJson/accesscontextmanager.v1.json @@ -1206,7 +1206,7 @@ ], "parameters": { "append": { - "description": "Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings supports appending. Global access_levels, dry_run_access_levels, and reauth_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when \"scoped_access_settings\" is not set in the update_mask.", + "description": "Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings supports appending. Global access_levels, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when \"scoped_access_settings\" is not set in the update_mask.", "location": "query", "type": "boolean" }, @@ -1218,7 +1218,7 @@ "type": "string" }, "updateMask": { - "description": "Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `reauth_settings`, `scoped_access_settings`. update_mask { paths: \"access_levels\" }", + "description": "Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `reauth_settings` `session_settings`, `scoped_access_settings`. update_mask { paths: \"access_levels\" }", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1295,7 +1295,7 @@ } } }, - "revision": "20241014", + "revision": "20241022", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessContextManagerOperationMetadata": { @@ -1387,6 +1387,10 @@ "reauthSettings": { "$ref": "ReauthSettings", "description": "Optional. Reauth settings applied to user access on a given AccessScope." + }, + "sessionSettings": { + "$ref": "SessionSettings", + "description": "Optional. Session settings applied to user access on a given AccessScope. Migrated from ReauthSettings" } }, "type": "object" @@ -1880,7 +1884,7 @@ "type": "object" }, "GcpUserAccessBinding": { - "description": "Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.", + "description": "Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11", "id": "GcpUserAccessBinding", "properties": { "accessLevels": { @@ -2500,6 +2504,47 @@ }, "type": "object" }, + "SessionSettings": { + "description": "Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings.", + "id": "SessionSettings", + "properties": { + "maxInactivity": { + "description": "Optional. How long a user is allowed to take between actions before a new access token must be issued. Presently only set for Cloud Apps.", + "format": "google-duration", + "type": "string" + }, + "sessionLength": { + "description": "Optional. The session length. Setting this field to zero is equal to disabling. Session. Also can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age param.", + "format": "google-duration", + "type": "string" + }, + "sessionLengthEnabled": { + "description": "Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite.", + "type": "boolean" + }, + "sessionReauthMethod": { + "description": "Optional. Session method when users GCP session is up.", + "enum": [ + "SESSION_REAUTH_METHOD_UNSPECIFIED", + "LOGIN", + "SECURITY_KEY", + "PASSWORD" + ], + "enumDescriptions": [ + "If method undefined in API, we will use LOGIN by default.", + "The user will prompted to perform regular login. Users who are enrolled for two-step verification and haven't chosen to \"Remember this computer\" will be prompted for their second factor.", + "The user will be prompted to autheticate using their security key. If no security key has been configured, then we will fallback to LOGIN.", + "The user will be prompted for their password." + ], + "type": "string" + }, + "useOidcMaxAge": { + "description": "Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.", + "type": "boolean" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", diff --git a/DiscoveryJson/alloydb.v1.json b/DiscoveryJson/alloydb.v1.json index 6c856f339f9..20e2a6fea15 100644 --- a/DiscoveryJson/alloydb.v1.json +++ b/DiscoveryJson/alloydb.v1.json @@ -1517,7 +1517,7 @@ } } }, - "revision": "20241002", + "revision": "20241015", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -4635,6 +4635,7 @@ "type": "integer" }, "retentionUnit": { + "deprecated": true, "description": "The unit that 'retained_backups' represents.", "enum": [ "RETENTION_UNIT_UNSPECIFIED", @@ -4655,6 +4656,11 @@ "timeBasedRetention": { "format": "google-duration", "type": "string" + }, + "timestampBasedRetentionTime": { + "description": "Timestamp based retention period i.e. 2024-05-01T00:00:00Z", + "format": "google-datetime", + "type": "string" } }, "type": "object" diff --git a/DiscoveryJson/alloydb.v1alpha.json b/DiscoveryJson/alloydb.v1alpha.json index fb352eefc86..855cf3b0096 100644 --- a/DiscoveryJson/alloydb.v1alpha.json +++ b/DiscoveryJson/alloydb.v1alpha.json @@ -1517,7 +1517,7 @@ } } }, - "revision": "20241002", + "revision": "20241015", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -4799,6 +4799,7 @@ "type": "integer" }, "retentionUnit": { + "deprecated": true, "description": "The unit that 'retained_backups' represents.", "enum": [ "RETENTION_UNIT_UNSPECIFIED", @@ -4819,6 +4820,11 @@ "timeBasedRetention": { "format": "google-duration", "type": "string" + }, + "timestampBasedRetentionTime": { + "description": "Timestamp based retention period i.e. 2024-05-01T00:00:00Z", + "format": "google-datetime", + "type": "string" } }, "type": "object" diff --git a/DiscoveryJson/alloydb.v1beta.json b/DiscoveryJson/alloydb.v1beta.json index 623d150f7a9..5b70b4f34ca 100644 --- a/DiscoveryJson/alloydb.v1beta.json +++ b/DiscoveryJson/alloydb.v1beta.json @@ -1514,7 +1514,7 @@ } } }, - "revision": "20241002", + "revision": "20241015", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -4751,6 +4751,7 @@ "type": "integer" }, "retentionUnit": { + "deprecated": true, "description": "The unit that 'retained_backups' represents.", "enum": [ "RETENTION_UNIT_UNSPECIFIED", @@ -4771,6 +4772,11 @@ "timeBasedRetention": { "format": "google-duration", "type": "string" + }, + "timestampBasedRetentionTime": { + "description": "Timestamp based retention period i.e. 2024-05-01T00:00:00Z", + "format": "google-datetime", + "type": "string" } }, "type": "object" diff --git a/DiscoveryJson/backupdr.v1.json b/DiscoveryJson/backupdr.v1.json index 8c2ea8640f1..a604c7c12cb 100644 --- a/DiscoveryJson/backupdr.v1.json +++ b/DiscoveryJson/backupdr.v1.json @@ -1663,7 +1663,7 @@ } } }, - "revision": "20241009", + "revision": "20241017", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AbandonBackupRequest": { @@ -1827,42 +1827,6 @@ }, "type": "object" }, - "AssetLocation": { - "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", - "id": "AssetLocation", - "properties": { - "ccfeRmsPath": { - "description": "Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata.", - "type": "string" - }, - "expected": { - "$ref": "IsolationExpectations", - "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." - }, - "extraParameters": { - "description": "Defines extra parameters required for specific asset types.", - "items": { - "$ref": "ExtraParameter" - }, - "type": "array" - }, - "locationData": { - "description": "Contains all kinds of physical location definitions for this asset.", - "items": { - "$ref": "LocationData" - }, - "type": "array" - }, - "parentAsset": { - "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "AttachedDisk": { "description": "An instance-attached disk resource.", "id": "AttachedDisk", @@ -2389,7 +2353,7 @@ "type": "string" }, "resourceType": { - "description": "Required. The resource type to which the `BackupPlan` will be applied. Examples include, \"compute.googleapis.com/Instance\" and \"storage.googleapis.com/Bucket\".", + "description": "Required. The resource type to which the `BackupPlan` will be applied. Examples include, \"compute.googleapis.com/Instance\", \"sqladmin.googleapis.com/Instance\" and \"storage.googleapis.com/Bucket\".", "type": "string" }, "state": { @@ -2520,13 +2484,15 @@ "ACCESS_RESTRICTION_UNSPECIFIED", "WITHIN_PROJECT", "WITHIN_ORGANIZATION", - "UNRESTRICTED" + "UNRESTRICTED", + "WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA" ], "enumDescriptions": [ - "Access restriction not set.", + "Access restriction not set. If user does not provide any value or pass this value, it will be changed to WITHIN_ORGANIZATION.", "Access to or from resources outside your current project will be denied.", "Access to or from resources outside your current organization will be denied.", - "No access restriction." + "No access restriction.", + "Access to or from resources outside your current organization will be denied except for backup appliance." ], "type": "string" }, @@ -2667,49 +2633,12 @@ }, "type": "object" }, - "BlobstoreLocation": { - "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", - "id": "BlobstoreLocation", - "properties": { - "policyId": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, - "CloudAsset": { - "id": "CloudAsset", - "properties": { - "assetName": { - "type": "string" - }, - "assetType": { - "type": "string" - } - }, - "type": "object" - }, - "CloudAssetComposition": { - "id": "CloudAssetComposition", - "properties": { - "childAsset": { - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "ComputeInstanceBackupProperties": { "description": "ComputeInstanceBackupProperties represents Compute Engine instance backup properties.", "id": "ComputeInstanceBackupProperties", @@ -3177,18 +3106,6 @@ }, "type": "object" }, - "DirectLocationAssignment": { - "id": "DirectLocationAssignment", - "properties": { - "location": { - "items": { - "$ref": "LocationAssignment" - }, - "type": "array" - } - }, - "type": "object" - }, "DisplayDevice": { "description": "A set of Display Device options", "id": "DisplayDevice", @@ -3244,17 +3161,6 @@ }, "type": "object" }, - "ExtraParameter": { - "description": "Defines parameters that should only be used for specific asset types.", - "id": "ExtraParameter", - "properties": { - "regionalMigDistributionPolicy": { - "$ref": "RegionalMigDistributionPolicy", - "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." - } - }, - "type": "object" - }, "FetchAccessTokenRequest": { "description": "Request message for FetchAccessToken.", "id": "FetchAccessTokenRequest", @@ -3528,131 +3434,6 @@ }, "type": "object" }, - "IsolationExpectations": { - "id": "IsolationExpectations", - "properties": { - "requirementOverride": { - "$ref": "RequirementOverride", - "description": "Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic." - }, - "ziOrgPolicy": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionPolicy": { - "enum": [ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionState": { - "enum": [ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zoneIsolation": { - "deprecated": true, - "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zoneSeparation": { - "deprecated": true, - "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsOrgPolicy": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsRegionState": { - "enum": [ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking of the asset ZS-bit is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "ListBackupPlanAssociationsResponse": { "description": "Response message for List BackupPlanAssociation", "id": "ListBackupPlanAssociationsResponse", @@ -3873,64 +3654,6 @@ }, "type": "object" }, - "LocationAssignment": { - "id": "LocationAssignment", - "properties": { - "location": { - "type": "string" - }, - "locationType": { - "enum": [ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER" - ], - "enumDescriptions": [ - "", - "1-10: Physical failure domains.", - "", - "11-20: Logical failure domains.", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "LocationData": { - "id": "LocationData", - "properties": { - "blobstoreLocation": { - "$ref": "BlobstoreLocation" - }, - "childAssetLocation": { - "$ref": "CloudAssetComposition" - }, - "directLocation": { - "$ref": "DirectLocationAssignment" - }, - "gcpProjectProxy": { - "$ref": "TenantProjectProxy" - }, - "placerLocation": { - "$ref": "PlacerLocation" - }, - "spannerLocation": { - "$ref": "SpannerLocation" - } - }, - "type": "object" - }, "ManagementServer": { "description": "ManagementServer describes a single BackupDR ManagementServer instance.", "id": "ManagementServer", @@ -4351,17 +4074,6 @@ }, "type": "object" }, - "PlacerLocation": { - "description": "Message describing that the location of the customer resource is tied to placer allocations", - "id": "PlacerLocation", - "properties": { - "placerConfig": { - "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", - "type": "string" - } - }, - "type": "object" - }, "Policy": { "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", @@ -4393,25 +4105,6 @@ }, "type": "object" }, - "RegionalMigDistributionPolicy": { - "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", - "id": "RegionalMigDistributionPolicy", - "properties": { - "targetShape": { - "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", - "format": "int32", - "type": "integer" - }, - "zones": { - "description": "Cloud zones used by regional MIG to create instances.", - "items": { - "$ref": "ZoneConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, "RemoveDataSourceRequest": { "description": "Message for deleting a DataSource.", "id": "RemoveDataSourceRequest", @@ -4423,44 +4116,6 @@ }, "type": "object" }, - "RequirementOverride": { - "id": "RequirementOverride", - "properties": { - "ziOverride": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zsOverride": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "RestoreBackupRequest": { "description": "Request message for restoring from a Backup.", "id": "RestoreBackupRequest", @@ -4706,26 +4361,6 @@ "properties": {}, "type": "object" }, - "SpannerLocation": { - "id": "SpannerLocation", - "properties": { - "backupName": { - "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", - "items": { - "type": "string" - }, - "type": "array" - }, - "dbName": { - "description": "Set of databases used by the resource in format /span//", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "StandardSchedule": { "description": "`StandardSchedule` defines a schedule that run within the confines of a defined window of days. We can define recurrence type for schedule as HOURLY, DAILY, WEEKLY, MONTHLY or YEARLY.", "id": "StandardSchedule", @@ -4894,18 +4529,6 @@ }, "type": "object" }, - "TenantProjectProxy": { - "id": "TenantProjectProxy", - "properties": { - "projectNumbers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest", @@ -5033,15 +4656,6 @@ } }, "type": "object" - }, - "ZoneConfiguration": { - "id": "ZoneConfiguration", - "properties": { - "zone": { - "type": "string" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/chat.v1.json b/DiscoveryJson/chat.v1.json index d3d17800ad2..7194dc46d52 100644 --- a/DiscoveryJson/chat.v1.json +++ b/DiscoveryJson/chat.v1.json @@ -1344,7 +1344,7 @@ } } }, - "revision": "20241008", + "revision": "20241020", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -1999,7 +1999,7 @@ "Default value. Unspecified.", "A user opens a dialog.", "A user clicks an interactive element of a dialog. For example, a user fills out information in a dialog and clicks a button to submit the information.", - "A user closes a dialog without submitting information, or the dialog is canceled." + "A user closes a dialog without submitting information. The Chat app only receives this interaction event when users click the close icon in the top right corner of the dialog. When the user closes the dialog by other means (such as refreshing the browser, clicking outside the dialog box, or pressing the escape key), no event is sent. ." ], "type": "string" }, @@ -2281,6 +2281,24 @@ "text": { "description": "The text displayed inside the button.", "type": "string" + }, + "type": { + "description": "Optional. The type of a button. If unset, button type defaults to `OUTLINED`. If the `color` field is set, the button type is forced to `FILLED` and any value set for this field is ignored. [Google Chat apps](https://developers.google.com/workspace/chat):", + "enum": [ + "TYPE_UNSPECIFIED", + "OUTLINED", + "FILLED", + "FILLED_TONAL", + "BORDERLESS" + ], + "enumDescriptions": [ + "Don't use. Unspecified.", + "Outlined buttons are medium-emphasis buttons. They usually contain actions that are important, but aren\u2019t the primary action in a Chat app or an add-on.", + "A filled button has a container with a solid color. It has the most visual impact and is recommended for the important and primary action in a Chat app or an add-on.", + "A filled tonal button is an alternative middle ground between filled and outlined buttons. They\u2019re useful in contexts where a lower-priority button requires slightly more emphasis than an outline button would give.", + "A button does not have an invisible container in its default state. It is often used for the lowest priority actions, especially when presenting multiple options." + ], + "type": "string" } }, "type": "object" @@ -2429,6 +2447,97 @@ }, "type": "object" }, + "GoogleAppsCardV1Chip": { + "description": "A text, icon, or text and icon chip that users can click. [Google Chat apps](https://developers.google.com/workspace/chat):", + "id": "GoogleAppsCardV1Chip", + "properties": { + "altText": { + "description": "The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: \"Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat\".", + "type": "string" + }, + "disabled": { + "description": "Whether the chip is in an inactive state and ignores user actions. Defaults to `false`.", + "type": "boolean" + }, + "enabled": { + "deprecated": true, + "description": "Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead.", + "type": "boolean" + }, + "icon": { + "$ref": "GoogleAppsCardV1Icon", + "description": "The icon image. If both `icon` and `text` are set, then the icon appears before the text." + }, + "label": { + "description": "The text displayed inside the chip.", + "type": "string" + }, + "onClick": { + "$ref": "GoogleAppsCardV1OnClick", + "description": "Optional. The action to perform when a user clicks the chip, such as opening a hyperlink or running a custom function." + } + }, + "type": "object" + }, + "GoogleAppsCardV1ChipList": { + "description": "A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Chat apps](https://developers.google.com/workspace/chat):", + "id": "GoogleAppsCardV1ChipList", + "properties": { + "chips": { + "description": "An array of chips.", + "items": { + "$ref": "GoogleAppsCardV1Chip" + }, + "type": "array" + }, + "layout": { + "description": "Specified chip list layout.", + "enum": [ + "LAYOUT_UNSPECIFIED", + "WRAPPED", + "HORIZONTAL_SCROLLABLE" + ], + "enumDescriptions": [ + "Don't use. Unspecified.", + "Default value. The chip list wraps to the next line if there isn't enough horizontal space.", + "The chips scroll horizontally if they don't fit in the available space." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAppsCardV1CollapseControl": { + "description": "Represent an expand and collapse control. [Google Chat apps](https://developers.google.com/workspace/chat):", + "id": "GoogleAppsCardV1CollapseControl", + "properties": { + "collapseButton": { + "$ref": "GoogleAppsCardV1Button", + "description": "Optional. Define a customizable button to collapse the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used." + }, + "expandButton": { + "$ref": "GoogleAppsCardV1Button", + "description": "Optional. Define a customizable button to expand the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used." + }, + "horizontalAlignment": { + "description": "The horizontal alignment of the expand and collapse button.", + "enum": [ + "HORIZONTAL_ALIGNMENT_UNSPECIFIED", + "START", + "CENTER", + "END" + ], + "enumDescriptions": [ + "Don't use. Unspecified.", + "Default value. Aligns widgets to the start position of the column. For left-to-right layouts, aligns to the left. For right-to-left layouts, aligns to the right.", + "Aligns widgets to the center of the column.", + "Aligns widgets to the end position of the column. For left-to-right layouts, aligns widgets to the right. For right-to-left layouts, aligns widgets to the left." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleAppsCardV1Column": { "description": "A column. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend)", "id": "GoogleAppsCardV1Column", @@ -2819,6 +2928,10 @@ "openLink": { "$ref": "GoogleAppsCardV1OpenLink", "description": "If specified, this `onClick` triggers an open link action." + }, + "overflowMenu": { + "$ref": "GoogleAppsCardV1OverflowMenu", + "description": "If specified, this `onClick` opens an overflow menu. [Google Chat apps](https://developers.google.com/workspace/chat):" } }, "type": "object" @@ -2858,6 +2971,43 @@ }, "type": "object" }, + "GoogleAppsCardV1OverflowMenu": { + "description": "A widget that presents a pop-up menu with one or more actions that users can invoke. For example, showing non-primary actions in a card. You can use this widget when actions don't fit in the available space. To use, specify this widget in the `OnClick` action of widgets that support it. For example, in a `Button`. [Google Chat apps](https://developers.google.com/workspace/chat):", + "id": "GoogleAppsCardV1OverflowMenu", + "properties": { + "items": { + "description": "Required. The list of menu options.", + "items": { + "$ref": "GoogleAppsCardV1OverflowMenuItem" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAppsCardV1OverflowMenuItem": { + "description": "An option that users can invoke in an overflow menu. [Google Chat apps](https://developers.google.com/workspace/chat):", + "id": "GoogleAppsCardV1OverflowMenuItem", + "properties": { + "disabled": { + "description": "Whether the menu option is disabled. Defaults to false.", + "type": "boolean" + }, + "onClick": { + "$ref": "GoogleAppsCardV1OnClick", + "description": "Required. The action invoked when a menu option is selected. This `OnClick` cannot contain an `OverflowMenu`, any specified `OverflowMenu` is dropped and the menu item disabled." + }, + "startIcon": { + "$ref": "GoogleAppsCardV1Icon", + "description": "The icon displayed in front of the text." + }, + "text": { + "description": "Required. The text that identifies or describes the item to users.", + "type": "string" + } + }, + "type": "object" + }, "GoogleAppsCardV1PlatformDataSource": { "description": "For a `SelectionInput` widget that uses a multiselect menu, a data source from Google Workspace. Used to populate items in a multiselect menu. [Google Chat apps](https://developers.google.com/workspace/chat):", "id": "GoogleAppsCardV1PlatformDataSource", @@ -2885,6 +3035,10 @@ "description": "A section contains a collection of widgets that are rendered vertically in the order that they're specified. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):", "id": "GoogleAppsCardV1Section", "properties": { + "collapseControl": { + "$ref": "GoogleAppsCardV1CollapseControl", + "description": "Optional. Define the expand and collapse button of the section. This button will be shown only if the section is collapsible. If this field isn't set, the default button is used. [Google Chat apps](https://developers.google.com/workspace/chat):" + }, "collapsible": { "description": "Indicates whether this section is collapsible. Collapsible sections hide some or all widgets, but users can expand the section to reveal the hidden widgets by clicking **Show more**. Users can hide the widgets again by clicking **Show less**. To determine which widgets are hidden, specify `uncollapsibleWidgetsCount`.", "type": "boolean" @@ -3114,6 +3268,11 @@ "description": "A paragraph of text that supports formatting. For an example in Google Chat apps, see [Add a paragraph of formatted text](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text). For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):", "id": "GoogleAppsCardV1TextParagraph", "properties": { + "maxLines": { + "description": "The maximum number of lines of text that are displayed in the widget. If the text exceeds the specified maximum number of lines, the excess content is concealed behind a **show more** button. If the text is equal or shorter than the specified maximum number of lines, a **show more** button isn't displayed. The default value is 0, in which case all context is displayed. Negative values are ignored. [Google Chat apps](https://developers.google.com/workspace/chat):", + "format": "int32", + "type": "integer" + }, "text": { "description": "The text that's shown in the widget.", "type": "string" @@ -3129,6 +3288,10 @@ "$ref": "GoogleAppsCardV1ButtonList", "description": "A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` \"buttonList\": { \"buttons\": [ { \"text\": \"Edit\", \"color\": { \"red\": 0, \"green\": 0, \"blue\": 1, }, \"disabled\": true, }, { \"icon\": { \"knownIcon\": \"INVITE\", \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } } ] } ```" }, + "chipList": { + "$ref": "GoogleAppsCardV1ChipList", + "description": "A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` \"chipList\": { \"chips\": [ { \"text\": \"Edit\", \"disabled\": true, }, { \"icon\": { \"knownIcon\": \"INVITE\", \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat):" + }, "columns": { "$ref": "GoogleAppsCardV1Columns", "description": "Displays up to 2 columns. To include more than 2 columns, or to use rows, use the `Grid` widget. For example, the following JSON creates 2 columns that each contain text paragraphs: ``` \"columns\": { \"columnItems\": [ { \"horizontalSizeStyle\": \"FILL_AVAILABLE_SPACE\", \"horizontalAlignment\": \"CENTER\", \"verticalAlignment\": \"CENTER\", \"widgets\": [ { \"textParagraph\": { \"text\": \"First column text paragraph\" } } ] }, { \"horizontalSizeStyle\": \"FILL_AVAILABLE_SPACE\", \"horizontalAlignment\": \"CENTER\", \"verticalAlignment\": \"CENTER\", \"widgets\": [ { \"textParagraph\": { \"text\": \"Second column text paragraph\" } } ] } ] } ```" @@ -3192,6 +3355,10 @@ "$ref": "GoogleAppsCardV1ButtonList", "description": "ButtonList widget." }, + "chipList": { + "$ref": "GoogleAppsCardV1ChipList", + "description": "ChipList widget. [Google Chat apps](https://developers.google.com/workspace/chat):" + }, "dateTimePicker": { "$ref": "GoogleAppsCardV1DateTimePicker", "description": "DateTimePicker widget." diff --git a/DiscoveryJson/checks.v1alpha.json b/DiscoveryJson/checks.v1alpha.json index 47d497b702c..38777b612b8 100644 --- a/DiscoveryJson/checks.v1alpha.json +++ b/DiscoveryJson/checks.v1alpha.json @@ -444,7 +444,7 @@ } } }, - "revision": "20241013", + "revision": "20241025", "rootUrl": "https://checks.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -930,6 +930,7 @@ "DATA_TYPE_FITNESS_INFO", "DATA_TYPE_EMAILS", "DATA_TYPE_TEXT_MESSAGES", + "DATA_TYPE_OTHER_IN_APP_MESSAGES", "DATA_TYPE_PHOTOS", "DATA_TYPE_VIDEOS", "DATA_TYPE_VOICE_OR_SOUND_RECORDINGS", @@ -970,6 +971,7 @@ "Information about a user's fitness, such as exercise or other physical activity.", "A user's emails including the email subject line, sender, recipients, and the content of the email.", "A user's text messages including the sender, recipients, and the content of the message.", + "Any other types of messages. For example, instant messages or chat content.", "A user's photos.", "A user's videos.", "A user's voice such as a voicemail or a sound recording.", @@ -1304,6 +1306,7 @@ "DATA_TYPE_FITNESS_INFO", "DATA_TYPE_EMAILS", "DATA_TYPE_TEXT_MESSAGES", + "DATA_TYPE_OTHER_IN_APP_MESSAGES", "DATA_TYPE_PHOTOS", "DATA_TYPE_VIDEOS", "DATA_TYPE_VOICE_OR_SOUND_RECORDINGS", @@ -1344,6 +1347,7 @@ "Information about a user's fitness, such as exercise or other physical activity.", "A user's emails including the email subject line, sender, recipients, and the content of the email.", "A user's text messages including the sender, recipients, and the content of the message.", + "Any other types of messages. For example, instant messages or chat content.", "A user's photos.", "A user's videos.", "A user's voice such as a voicemail or a sound recording.", diff --git a/DiscoveryJson/chromemanagement.v1.json b/DiscoveryJson/chromemanagement.v1.json index f993eef257b..6869088cb36 100644 --- a/DiscoveryJson/chromemanagement.v1.json +++ b/DiscoveryJson/chromemanagement.v1.json @@ -591,12 +591,12 @@ "type": "string" }, "filter": { - "description": "Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions", + "description": "Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions * risk_score", "location": "query", "type": "string" }, "orderBy": { - "description": "Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions", + "description": "Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions * risk_score", "location": "query", "type": "string" }, @@ -1172,7 +1172,7 @@ } } }, - "revision": "20241003", + "revision": "20241023", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -2849,6 +2849,11 @@ }, "readOnly": true, "type": "array" + }, + "riskAssessment": { + "$ref": "GoogleChromeManagementV1RiskAssessmentData", + "description": "Output only. If available, the risk assessment data about this extension.", + "readOnly": true } }, "type": "object" @@ -3419,6 +3424,96 @@ }, "type": "object" }, + "GoogleChromeManagementV1RiskAssessment": { + "description": "Risk assessment for a Chrome extension.", + "id": "GoogleChromeManagementV1RiskAssessment", + "properties": { + "assessment": { + "description": "Risk assessment for the extension. Currently, this is a numerical value, and its interpretation is specific to each risk assessment provider.", + "type": "string" + }, + "detailsUrl": { + "description": "A URL that a user can navigate to for more information about the risk assessment.", + "type": "string" + }, + "version": { + "description": "The version of the extension that this assessment applies to.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1RiskAssessmentData": { + "description": "Risk assessment data about an extension/app.", + "id": "GoogleChromeManagementV1RiskAssessmentData", + "properties": { + "entries": { + "description": "Individual risk assessments.", + "items": { + "$ref": "GoogleChromeManagementV1RiskAssessmentEntry" + }, + "type": "array" + }, + "overallRiskLevel": { + "description": "Overall assessed risk level across all entries. This will be the highest risk level from all entries.", + "enum": [ + "RISK_LEVEL_UNSPECIFIED", + "RISK_LEVEL_LOW", + "RISK_LEVEL_MEDIUM", + "RISK_LEVEL_HIGH" + ], + "enumDescriptions": [ + "Risk level not specified.", + "Extension that represents a low risk.", + "Extension that represents a medium risk.", + "Extension that represents a high risk." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1RiskAssessmentEntry": { + "description": "One risk assessment entry.", + "id": "GoogleChromeManagementV1RiskAssessmentEntry", + "properties": { + "provider": { + "description": "The risk assessment provider from which this entry comes from.", + "enum": [ + "RISK_ASSESSMENT_PROVIDER_UNSPECIFIED", + "RISK_ASSESSMENT_PROVIDER_CRXCAVATOR", + "RISK_ASSESSMENT_PROVIDER_SPIN_AI" + ], + "enumDescriptions": [ + "Default value when no provider is specified.", + "CRXcavator.", + "Spin.Ai." + ], + "type": "string" + }, + "riskAssessment": { + "$ref": "GoogleChromeManagementV1RiskAssessment", + "description": "The details of the provider's risk assessment." + }, + "riskLevel": { + "description": "The bucketed risk level for the risk assessment.", + "enum": [ + "RISK_LEVEL_UNSPECIFIED", + "RISK_LEVEL_LOW", + "RISK_LEVEL_MEDIUM", + "RISK_LEVEL_HIGH" + ], + "enumDescriptions": [ + "Risk level not specified.", + "Extension that represents a low risk.", + "Extension that represents a medium risk.", + "Extension that represents a high risk." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementV1RuntimeCountersReport": { "description": "Runtime counters retrieved from CPU. Currently the runtime counters telemetry is only supported by Intel vPro PSR on Gen 14+.", "id": "GoogleChromeManagementV1RuntimeCountersReport", diff --git a/DiscoveryJson/cloudchannel.v1.json b/DiscoveryJson/cloudchannel.v1.json index 0c7c18faa89..327e62ceabd 100644 --- a/DiscoveryJson/cloudchannel.v1.json +++ b/DiscoveryJson/cloudchannel.v1.json @@ -139,7 +139,7 @@ ] }, "listSubscribers": { - "description": "Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic created for this Channel Services account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses.", + "description": "Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses.", "flatPath": "v1/accounts/{accountsId}:listSubscribers", "httpMethod": "GET", "id": "cloudchannel.accounts.listSubscribers", @@ -148,12 +148,17 @@ ], "parameters": { "account": { - "description": "Optional. Resource name of the account.", + "description": "Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.", "location": "path", "pattern": "^accounts/[^/]+$", "required": true, "type": "string" }, + "integrator": { + "description": "Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. The maximum number of service accounts to return. The service may return fewer than this value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will coerce values above 1000.", "format": "int32", @@ -231,7 +236,7 @@ ] }, "register": { - "description": "Registers a service account with subscriber privileges on the Cloud Pub/Sub topic for this Channel Services account. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address.", + "description": "Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services account or integrator. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address.", "flatPath": "v1/accounts/{accountsId}:register", "httpMethod": "POST", "id": "cloudchannel.accounts.register", @@ -240,7 +245,7 @@ ], "parameters": { "account": { - "description": "Optional. Resource name of the account.", + "description": "Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.", "location": "path", "pattern": "^accounts/[^/]+$", "required": true, @@ -259,7 +264,7 @@ ] }, "unregister": { - "description": "Unregisters a service account with subscriber privileges on the Cloud Pub/Sub topic created for this Channel Services account. If there are no service accounts left with subscriber privileges, this deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.", + "description": "Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. If there are no service accounts left with subscriber privileges, this deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.", "flatPath": "v1/accounts/{accountsId}:unregister", "httpMethod": "POST", "id": "cloudchannel.accounts.unregister", @@ -268,7 +273,7 @@ ], "parameters": { "account": { - "description": "Optional. Resource name of the account.", + "description": "Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.", "location": "path", "pattern": "^accounts/[^/]+$", "required": true, @@ -1900,7 +1905,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroups.next_page_token of the previous CloudChannelService.ListSkuGroups call.", + "description": "Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call.", "location": "query", "type": "string" }, @@ -1940,7 +1945,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupBillableSkus.next_page_token of the previous CloudChannelService.ListSkuGroupBillableSkus call.", + "description": "Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupBillableSkusResponse.next_page_token of the previous CloudChannelService.ListSkuGroupBillableSkus call.", "location": "query", "type": "string" }, @@ -1966,6 +1971,107 @@ } } }, + "integrators": { + "methods": { + "listSubscribers": { + "description": "Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses.", + "flatPath": "v1/integrators/{integratorsId}:listSubscribers", + "httpMethod": "GET", + "id": "cloudchannel.integrators.listSubscribers", + "parameterOrder": [ + "integrator" + ], + "parameters": { + "account": { + "description": "Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.", + "location": "query", + "type": "string" + }, + "integrator": { + "description": "Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.", + "location": "path", + "pattern": "^integrators/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of service accounts to return. The service may return fewer than this value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will coerce values above 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListSubscribers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscribers` must match the call that provided the page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+integrator}:listSubscribers", + "response": { + "$ref": "GoogleCloudChannelV1ListSubscribersResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.order" + ] + }, + "registerSubscriber": { + "description": "Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services account or integrator. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address.", + "flatPath": "v1/integrators/{integratorsId}:registerSubscriber", + "httpMethod": "POST", + "id": "cloudchannel.integrators.registerSubscriber", + "parameterOrder": [ + "integrator" + ], + "parameters": { + "integrator": { + "description": "Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.", + "location": "path", + "pattern": "^integrators/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+integrator}:registerSubscriber", + "request": { + "$ref": "GoogleCloudChannelV1RegisterSubscriberRequest" + }, + "response": { + "$ref": "GoogleCloudChannelV1RegisterSubscriberResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.order" + ] + }, + "unregisterSubscriber": { + "description": "Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. If there are no service accounts left with subscriber privileges, this deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.", + "flatPath": "v1/integrators/{integratorsId}:unregisterSubscriber", + "httpMethod": "POST", + "id": "cloudchannel.integrators.unregisterSubscriber", + "parameterOrder": [ + "integrator" + ], + "parameters": { + "integrator": { + "description": "Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.", + "location": "path", + "pattern": "^integrators/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+integrator}:unregisterSubscriber", + "request": { + "$ref": "GoogleCloudChannelV1UnregisterSubscriberRequest" + }, + "response": { + "$ref": "GoogleCloudChannelV1UnregisterSubscriberResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.order" + ] + } + } + }, "operations": { "methods": { "cancel": { @@ -2183,7 +2289,7 @@ } } }, - "revision": "20241020", + "revision": "20241024", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -2335,7 +2441,7 @@ "type": "object" }, "GoogleCloudChannelV1ChangeParametersRequest": { - "description": "Request message for CloudChannelService.ChangeParametersRequest.", + "description": "Request message for CloudChannelService.ChangeParameters.", "id": "GoogleCloudChannelV1ChangeParametersRequest", "properties": { "parameters": { @@ -3547,7 +3653,7 @@ "type": "array" }, "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkus.page_token to obtain that page.", + "description": "A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkusRequest.page_token to obtain that page.", "type": "string" } }, @@ -3558,7 +3664,7 @@ "id": "GoogleCloudChannelV1ListSkuGroupsResponse", "properties": { "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass to ListSkuGroups.page_token to obtain that page.", + "description": "A token to retrieve the next page of results. Pass to ListSkuGroupsRequest.page_token to obtain that page.", "type": "string" }, "skuGroups": { @@ -4243,6 +4349,14 @@ "description": "Request Message for RegisterSubscriber.", "id": "GoogleCloudChannelV1RegisterSubscriberRequest", "properties": { + "account": { + "description": "Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.", + "type": "string" + }, + "integrator": { + "description": "Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.", + "type": "string" + }, "serviceAccount": { "description": "Required. Service account that provides subscriber access to the registered topic.", "type": "string" @@ -4817,6 +4931,14 @@ "description": "Request Message for UnregisterSubscriber.", "id": "GoogleCloudChannelV1UnregisterSubscriberRequest", "properties": { + "account": { + "description": "Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.", + "type": "string" + }, + "integrator": { + "description": "Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.", + "type": "string" + }, "serviceAccount": { "description": "Required. Service account to unregister from subscriber access to the topic.", "type": "string" diff --git a/DiscoveryJson/cloudcontrolspartner.v1.json b/DiscoveryJson/cloudcontrolspartner.v1.json index b8f67bcb8e0..e647e51a986 100644 --- a/DiscoveryJson/cloudcontrolspartner.v1.json +++ b/DiscoveryJson/cloudcontrolspartner.v1.json @@ -138,6 +138,64 @@ "resources": { "customers": { "methods": { + "create": { + "description": "Creates a new customer.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/customers", + "httpMethod": "POST", + "id": "cloudcontrolspartner.organizations.locations.customers.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "customerId": { + "description": "Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource Format: `organizations/{organization}/locations/{location}`", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/customers", + "request": { + "$ref": "Customer" + }, + "response": { + "$ref": "Customer" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete details of a single customer", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/customers/{customersId}", + "httpMethod": "DELETE", + "id": "cloudcontrolspartner.organizations.locations.customers.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. name of the resource to be deleted format: name=organizations/*/locations/*/customers/*", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets details of a single customer", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/customers/{customersId}", @@ -208,6 +266,40 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "patch": { + "description": "Update details of a single customer", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/customers/{customersId}", + "httpMethod": "PATCH", + "id": "cloudcontrolspartner.organizations.locations.customers.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}`", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/customers/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Customer" + }, + "response": { + "$ref": "Customer" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -484,7 +576,7 @@ } } }, - "revision": "20240904", + "revision": "20241024", "rootUrl": "https://cloudcontrolspartner.googleapis.com/", "schemas": { "AccessApprovalRequest": { @@ -609,6 +701,11 @@ "name": { "description": "Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}`", "type": "string" + }, + "organizationDomain": { + "description": "Output only. The customer organization domain, extracted from CRM Organization\u2019s display_name field. e.g. \"google.com\"", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -758,6 +855,12 @@ }, "type": "object" }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, "Gcloud": { "description": "Remediation instructions to resolve violation via gcloud cli", "id": "Gcloud", diff --git a/DiscoveryJson/cloudcontrolspartner.v1beta.json b/DiscoveryJson/cloudcontrolspartner.v1beta.json index eaf354817ff..67fc2a10e0b 100644 --- a/DiscoveryJson/cloudcontrolspartner.v1beta.json +++ b/DiscoveryJson/cloudcontrolspartner.v1beta.json @@ -138,6 +138,64 @@ "resources": { "customers": { "methods": { + "create": { + "description": "Creates a new customer.", + "flatPath": "v1beta/organizations/{organizationsId}/locations/{locationsId}/customers", + "httpMethod": "POST", + "id": "cloudcontrolspartner.organizations.locations.customers.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "customerId": { + "description": "Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource Format: `organizations/{organization}/locations/{location}`", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/customers", + "request": { + "$ref": "Customer" + }, + "response": { + "$ref": "Customer" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete details of a single customer", + "flatPath": "v1beta/organizations/{organizationsId}/locations/{locationsId}/customers/{customersId}", + "httpMethod": "DELETE", + "id": "cloudcontrolspartner.organizations.locations.customers.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. name of the resource to be deleted format: name=organizations/*/locations/*/customers/*", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets details of a single customer", "flatPath": "v1beta/organizations/{organizationsId}/locations/{locationsId}/customers/{customersId}", @@ -208,6 +266,40 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "patch": { + "description": "Update details of a single customer", + "flatPath": "v1beta/organizations/{organizationsId}/locations/{locationsId}/customers/{customersId}", + "httpMethod": "PATCH", + "id": "cloudcontrolspartner.organizations.locations.customers.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}`", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/customers/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "Customer" + }, + "response": { + "$ref": "Customer" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -484,7 +576,7 @@ } } }, - "revision": "20240904", + "revision": "20241024", "rootUrl": "https://cloudcontrolspartner.googleapis.com/", "schemas": { "AccessApprovalRequest": { @@ -609,6 +701,11 @@ "name": { "description": "Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}`", "type": "string" + }, + "organizationDomain": { + "description": "Output only. The customer organization domain, extracted from CRM Organization\u2019s display_name field. e.g. \"google.com\"", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -758,6 +855,12 @@ }, "type": "object" }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, "Gcloud": { "description": "Remediation instructions to resolve violation via gcloud cli", "id": "Gcloud", diff --git a/DiscoveryJson/compute.alpha.json b/DiscoveryJson/compute.alpha.json index 7fd39a8bffd..aaa7fb5d237 100644 --- a/DiscoveryJson/compute.alpha.json +++ b/DiscoveryJson/compute.alpha.json @@ -22676,6 +22676,56 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "listPreconfiguredExpressionSets": { + "description": "Gets the current list of preconfigured Web Application Firewall (WAF) expressions.", + "flatPath": "locations/global/securityPolicies/listPreconfiguredExpressionSets", + "httpMethod": "GET", + "id": "compute.organizationSecurityPolicies.listPreconfiguredExpressionSets", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "parentId": { + "description": "Parent ID for this request.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", + "location": "query", + "type": "boolean" + } + }, + "path": "locations/global/securityPolicies/listPreconfiguredExpressionSets", + "response": { + "$ref": "SecurityPoliciesListPreconfiguredExpressionSetsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "move": { "description": "Moves the specified security policy.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/move", @@ -47129,7 +47179,7 @@ } } }, - "revision": "20241008", + "revision": "20241015", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -49002,7 +49052,7 @@ "type": "object" }, "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "id": "AuditConfig", "properties": { "auditLogConfigs": { @@ -52406,10 +52456,6 @@ "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, "condition": { "$ref": "Expr", "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." @@ -53431,86 +53477,6 @@ }, "type": "object" }, - "Condition": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "Condition", - "properties": { - "iam": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "APPROVER", - "ATTRIBUTION", - "AUTHORITY", - "CREDENTIALS_TYPE", - "CREDS_ASSERTION", - "JUSTIFICATION_TYPE", - "NO_ATTR", - "SECURITY_REALM" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "op": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "DISCHARGED", - "EQUALS", - "IN", - "NOT_EQUALS", - "NOT_IN", - "NO_OP" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "svc": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "sys": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "IP", - "NAME", - "NO_ATTR", - "REGION", - "SERVICE" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "values": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "ConfidentialInstanceConfig": { "description": "A set of Confidential Instance options.", "id": "ConfidentialInstanceConfig", @@ -62816,7 +62782,7 @@ "type": "string" }, "namedPorts": { - "description": "Named ports configured for the Instance Groups complementary to this Instance Group Manager.", + "description": "[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.", "items": { "$ref": "NamedPort" }, @@ -71764,102 +71730,6 @@ }, "type": "object" }, - "LogConfig": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfig", - "properties": { - "cloudAudit": { - "$ref": "LogConfigCloudAuditOptions", - "description": "This is deprecated and has no effect. Do not use." - }, - "counter": { - "$ref": "LogConfigCounterOptions", - "description": "This is deprecated and has no effect. Do not use." - }, - "dataAccess": { - "$ref": "LogConfigDataAccessOptions", - "description": "This is deprecated and has no effect. Do not use." - } - }, - "type": "object" - }, - "LogConfigCloudAuditOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCloudAuditOptions", - "properties": { - "logName": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "ADMIN_ACTIVITY", - "DATA_ACCESS", - "UNSPECIFIED_LOG_NAME" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - } - }, - "type": "object" - }, - "LogConfigCounterOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCounterOptions", - "properties": { - "customFields": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "LogConfigCounterOptionsCustomField" - }, - "type": "array" - }, - "field": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "metric": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - } - }, - "type": "object" - }, - "LogConfigCounterOptionsCustomField": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCounterOptionsCustomField", - "properties": { - "name": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "value": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - } - }, - "type": "object" - }, - "LogConfigDataAccessOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigDataAccessOptions", - "properties": { - "logMode": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "LOG_FAIL_CLOSED", - "LOG_MODE_UNSPECIFIED" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - } - }, - "type": "object" - }, "MachineImage": { "description": "Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.", "id": "MachineImage", @@ -76348,7 +76218,26 @@ ], "type": "string" }, - "allowedSubnetPurposes": { + "interfaceTypes": { + "description": "If set, limits the interface types that the network supports. If empty, all interface types are supported.", + "items": { + "enum": [ + "GVNIC", + "IDPF", + "UNSPECIFIED_NIC_TYPE", + "VIRTIO_NET" + ], + "enumDescriptions": [ + "GVNIC", + "IDPF", + "No type specified.", + "VIRTIO" + ], + "type": "string" + }, + "type": "array" + }, + "subnetPurposes": { "description": "Specifies which subnetwork purposes are supported.", "items": { "enum": [ @@ -76363,7 +76252,7 @@ }, "type": "array" }, - "allowedSubnetStackTypes": { + "subnetStackTypes": { "description": "Specifies which subnetwork stack types are supported.", "items": { "enum": [ @@ -76380,25 +76269,6 @@ }, "type": "array" }, - "interfaceTypes": { - "description": "If set, limits the interface types that the network supports. If empty, all interface types are supported.", - "items": { - "enum": [ - "GVNIC", - "IDPF", - "UNSPECIFIED_NIC_TYPE", - "VIRTIO_NET" - ], - "enumDescriptions": [ - "GVNIC", - "IDPF", - "No type specified.", - "VIRTIO" - ], - "type": "string" - }, - "type": "array" - }, "unicast": { "description": "Specifies which type of unicast is supported.", "enum": [ @@ -81076,13 +80946,6 @@ "format": "byte", "type": "string" }, - "rules": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "Rule" - }, - "type": "array" - }, "version": { "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "format": "int32", @@ -85963,7 +85826,7 @@ "description": "[Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "physicalHostTopology": { + "physicalTopology": { "$ref": "ReservationBlockPhysicalTopology", "description": "[Output Only] The physical topology of the reservation block." }, @@ -87453,6 +87316,10 @@ "description": "[Output Only] An opaque ID of the host on which the VM is running.", "type": "string" }, + "physicalHostTopology": { + "$ref": "ResourceStatusPhysicalHostTopology", + "description": "[Output Only] The physical host topology of the host on which the VM is running." + }, "scheduling": { "$ref": "ResourceStatusScheduling" }, @@ -87579,6 +87446,25 @@ }, "type": "object" }, + "ResourceStatusPhysicalHostTopology": { + "description": "Represents the physical host topology of the host on which the VM is running.", + "id": "ResourceStatusPhysicalHostTopology", + "properties": { + "block": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "host": { + "type": "string" + }, + "subblock": { + "type": "string" + } + }, + "type": "object" + }, "ResourceStatusScheduling": { "id": "ResourceStatusScheduling", "properties": { @@ -90285,72 +90171,6 @@ }, "type": "object" }, - "Rule": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "Rule", - "properties": { - "action": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG", - "NO_ACTION" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "conditions": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "Condition" - }, - "type": "array" - }, - "description": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "ins": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logConfigs": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "LogConfig" - }, - "type": "array" - }, - "notIns": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - }, - "permissions": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "SSLHealthCheck": { "id": "SSLHealthCheck", "properties": { @@ -90715,6 +90535,10 @@ ], "type": "string" }, + "shutdownTimeout": { + "$ref": "Duration", + "description": "Timeout between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off during shutdown operation of VM. For Standard VMs values between 0s and 120s are allowed. For Spot and Preemptible VMs supported values are between 0s and 30s. If no value is specified for shutdownDuration, default values are 90s for Standard VMs and 30s for Spot/Preemptible VMs." + }, "terminationTime": { "description": "Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.", "type": "string" diff --git a/DiscoveryJson/compute.beta.json b/DiscoveryJson/compute.beta.json index 47fb2348d7b..6172a7b4ee7 100644 --- a/DiscoveryJson/compute.beta.json +++ b/DiscoveryJson/compute.beta.json @@ -20482,6 +20482,56 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "listPreconfiguredExpressionSets": { + "description": "Gets the current list of preconfigured Web Application Firewall (WAF) expressions.", + "flatPath": "locations/global/securityPolicies/listPreconfiguredExpressionSets", + "httpMethod": "GET", + "id": "compute.organizationSecurityPolicies.listPreconfiguredExpressionSets", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "parentId": { + "description": "Parent ID for this request.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", + "location": "query", + "type": "boolean" + } + }, + "path": "locations/global/securityPolicies/listPreconfiguredExpressionSets", + "response": { + "$ref": "SecurityPoliciesListPreconfiguredExpressionSetsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "move": { "description": "Moves the specified security policy.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/move", @@ -32172,206 +32222,48 @@ } } }, - "reservations": { + "reservationBlocks": { "methods": { - "aggregatedList": { - "description": "Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", - "flatPath": "projects/{project}/aggregated/reservations", - "httpMethod": "GET", - "id": "compute.reservations.aggregatedList", - "parameterOrder": [ - "project" - ], - "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", - "location": "query", - "type": "string" - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "location": "query", - "minimum": "0", - "type": "integer" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", - "location": "query", - "type": "boolean" - }, - "serviceProjectNumber": { - "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "projects/{project}/aggregated/reservations", - "response": { - "$ref": "ReservationAggregatedList" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "delete": { - "description": "Deletes the specified reservation.", - "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", - "httpMethod": "DELETE", - "id": "compute.reservations.delete", - "parameterOrder": [ - "project", - "zone", - "reservation" - ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "reservation": { - "description": "Name of the reservation to delete.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - }, - "zone": { - "description": "Name of the zone for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/zones/{zone}/reservations/{reservation}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, "get": { - "description": "Retrieves information about the specified reservation.", - "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", + "description": "Retrieves information about the specified reservation block.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}", "httpMethod": "GET", - "id": "compute.reservations.get", + "id": "compute.reservationBlocks.get", "parameterOrder": [ "project", "zone", - "reservation" + "reservation", + "reservationBlock" ], "parameters": { "project": { "description": "Project ID for this request.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, "type": "string" }, "reservation": { - "description": "Name of the reservation to retrieve.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - }, - "zone": { - "description": "Name of the zone for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/zones/{zone}/reservations/{reservation}", - "response": { - "$ref": "Reservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", - "httpMethod": "GET", - "id": "compute.reservations.getIamPolicy", - "parameterOrder": [ - "project", - "zone", - "resource" - ], - "parameters": { - "optionsRequestedPolicyVersion": { - "description": "Requested IAM Policy version.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "project": { - "description": "Project ID for this request.", + "description": "The name of the reservation. Name should conform to RFC1035 or be a resource ID.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, "type": "string" }, - "resource": { - "description": "Name or id of the resource for this request.", + "reservationBlock": { + "description": "The name of the reservation block. Name should conform to RFC1035 or be a resource ID.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, "type": "string" }, "zone": { - "description": "The name of the zone for this request.", + "description": "Name of the zone for this request. Zone name should conform to RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, "type": "string" } }, - "path": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", + "path": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}", "response": { - "$ref": "Policy" + "$ref": "ReservationBlocksGetResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -32379,56 +32271,333 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, - "insert": { - "description": "Creates a new reservation. For more information, read Reserving zonal resources.", - "flatPath": "projects/{project}/zones/{zone}/reservations", - "httpMethod": "POST", - "id": "compute.reservations.insert", - "parameterOrder": [ - "project", - "zone" - ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "zone": { - "description": "Name of the zone for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/zones/{zone}/reservations", - "request": { - "$ref": "Reservation" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, "list": { - "description": "A list of all the reservations that have been configured for the specified project in specified zone.", - "flatPath": "projects/{project}/zones/{zone}/reservations", + "description": "Retrieves a list of reservation blocks under a single reservation.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks", "httpMethod": "GET", - "id": "compute.reservations.list", + "id": "compute.reservationBlocks.list", "parameterOrder": [ "project", - "zone" + "zone", + "reservation" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "required": true, + "type": "string" + }, + "reservation": { + "description": "The name of the reservation. Name should conform to RFC1035 or be a resource ID.", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "Name of the zone for this request. Zone name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks", + "response": { + "$ref": "ReservationBlocksListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + } + } + }, + "reservations": { + "methods": { + "aggregatedList": { + "description": "Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", + "flatPath": "projects/{project}/aggregated/reservations", + "httpMethod": "GET", + "id": "compute.reservations.aggregatedList", + "parameterOrder": [ + "project" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/aggregated/reservations", + "response": { + "$ref": "ReservationAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "delete": { + "description": "Deletes the specified reservation.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", + "httpMethod": "DELETE", + "id": "compute.reservations.delete", + "parameterOrder": [ + "project", + "zone", + "reservation" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "reservation": { + "description": "Name of the reservation to delete.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{reservation}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "get": { + "description": "Retrieves information about the specified reservation.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", + "httpMethod": "GET", + "id": "compute.reservations.get", + "parameterOrder": [ + "project", + "zone", + "reservation" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "reservation": { + "description": "Name of the reservation to retrieve.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{reservation}", + "response": { + "$ref": "Reservation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", + "httpMethod": "GET", + "id": "compute.reservations.getIamPolicy", + "parameterOrder": [ + "project", + "zone", + "resource" + ], + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "insert": { + "description": "Creates a new reservation. For more information, read Reserving zonal resources.", + "flatPath": "projects/{project}/zones/{zone}/reservations", + "httpMethod": "POST", + "id": "compute.reservations.insert", + "parameterOrder": [ + "project", + "zone" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations", + "request": { + "$ref": "Reservation" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "list": { + "description": "A list of all the reservations that have been configured for the specified project in specified zone.", + "flatPath": "projects/{project}/zones/{zone}/reservations", + "httpMethod": "GET", + "id": "compute.reservations.list", + "parameterOrder": [ + "project", + "zone" ], "parameters": { "filter": { @@ -42526,7 +42695,7 @@ } } }, - "revision": "20241008", + "revision": "20241015", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -43909,6 +44078,15 @@ "description": "[Output Only] Contains output only fields.", "id": "AllocationResourceStatus", "properties": { + "reservationBlockCount": { + "description": "The number of reservation blocks associated with this reservation.", + "format": "int32", + "type": "integer" + }, + "reservationMaintenance": { + "$ref": "GroupMaintenanceInfo", + "description": "Maintenance information for this reservation" + }, "specificSkuAllocation": { "$ref": "AllocationResourceStatusSpecificSKUAllocation", "description": "Allocation Properties of this reservation." @@ -44318,7 +44496,7 @@ "type": "object" }, "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "id": "AuditConfig", "properties": { "auditLogConfigs": { @@ -47300,10 +47478,6 @@ "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, "condition": { "$ref": "Expr", "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." @@ -48189,86 +48363,6 @@ }, "type": "object" }, - "Condition": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "Condition", - "properties": { - "iam": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "APPROVER", - "ATTRIBUTION", - "AUTHORITY", - "CREDENTIALS_TYPE", - "CREDS_ASSERTION", - "JUSTIFICATION_TYPE", - "NO_ATTR", - "SECURITY_REALM" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "op": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "DISCHARGED", - "EQUALS", - "IN", - "NOT_EQUALS", - "NOT_IN", - "NO_OP" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "svc": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "sys": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "IP", - "NAME", - "NO_ATTR", - "REGION", - "SERVICE" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "values": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "ConfidentialInstanceConfig": { "description": "A set of Confidential Instance options.", "id": "ConfidentialInstanceConfig", @@ -52224,15 +52318,47 @@ "description": "[Output Only] The creation timestamp for this future reservation in RFC3339 text format.", "type": "string" }, + "deploymentType": { + "description": "Type of the deployment requested as part of future reservation.", + "enum": [ + "DENSE", + "DEPLOYMENT_TYPE_UNSPECIFIED", + "FLEXIBLE" + ], + "enumDescriptions": [ + "The reserved capacity is made up of densely deployed reservation blocks.", + "", + "The reserved capacity is made up of highly flexible, logical reservation blocks." + ], + "type": "string" + }, "description": { "description": "An optional description of this resource. Provide this property when you create the future reservation.", "type": "string" }, + "enableOpportunisticMaintenance": { + "description": "Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the FR by customers, and will be used for reservation and reservation block maintenance .", + "type": "boolean" + }, "id": { "description": "[Output Only] A unique identifier for this future reservation. The server defines this identifier.", "format": "uint64", "type": "string" }, + "instanceTerminationAction": { + "description": "Action to take during reservation termination.", + "enum": [ + "DELETE", + "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", + "STOP" + ], + "enumDescriptions": [ + "Delete the VM.", + "Default value. This value is unused.", + "Stop the VM without storing in-memory content. default action." + ], + "type": "string" + }, "kind": { "default": "compute#futureReservation", "description": "[Output Only] Type of the resource. Always compute#futureReservation for future reservations.", @@ -52266,6 +52392,24 @@ ], "type": "string" }, + "reservationName": { + "description": "Name of reservations where the capacity is provisioned at the time of delivery of future reservations. If the reservation with the given name does not exist already, it is created automatically at the time of Approval with INACTIVE state till specified start-time. Either provide the reservation_name or a name_prefix.", + "type": "string" + }, + "schedulingType": { + "description": "Maintenance information for this reservation", + "enum": [ + "GROUPED", + "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", + "INDEPENDENT" + ], + "enumDescriptions": [ + "Maintenance on all reserved instances in the reservation is synchronized.", + "Unknown maintenance type.", + "Maintenance is not synchronized for this reservation. Instead, each instance has its own maintenance window." + ], + "type": "string" + }, "selfLink": { "description": "[Output Only] Server-defined fully-qualified URL for this resource.", "type": "string" @@ -52278,6 +52422,10 @@ "$ref": "ShareSettings", "description": "List of Projects/Folders to share with." }, + "specificReservationRequired": { + "description": "Indicates whether the auto-created reservation can be consumed by VMs with affinity for \"any\" reservation. If the field is set, then only VMs that target the reservation by name can consume from the delivered reservation.", + "type": "boolean" + }, "specificSkuProperties": { "$ref": "FutureReservationSpecificSKUProperties", "description": "Future Reservation configuration to indicate instance properties and total count." @@ -53115,6 +53263,45 @@ }, "type": "object" }, + "GroupMaintenanceInfo": { + "description": "Maintenance Info for ReservationBlocks.", + "id": "GroupMaintenanceInfo", + "properties": { + "enableOpportunisticMaintenance": { + "description": "This setting enables or disables opportunistic maintenance. If enabled, maintenance is performed on unused reservations whenever possible.", + "type": "boolean" + }, + "maintenanceOngoingCount": { + "description": "Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.", + "format": "int32", + "type": "integer" + }, + "maintenancePendingCount": { + "description": "Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance.", + "format": "int32", + "type": "integer" + }, + "schedulingType": { + "description": "The type of maintenance for the reservation.", + "enum": [ + "GROUPED", + "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", + "INDEPENDENT" + ], + "enumDescriptions": [ + "Maintenance on all reserved instances in the reservation is synchronized.", + "Unknown maintenance type.", + "Maintenance is not synchronized for this reservation. Instead, each instance has its own maintenance window." + ], + "type": "string" + }, + "upcomingGroupMaintenance": { + "$ref": "UpcomingMaintenance", + "description": "Maintenance information on this group of VMs." + } + }, + "type": "object" + }, "GuestAttributes": { "description": "A guest attributes entry.", "id": "GuestAttributes", @@ -56634,7 +56821,7 @@ "type": "string" }, "namedPorts": { - "description": "Named ports configured for the Instance Groups complementary to this Instance Group Manager.", + "description": "[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.", "items": { "$ref": "NamedPort" }, @@ -63584,102 +63771,6 @@ }, "type": "object" }, - "LogConfig": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfig", - "properties": { - "cloudAudit": { - "$ref": "LogConfigCloudAuditOptions", - "description": "This is deprecated and has no effect. Do not use." - }, - "counter": { - "$ref": "LogConfigCounterOptions", - "description": "This is deprecated and has no effect. Do not use." - }, - "dataAccess": { - "$ref": "LogConfigDataAccessOptions", - "description": "This is deprecated and has no effect. Do not use." - } - }, - "type": "object" - }, - "LogConfigCloudAuditOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCloudAuditOptions", - "properties": { - "logName": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "ADMIN_ACTIVITY", - "DATA_ACCESS", - "UNSPECIFIED_LOG_NAME" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - } - }, - "type": "object" - }, - "LogConfigCounterOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCounterOptions", - "properties": { - "customFields": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "LogConfigCounterOptionsCustomField" - }, - "type": "array" - }, - "field": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "metric": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - } - }, - "type": "object" - }, - "LogConfigCounterOptionsCustomField": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCounterOptionsCustomField", - "properties": { - "name": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "value": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - } - }, - "type": "object" - }, - "LogConfigDataAccessOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigDataAccessOptions", - "properties": { - "logMode": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "LOG_FAIL_CLOSED", - "LOG_MODE_UNSPECIFIED" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - } - }, - "type": "object" - }, "MachineImage": { "description": "Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.", "id": "MachineImage", @@ -67784,7 +67875,26 @@ ], "type": "string" }, - "allowedSubnetPurposes": { + "interfaceTypes": { + "description": "If set, limits the interface types that the network supports. If empty, all interface types are supported.", + "items": { + "enum": [ + "GVNIC", + "IDPF", + "UNSPECIFIED_NIC_TYPE", + "VIRTIO_NET" + ], + "enumDescriptions": [ + "GVNIC", + "IDPF", + "No type specified.", + "VIRTIO" + ], + "type": "string" + }, + "type": "array" + }, + "subnetPurposes": { "description": "Specifies which subnetwork purposes are supported.", "items": { "enum": [ @@ -67799,7 +67909,7 @@ }, "type": "array" }, - "allowedSubnetStackTypes": { + "subnetStackTypes": { "description": "Specifies which subnetwork stack types are supported.", "items": { "enum": [ @@ -67816,25 +67926,6 @@ }, "type": "array" }, - "interfaceTypes": { - "description": "If set, limits the interface types that the network supports. If empty, all interface types are supported.", - "items": { - "enum": [ - "GVNIC", - "IDPF", - "UNSPECIFIED_NIC_TYPE", - "VIRTIO_NET" - ], - "enumDescriptions": [ - "GVNIC", - "IDPF", - "No type specified.", - "VIRTIO" - ], - "type": "string" - }, - "type": "array" - }, "unicast": { "description": "Specifies which type of unicast is supported.", "enum": [ @@ -72076,13 +72167,6 @@ "format": "byte", "type": "string" }, - "rules": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "Rule" - }, - "type": "array" - }, "version": { "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "format": "int32", @@ -75799,6 +75883,20 @@ "description": "Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format.", "type": "string" }, + "deploymentType": { + "description": "Specifies the deployment strategy for this reservation.", + "enum": [ + "DENSE", + "DEPLOYMENT_TYPE_UNSPECIFIED", + "FLEXIBLE" + ], + "enumDescriptions": [ + "The reserved capacity is made up of densely deployed reservation blocks.", + "", + "The reserved capacity is made up of highly flexible, logical reservation blocks." + ], + "type": "string" + }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" @@ -75808,6 +75906,20 @@ "format": "uint64", "type": "string" }, + "instanceTerminationAction": { + "description": "Instance termination action is invoked when the reservation is deleted. This only applies to reservations with a Deployment type.", + "enum": [ + "DELETE", + "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", + "STOP" + ], + "enumDescriptions": [ + "Delete the VM.", + "Default value. This value is unused.", + "Stop the VM without storing in-memory content. default action." + ], + "type": "string" + }, "kind": { "default": "compute#reservation", "description": "[Output Only] Type of the resource. Always compute#reservations for reservations.", @@ -76081,6 +76193,252 @@ }, "type": "object" }, + "ReservationBlock": { + "description": "Represents a reservation block resource.", + "id": "ReservationBlock", + "properties": { + "count": { + "description": "[Output Only] The number of resources that are allocated in this reservation block.", + "format": "int32", + "type": "integer" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "format": "uint64", + "type": "string" + }, + "inUseCount": { + "description": "[Output Only] The number of instances that are currently in use on this reservation block.", + "format": "int32", + "type": "integer" + }, + "kind": { + "default": "compute#reservationBlock", + "description": "[Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks.", + "type": "string" + }, + "name": { + "description": "[Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "physicalTopology": { + "$ref": "ReservationBlockPhysicalTopology", + "description": "[Output Only] The physical topology of the reservation block." + }, + "reservationMaintenance": { + "$ref": "GroupMaintenanceInfo", + "description": "[Output Only] Maintenance information for this reservation block." + }, + "selfLink": { + "description": "[Output Only] Server-defined fully-qualified URL for this resource.", + "type": "string" + }, + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL for this resource with the resource id.", + "type": "string" + }, + "status": { + "description": "[Output Only] Status of the reservation block.", + "enum": [ + "CREATING", + "DELETING", + "INVALID", + "READY" + ], + "enumDescriptions": [ + "Resources are being allocated for the reservation block.", + "Reservation block is currently being deleted.", + "", + "Reservation block has allocated all its resources." + ], + "type": "string" + }, + "zone": { + "description": "[Output Only] Zone in which the reservation block resides.", + "type": "string" + } + }, + "type": "object" + }, + "ReservationBlockPhysicalTopology": { + "id": "ReservationBlockPhysicalTopology", + "properties": { + "block": { + "description": "The hash of the capacity block within the cluster.", + "type": "string" + }, + "cluster": { + "description": "The cluster name of the reservation block.", + "type": "string" + } + }, + "type": "object" + }, + "ReservationBlocksGetResponse": { + "id": "ReservationBlocksGetResponse", + "properties": { + "resource": { + "$ref": "ReservationBlock" + } + }, + "type": "object" + }, + "ReservationBlocksListResponse": { + "description": "A list of reservation blocks under a single reservation.", + "id": "ReservationBlocksListResponse", + "properties": { + "id": { + "description": "Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of reservation block resources.", + "items": { + "$ref": "ReservationBlock" + }, + "type": "array" + }, + "kind": { + "default": "compute#reservationBlock", + "description": "Type of the resource. Always compute#reservationBlock for a list of reservation blocks.", + "type": "string" + }, + "nextPageToken": { + "description": "This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "Informational warning message.", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "items": { + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, "ReservationList": { "id": "ReservationList", "properties": { @@ -79632,72 +79990,6 @@ }, "type": "object" }, - "Rule": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "Rule", - "properties": { - "action": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG", - "NO_ACTION" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "conditions": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "Condition" - }, - "type": "array" - }, - "description": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "ins": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logConfigs": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "LogConfig" - }, - "type": "array" - }, - "notIns": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - }, - "permissions": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "SSLHealthCheck": { "id": "SSLHealthCheck", "properties": { diff --git a/DiscoveryJson/compute.v1.json b/DiscoveryJson/compute.v1.json index a78e1abd9e6..a4cbb0927cf 100644 --- a/DiscoveryJson/compute.v1.json +++ b/DiscoveryJson/compute.v1.json @@ -37421,7 +37421,7 @@ } } }, - "revision": "20241008", + "revision": "20241015", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -39140,7 +39140,7 @@ "type": "object" }, "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "id": "AuditConfig", "properties": { "auditLogConfigs": { @@ -41932,10 +41932,6 @@ "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, "condition": { "$ref": "Expr", "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." @@ -42802,86 +42798,6 @@ }, "type": "object" }, - "Condition": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "Condition", - "properties": { - "iam": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "APPROVER", - "ATTRIBUTION", - "AUTHORITY", - "CREDENTIALS_TYPE", - "CREDS_ASSERTION", - "JUSTIFICATION_TYPE", - "NO_ATTR", - "SECURITY_REALM" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "op": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "DISCHARGED", - "EQUALS", - "IN", - "NOT_EQUALS", - "NOT_IN", - "NO_OP" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "svc": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "sys": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "IP", - "NAME", - "NO_ATTR", - "REGION", - "SERVICE" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "values": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "ConfidentialInstanceConfig": { "description": "A set of Confidential Instance options.", "id": "ConfidentialInstanceConfig", @@ -50188,6 +50104,10 @@ "format": "uint64", "type": "string" }, + "instanceFlexibilityPolicy": { + "$ref": "InstanceGroupManagerInstanceFlexibilityPolicy", + "description": "Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration." + }, "instanceGroup": { "description": "[Output Only] The URL of the Instance Group resource.", "type": "string" @@ -50229,7 +50149,7 @@ "type": "string" }, "namedPorts": { - "description": "Named ports configured for the Instance Groups complementary to this Instance Group Manager.", + "description": "[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.", "items": { "$ref": "NamedPort" }, @@ -50550,6 +50470,37 @@ }, "type": "object" }, + "InstanceGroupManagerInstanceFlexibilityPolicy": { + "id": "InstanceGroupManagerInstanceFlexibilityPolicy", + "properties": { + "instanceSelections": { + "additionalProperties": { + "$ref": "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection" + }, + "description": "Named instance selections configuring properties that the group will use when creating new VMs.", + "type": "object" + } + }, + "type": "object" + }, + "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection": { + "id": "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection", + "properties": { + "machineTypes": { + "description": "Full machine-type names, e.g. \"n1-standard-16\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "rank": { + "description": "Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "InstanceGroupManagerInstanceLifecyclePolicy": { "id": "InstanceGroupManagerInstanceLifecyclePolicy", "properties": { @@ -56780,102 +56731,6 @@ }, "type": "object" }, - "LogConfig": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfig", - "properties": { - "cloudAudit": { - "$ref": "LogConfigCloudAuditOptions", - "description": "This is deprecated and has no effect. Do not use." - }, - "counter": { - "$ref": "LogConfigCounterOptions", - "description": "This is deprecated and has no effect. Do not use." - }, - "dataAccess": { - "$ref": "LogConfigDataAccessOptions", - "description": "This is deprecated and has no effect. Do not use." - } - }, - "type": "object" - }, - "LogConfigCloudAuditOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCloudAuditOptions", - "properties": { - "logName": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "ADMIN_ACTIVITY", - "DATA_ACCESS", - "UNSPECIFIED_LOG_NAME" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - } - }, - "type": "object" - }, - "LogConfigCounterOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCounterOptions", - "properties": { - "customFields": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "LogConfigCounterOptionsCustomField" - }, - "type": "array" - }, - "field": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "metric": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - } - }, - "type": "object" - }, - "LogConfigCounterOptionsCustomField": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigCounterOptionsCustomField", - "properties": { - "name": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "value": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - } - }, - "type": "object" - }, - "LogConfigDataAccessOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigDataAccessOptions", - "properties": { - "logMode": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "LOG_FAIL_CLOSED", - "LOG_MODE_UNSPECIFIED" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - } - }, - "type": "object" - }, "MachineImage": { "description": "Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.", "id": "MachineImage", @@ -57800,6 +57655,10 @@ "$ref": "PreservedState", "description": "[Output Only] Preserved state generated based on stateful policy for this instance." }, + "propertiesFromFlexibilityPolicy": { + "$ref": "ManagedInstancePropertiesFromFlexibilityPolicy", + "description": "[Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy." + }, "version": { "$ref": "ManagedInstanceVersion", "description": "[Output Only] Intended version of this instance." @@ -57889,6 +57748,16 @@ }, "type": "object" }, + "ManagedInstancePropertiesFromFlexibilityPolicy": { + "id": "ManagedInstancePropertiesFromFlexibilityPolicy", + "properties": { + "machineType": { + "description": "The machine type to be used for this instance.", + "type": "string" + } + }, + "type": "object" + }, "ManagedInstanceVersion": { "id": "ManagedInstanceVersion", "properties": { @@ -64336,13 +64205,6 @@ "format": "byte", "type": "string" }, - "rules": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "Rule" - }, - "type": "array" - }, "version": { "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "format": "int32", @@ -71090,72 +70952,6 @@ }, "type": "object" }, - "Rule": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "Rule", - "properties": { - "action": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG", - "NO_ACTION" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - }, - "conditions": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "Condition" - }, - "type": "array" - }, - "description": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - }, - "ins": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logConfigs": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "$ref": "LogConfig" - }, - "type": "array" - }, - "notIns": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - }, - "permissions": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "SSLHealthCheck": { "id": "SSLHealthCheck", "properties": { diff --git a/DiscoveryJson/connectors.v1.json b/DiscoveryJson/connectors.v1.json index 7e5b96a7766..3a992150461 100644 --- a/DiscoveryJson/connectors.v1.json +++ b/DiscoveryJson/connectors.v1.json @@ -1095,6 +1095,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", "required": true, "type": "string" + }, + "schemaAsString": { + "description": "Optional. Flag to indicate if schema should be returned as string or not", + "location": "query", + "type": "boolean" } }, "path": "v1/{+parent}/runtimeActionSchemas", @@ -2497,7 +2502,7 @@ } } }, - "revision": "20240924", + "revision": "20241015", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -3463,6 +3468,10 @@ "format": "int64", "type": "string" }, + "connectorVersioningEnabled": { + "description": "Indicate whether connector versioning is enabled.", + "type": "boolean" + }, "deploymentModel": { "description": "Indicate whether connector is deployed on GKE/CloudRun", "enum": [ @@ -7036,6 +7045,11 @@ "readOnly": true, "type": "array" }, + "inputSchemaAsString": { + "description": "Output only. Input schema as string.", + "readOnly": true, + "type": "string" + }, "resultJsonSchema": { "$ref": "JsonSchema", "description": "Output only. JsonSchema representation of this action's result metadata", @@ -7048,6 +7062,11 @@ }, "readOnly": true, "type": "array" + }, + "resultSchemaAsString": { + "description": "Output only. Result schema as string.", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -7671,22 +7690,22 @@ "id": "TimeOfDay", "properties": { "hours": { - "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", "format": "int32", "type": "integer" }, "minutes": { - "description": "Minutes of hour of day. Must be from 0 to 59.", + "description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", "format": "int32", "type": "integer" }, "nanos": { - "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", + "description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", "format": "int32", "type": "integer" }, "seconds": { - "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", + "description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", "format": "int32", "type": "integer" } diff --git a/DiscoveryJson/connectors.v2.json b/DiscoveryJson/connectors.v2.json index 080f2b678a2..dbdc7540aaa 100644 --- a/DiscoveryJson/connectors.v2.json +++ b/DiscoveryJson/connectors.v2.json @@ -660,7 +660,7 @@ } } }, - "revision": "20240729", + "revision": "20241015", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AccessCredentials": { @@ -2403,22 +2403,22 @@ "id": "TimeOfDay", "properties": { "hours": { - "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", "format": "int32", "type": "integer" }, "minutes": { - "description": "Minutes of hour of day. Must be from 0 to 59.", + "description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", "format": "int32", "type": "integer" }, "nanos": { - "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", + "description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", "format": "int32", "type": "integer" }, "seconds": { - "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", + "description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", "format": "int32", "type": "integer" } diff --git a/DiscoveryJson/contactcenterinsights.v1.json b/DiscoveryJson/contactcenterinsights.v1.json index 679d1b9dd7d..356632027fd 100644 --- a/DiscoveryJson/contactcenterinsights.v1.json +++ b/DiscoveryJson/contactcenterinsights.v1.json @@ -3312,7 +3312,7 @@ } } }, - "revision": "20241015", + "revision": "20241021", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -6214,7 +6214,8 @@ "type": "string" }, "potentialScore": { - "description": "The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero.", + "deprecated": true, + "description": "The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero. Deprecated: Use AnswerValue.potential_score instead.", "format": "double", "type": "number" }, @@ -6277,14 +6278,27 @@ "description": "A value of \"Not Applicable (N/A)\".", "type": "boolean" }, + "normalizedScore": { + "description": "Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0", + "format": "double", + "readOnly": true, + "type": "number" + }, "numValue": { "description": "Numerical value.", "format": "double", "type": "number" }, + "potentialScore": { + "description": "Output only. The maximum potential score of the question.", + "format": "double", + "readOnly": true, + "type": "number" + }, "score": { - "description": "Numerical score of the answer.", + "description": "Output only. Numerical score of the answer.", "format": "double", + "readOnly": true, "type": "number" }, "strValue": { @@ -9451,7 +9465,8 @@ "type": "string" }, "potentialScore": { - "description": "The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero.", + "deprecated": true, + "description": "The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero. Deprecated: Use AnswerValue.potential_score instead.", "format": "double", "type": "number" }, @@ -9514,14 +9529,27 @@ "description": "A value of \"Not Applicable (N/A)\".", "type": "boolean" }, + "normalizedScore": { + "description": "Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0", + "format": "double", + "readOnly": true, + "type": "number" + }, "numValue": { "description": "Numerical value.", "format": "double", "type": "number" }, + "potentialScore": { + "description": "Output only. The maximum potential score of the question.", + "format": "double", + "readOnly": true, + "type": "number" + }, "score": { - "description": "Numerical score of the answer.", + "description": "Output only. Numerical score of the answer.", "format": "double", + "readOnly": true, "type": "number" }, "strValue": { diff --git a/DiscoveryJson/content.v2.1.json b/DiscoveryJson/content.v2.1.json index fdbbdfedacf..c90ffd39cd4 100644 --- a/DiscoveryJson/content.v2.1.json +++ b/DiscoveryJson/content.v2.1.json @@ -1457,7 +1457,7 @@ "type": "string" }, "updateMask": { - "description": "Required. List of fields being updated.", + "description": "Optional. List of fields being updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4313,141 +4313,6 @@ } } }, - "settlementreports": { - "methods": { - "get": { - "description": "Retrieves a settlement report from your Merchant Center account.", - "flatPath": "{merchantId}/settlementreports/{settlementId}", - "httpMethod": "GET", - "id": "content.settlementreports.get", - "parameterOrder": [ - "merchantId", - "settlementId" - ], - "parameters": { - "merchantId": { - "description": "The Merchant Center account of the settlement report.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "settlementId": { - "description": "The Google-provided ID of the settlement.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/settlementreports/{settlementId}", - "response": { - "$ref": "SettlementReport" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Retrieves a list of settlement reports from your Merchant Center account.", - "flatPath": "{merchantId}/settlementreports", - "httpMethod": "GET", - "id": "content.settlementreports.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "maxResults": { - "description": "The maximum number of settlements to return in the response, used for paging. The default value is 200 returns per page, and the maximum allowed value is 5000 returns per page.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The Merchant Center account to list settlements for.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - }, - "transferEndDate": { - "description": "Obtains settlements which have transactions before this date (inclusively), in ISO 8601 format.", - "location": "query", - "type": "string" - }, - "transferStartDate": { - "description": "Obtains settlements which have transactions after this date (inclusively), in ISO 8601 format.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/settlementreports", - "response": { - "$ref": "SettlementreportsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "settlementtransactions": { - "methods": { - "list": { - "description": "Retrieves a list of transactions for the settlement.", - "flatPath": "{merchantId}/settlementreports/{settlementId}/transactions", - "httpMethod": "GET", - "id": "content.settlementtransactions.list", - "parameterOrder": [ - "merchantId", - "settlementId" - ], - "parameters": { - "maxResults": { - "description": "The maximum number of transactions to return in the response, used for paging. The default value is 200 transactions per page, and the maximum allowed value is 5000 transactions per page.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The Merchant Center account to list transactions for.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - }, - "settlementId": { - "description": "The Google-provided ID of the settlement.", - "location": "path", - "required": true, - "type": "string" - }, - "transactionIds": { - "description": "The list of transactions to return. If not set, all transactions will be returned.", - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "{merchantId}/settlementreports/{settlementId}/transactions", - "response": { - "$ref": "SettlementtransactionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, "shippingsettings": { "methods": { "custombatch": { @@ -4705,7 +4570,7 @@ } } }, - "revision": "20241015", + "revision": "20241023", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -13624,193 +13489,6 @@ }, "type": "object" }, - "SettlementReport": { - "description": " Settlement reports detail order-level and item-level credits and debits between you and Google.", - "id": "SettlementReport", - "properties": { - "endDate": { - "description": "The end date on which all transactions are included in the report, in ISO 8601 format.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementReport`\"", - "type": "string" - }, - "previousBalance": { - "$ref": "Price", - "description": "The residual amount from the previous invoice. This is set only if the previous invoices are not paid because of negative balance." - }, - "settlementId": { - "description": "The ID of the settlement report.", - "type": "string" - }, - "startDate": { - "description": "The start date on which all transactions are included in the report, in ISO 8601 format.", - "type": "string" - }, - "transferAmount": { - "$ref": "Price", - "description": "The money due to the merchant." - }, - "transferDate": { - "description": "Date on which transfer for this payment was initiated by Google, in ISO 8601 format.", - "type": "string" - }, - "transferIds": { - "description": "The list of bank identifiers used for the transfer. For example, Trace ID for Federal Automated Clearing House (ACH). This may also be known as the Wire ID.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "SettlementTransaction": { - "description": "Settlement transactions give a detailed breakdown of the settlement report.", - "id": "SettlementTransaction", - "properties": { - "amount": { - "$ref": "SettlementTransactionAmount", - "description": "The amount for the transaction." - }, - "identifiers": { - "$ref": "SettlementTransactionIdentifiers", - "description": "Identifiers of the transaction." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementTransaction`\"", - "type": "string" - }, - "transaction": { - "$ref": "SettlementTransactionTransaction", - "description": "Details of the transaction." - } - }, - "type": "object" - }, - "SettlementTransactionAmount": { - "id": "SettlementTransactionAmount", - "properties": { - "commission": { - "$ref": "SettlementTransactionAmountCommission" - }, - "description": { - "description": "The description of the event. Acceptable values are: - \"`taxWithhold`\" - \"`principal`\" - \"`principalAdjustment`\" - \"`shippingFee`\" - \"`merchantRemittedSalesTax`\" - \"`googleRemittedSalesTax`\" - \"`merchantCoupon`\" - \"`merchantCouponTax`\" - \"`merchantRemittedDisposalTax`\" - \"`googleRemittedDisposalTax`\" - \"`merchantRemittedRedemptionFee`\" - \"`googleRemittedRedemptionFee`\" - \"`eeeEcoFee`\" - \"`furnitureEcoFee`\" - \"`copyPrivateFee`\" - \"`eeeEcoFeeCommission`\" - \"`furnitureEcoFeeCommission`\" - \"`copyPrivateFeeCommission`\" - \"`principalRefund`\" - \"`principalRefundTax`\" - \"`itemCommission`\" - \"`adjustmentCommission`\" - \"`shippingFeeCommission`\" - \"`commissionRefund`\" - \"`damaged`\" - \"`damagedOrDefectiveItem`\" - \"`expiredItem`\" - \"`faultyItem`\" - \"`incorrectItemReceived`\" - \"`itemMissing`\" - \"`qualityNotExpected`\" - \"`receivedTooLate`\" - \"`storePackageMissing`\" - \"`transitPackageMissing`\" - \"`unsuccessfulDeliveryUndeliverable`\" - \"`wrongChargeInStore`\" - \"`wrongItem`\" - \"`returns`\" - \"`undeliverable`\" - \"`issueRelatedRefundAndReplacementAmountDescription`\" - \"`refundFromMerchant`\" - \"`returnLabelShippingFee`\" - \"`lumpSumCorrection`\" - \"`pspFee`\" - \"`principalRefundDoesNotFit`\" - \"`principalRefundOrderedWrongItem`\" - \"`principalRefundQualityNotExpected`\" - \"`principalRefundBetterPriceFound`\" - \"`principalRefundNoLongerNeeded`\" - \"`principalRefundChangedMind`\" - \"`principalRefundReceivedTooLate`\" - \"`principalRefundIncorrectItemReceived`\" - \"`principalRefundDamagedOrDefectiveItem`\" - \"`principalRefundDidNotMatchDescription`\" - \"`principalRefundExpiredItem`\" ", - "type": "string" - }, - "transactionAmount": { - "$ref": "Price", - "description": "The amount that contributes to the line item price." - }, - "type": { - "description": "The type of the amount. Acceptable values are: - \"`itemPrice`\" - \"`orderPrice`\" - \"`refund`\" - \"`earlyRefund`\" - \"`courtesyRefund`\" - \"`returnRefund`\" - \"`returnLabelShippingFeeAmount`\" - \"`lumpSumCorrectionAmount`\" ", - "type": "string" - } - }, - "type": "object" - }, - "SettlementTransactionAmountCommission": { - "id": "SettlementTransactionAmountCommission", - "properties": { - "category": { - "description": "The category of the commission. Acceptable values are: - \"`animalsAndPetSupplies`\" - \"`dogCatFoodAndCatLitter`\" - \"`apparelAndAccessories`\" - \"`shoesHandbagsAndSunglasses`\" - \"`costumesAndAccessories`\" - \"`jewelry`\" - \"`watches`\" - \"`hobbiesArtsAndCrafts`\" - \"`homeAndGarden`\" - \"`entertainmentCollectibles`\" - \"`collectibleCoins`\" - \"`sportsCollectibles`\" - \"`sportingGoods`\" - \"`toysAndGames`\" - \"`musicalInstruments`\" - \"`giftCards`\" - \"`babyAndToddler`\" - \"`babyFoodWipesAndDiapers`\" - \"`businessAndIndustrial`\" - \"`camerasOpticsAndPhotography`\" - \"`consumerElectronics`\" - \"`electronicsAccessories`\" - \"`personalComputers`\" - \"`videoGameConsoles`\" - \"`foodAndGrocery`\" - \"`beverages`\" - \"`tobaccoProducts`\" - \"`furniture`\" - \"`hardware`\" - \"`buildingMaterials`\" - \"`tools`\" - \"`healthAndPersonalCare`\" - \"`beauty`\" - \"`householdSupplies`\" - \"`kitchenAndDining`\" - \"`majorAppliances`\" - \"`luggageAndBags`\" - \"`media`\" - \"`officeSupplies`\" - \"`softwareAndVideoGames`\" - \"`vehiclePartsAndAccessories`\" - \"`vehicleTiresAndWheels`\" - \"`vehicles`\" - \"`everythingElse`\" ", - "type": "string" - }, - "rate": { - "description": "Rate of the commission in percentage.", - "type": "string" - } - }, - "type": "object" - }, - "SettlementTransactionIdentifiers": { - "id": "SettlementTransactionIdentifiers", - "properties": { - "adjustmentId": { - "description": "The identifier of the adjustments, if it's available.", - "type": "string" - }, - "merchantOrderId": { - "description": "The merchant provided order ID.", - "type": "string" - }, - "orderItemId": { - "description": "The identifier of the item.", - "type": "string" - }, - "settlementEntryId": { - "description": "The unique ID of the settlement transaction entry.", - "type": "string" - }, - "shipmentIds": { - "description": "The shipment ids for the item.", - "items": { - "type": "string" - }, - "type": "array" - }, - "transactionId": { - "description": "The Google transaction ID.", - "type": "string" - } - }, - "type": "object" - }, - "SettlementTransactionTransaction": { - "id": "SettlementTransactionTransaction", - "properties": { - "postDate": { - "description": "The time on which the event occurred in ISO 8601 format.", - "type": "string" - }, - "type": { - "description": "The type of the transaction that occurred. Acceptable values are: - \"`order`\" - \"`reversal`\" - \"`orderRefund`\" - \"`reversalRefund`\" - \"`issueRelatedRefundAndReplacement`\" - \"`returnLabelShippingFeeTransaction`\" - \"`reversalIssueRelatedRefundAndReplacement`\" - \"`reversalReturnLabelShippingFeeTransaction`\" - \"`lumpSumCorrectionTransaction`\" ", - "type": "string" - } - }, - "type": "object" - }, - "SettlementreportsListResponse": { - "id": "SettlementreportsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementreportsListResponse`\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of returns.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "SettlementReport" - }, - "type": "array" - } - }, - "type": "object" - }, - "SettlementtransactionsListResponse": { - "id": "SettlementtransactionsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementtransactionsListResponse`\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of returns.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "SettlementTransaction" - }, - "type": "array" - } - }, - "type": "object" - }, "ShippingSettings": { "description": "The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role.", "id": "ShippingSettings", diff --git a/DiscoveryJson/datacatalog.v1.json b/DiscoveryJson/datacatalog.v1.json index f465a6245fe..502ad719ae3 100644 --- a/DiscoveryJson/datacatalog.v1.json +++ b/DiscoveryJson/datacatalog.v1.json @@ -172,9 +172,150 @@ } } }, + "organizations": { + "resources": { + "locations": { + "methods": { + "retrieveConfig": { + "description": "Retrieves the configuration related to the migration from Data Catalog to Dataplex for a specific organization, including all the projects under it which have a separate configuration set.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}:retrieveConfig", + "httpMethod": "GET", + "id": "datacatalog.organizations.locations.retrieveConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The organization whose config is being retrieved.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:retrieveConfig", + "response": { + "$ref": "GoogleCloudDatacatalogV1OrganizationConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "retrieveEffectiveConfig": { + "description": "Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a specific organization or project. If there is no specific configuration set for the resource, the setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource itself.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}:retrieveEffectiveConfig", + "httpMethod": "GET", + "id": "datacatalog.organizations.locations.retrieveEffectiveConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource whose effective config is being retrieved.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:retrieveEffectiveConfig", + "response": { + "$ref": "GoogleCloudDatacatalogV1MigrationConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setConfig": { + "description": "Sets the configuration related to the migration to Dataplex for an organization or project.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}:setConfig", + "httpMethod": "POST", + "id": "datacatalog.organizations.locations.setConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The organization or project whose config is being specified.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:setConfig", + "request": { + "$ref": "GoogleCloudDatacatalogV1SetConfigRequest" + }, + "response": { + "$ref": "GoogleCloudDatacatalogV1MigrationConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "projects": { "resources": { "locations": { + "methods": { + "retrieveEffectiveConfig": { + "description": "Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a specific organization or project. If there is no specific configuration set for the resource, the setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource itself.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:retrieveEffectiveConfig", + "httpMethod": "GET", + "id": "datacatalog.projects.locations.retrieveEffectiveConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource whose effective config is being retrieved.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:retrieveEffectiveConfig", + "response": { + "$ref": "GoogleCloudDatacatalogV1MigrationConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setConfig": { + "description": "Sets the configuration related to the migration to Dataplex for an organization or project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:setConfig", + "httpMethod": "POST", + "id": "datacatalog.projects.locations.setConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The organization or project whose config is being specified.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:setConfig", + "request": { + "$ref": "GoogleCloudDatacatalogV1SetConfigRequest" + }, + "response": { + "$ref": "GoogleCloudDatacatalogV1MigrationConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "entryGroups": { "methods": { @@ -2144,7 +2285,7 @@ } } }, - "revision": "20240614", + "revision": "20241021", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -3024,6 +3165,10 @@ "name": { "description": "Identifier. The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name.", "type": "string" + }, + "transferredToDataplex": { + "description": "Optional. When set to [true], it means DataCatalog EntryGroup was transferred to Dataplex Catalog Service. It makes EntryGroup and its Entries to be read-only in DataCatalog. However, new Tags on EntryGroup and its Entries can be created. After setting the flag to [true] it cannot be unset.", + "type": "boolean" } }, "type": "object" @@ -3411,6 +3556,41 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1MigrationConfig": { + "description": "The configuration related to the migration to Dataplex applied to an organization or project. It is the response message for SetConfig and RetrieveEffectiveConfig.", + "id": "GoogleCloudDatacatalogV1MigrationConfig", + "properties": { + "catalogUiExperience": { + "description": "Opt-in status for the UI switch to Dataplex.", + "enum": [ + "CATALOG_UI_EXPERIENCE_UNSPECIFIED", + "CATALOG_UI_EXPERIENCE_ENABLED", + "CATALOG_UI_EXPERIENCE_DISABLED" + ], + "enumDescriptions": [ + "Default value. The default UI is Dataplex.", + "The UI is Dataplex.", + "The UI is Data Catalog." + ], + "type": "string" + }, + "tagTemplateMigration": { + "description": "Opt-in status for the migration of Tag Templates to Dataplex.", + "enum": [ + "TAG_TEMPLATE_MIGRATION_UNSPECIFIED", + "TAG_TEMPLATE_MIGRATION_ENABLED", + "TAG_TEMPLATE_MIGRATION_DISABLED" + ], + "enumDescriptions": [ + "Default value. Migration of Tag Templates from Data Catalog to Dataplex is not performed.", + "Migration of Tag Templates from Data Catalog to Dataplex is enabled.", + "Migration of Tag Templates from Data Catalog to Dataplex is disabled." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1ModelSpec": { "description": "Specification that applies to a model. Valid only for entries with the `MODEL` type.", "id": "GoogleCloudDatacatalogV1ModelSpec", @@ -3444,6 +3624,20 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1OrganizationConfig": { + "description": "The configuration related to the migration from Data Catalog to Dataplex that has been applied to an organization and any projects under it. It is the response message for RetrieveConfig.", + "id": "GoogleCloudDatacatalogV1OrganizationConfig", + "properties": { + "config": { + "additionalProperties": { + "$ref": "GoogleCloudDatacatalogV1MigrationConfig" + }, + "description": "Map of organizations and project resource names and their configuration. The format for the map keys is `organizations/{organizationId}` or `projects/{projectId}`.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1PersonalDetails": { "description": "Entry metadata relevant only to the user and private to them.", "id": "GoogleCloudDatacatalogV1PersonalDetails", @@ -4031,6 +4225,41 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1SetConfigRequest": { + "description": "Request message for SetConfig.", + "id": "GoogleCloudDatacatalogV1SetConfigRequest", + "properties": { + "catalogUiExperience": { + "description": "Opt-in status for the UI switch to Dataplex.", + "enum": [ + "CATALOG_UI_EXPERIENCE_UNSPECIFIED", + "CATALOG_UI_EXPERIENCE_ENABLED", + "CATALOG_UI_EXPERIENCE_DISABLED" + ], + "enumDescriptions": [ + "Default value. The default UI is Dataplex.", + "The UI is Dataplex.", + "The UI is Data Catalog." + ], + "type": "string" + }, + "tagTemplateMigration": { + "description": "Opt-in status for the migration of Tag Templates to Dataplex.", + "enum": [ + "TAG_TEMPLATE_MIGRATION_UNSPECIFIED", + "TAG_TEMPLATE_MIGRATION_ENABLED", + "TAG_TEMPLATE_MIGRATION_DISABLED" + ], + "enumDescriptions": [ + "Default value. Migration of Tag Templates from Data Catalog to Dataplex is not performed.", + "Migration of Tag Templates from Data Catalog to Dataplex is enabled.", + "Migration of Tag Templates from Data Catalog to Dataplex is disabled." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec": { "description": "Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type)", "id": "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec", @@ -4123,6 +4352,26 @@ "description": "Resources like entry can have schemas associated with them. This scope allows you to attach tags to an individual column based on that schema. To attach a tag to a nested column, separate column names with a dot (`.`). Example: `column.nested_column`.", "type": "string" }, + "dataplexTransferStatus": { + "description": "Output only. Denotes the transfer status of the Tag Template.", + "enum": [ + "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED", + "MIGRATED", + "TRANSFERRED" + ], + "enumDeprecated": [ + false, + true, + false + ], + "enumDescriptions": [ + "Default value. TagTemplate and its tags are only visible and editable in DataCatalog.", + "TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in DataCatalog, read-only in Dataplex. Deprecated: Individual TagTemplate migration is deprecated in favor of organization or project wide TagTemplate migration opt-in.", + "TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in Dataplex, read-only in DataCatalog." + ], + "readOnly": true, + "type": "string" + }, "fields": { "additionalProperties": { "$ref": "GoogleCloudDatacatalogV1TagField" @@ -4209,15 +4458,18 @@ "description": "Optional. Transfer status of the TagTemplate", "enum": [ "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED", - "MIGRATED" + "MIGRATED", + "TRANSFERRED" ], "enumDeprecated": [ false, - true + true, + false ], "enumDescriptions": [ "Default value. TagTemplate and its tags are only visible and editable in DataCatalog.", - "TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in DataCatalog, read-only in Dataplex. Deprecated: Individual TagTemplate migration is deprecated in favor of organization or project wide TagTemplate migration opt-in." + "TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in DataCatalog, read-only in Dataplex. Deprecated: Individual TagTemplate migration is deprecated in favor of organization or project wide TagTemplate migration opt-in.", + "TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in Dataplex, read-only in DataCatalog." ], "type": "string" }, diff --git a/DiscoveryJson/datacatalog.v1beta1.json b/DiscoveryJson/datacatalog.v1beta1.json index ffebdeadcf9..a47b0c9af33 100644 --- a/DiscoveryJson/datacatalog.v1beta1.json +++ b/DiscoveryJson/datacatalog.v1beta1.json @@ -1813,7 +1813,7 @@ } } }, - "revision": "20240614", + "revision": "20241021", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -3171,6 +3171,26 @@ "description": "Resources like entry can have schemas associated with them. This scope allows you to attach tags to an individual column based on that schema. To attach a tag to a nested column, separate column names with a dot (`.`). Example: `column.nested_column`.", "type": "string" }, + "dataplexTransferStatus": { + "description": "Output only. Denotes the transfer status of the Tag Template.", + "enum": [ + "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED", + "MIGRATED", + "TRANSFERRED" + ], + "enumDeprecated": [ + false, + true, + false + ], + "enumDescriptions": [ + "Default value. TagTemplate and its tags are only visible and editable in DataCatalog.", + "TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in DataCatalog, read-only in Dataplex. Deprecated: Individual TagTemplate migration is deprecated in favor of organization or project wide TagTemplate migration opt-in.", + "TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in Dataplex, read-only in DataCatalog." + ], + "readOnly": true, + "type": "string" + }, "fields": { "additionalProperties": { "$ref": "GoogleCloudDatacatalogV1TagField" diff --git a/DiscoveryJson/dataform.v1beta1.json b/DiscoveryJson/dataform.v1beta1.json index 1f2a452e1fc..e3889272482 100644 --- a/DiscoveryJson/dataform.v1beta1.json +++ b/DiscoveryJson/dataform.v1beta1.json @@ -467,7 +467,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" } @@ -587,7 +587,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -669,7 +669,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -989,7 +989,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -1037,7 +1037,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" } @@ -1153,7 +1153,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -1310,7 +1310,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -1500,7 +1500,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -1543,7 +1543,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" } @@ -1841,7 +1841,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -2017,7 +2017,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -2182,7 +2182,7 @@ "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest` must match the call that provided the page token.", + "description": "Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest`, with the exception of `page_size`, must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -2295,7 +2295,7 @@ } } }, - "revision": "20240824", + "revision": "20241020", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "Assertion": { @@ -2655,10 +2655,6 @@ "$ref": "Target", "description": "The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result." }, - "dataPreparation": { - "$ref": "DataPreparation", - "description": "The data preparation executed by this action." - }, "declaration": { "$ref": "Declaration", "description": "The declaration declared by this action." @@ -2735,36 +2731,6 @@ }, "type": "object" }, - "DataPreparation": { - "description": "Defines a compiled Data Preparation entity", - "id": "DataPreparation", - "properties": { - "contents": { - "description": "The data preparation definition, stored as a binary encoded proto.", - "format": "byte", - "type": "string" - }, - "dependencyTargets": { - "description": "A list of actions that this action depends on.", - "items": { - "$ref": "Target" - }, - "type": "array" - }, - "disabled": { - "description": "Whether this action is disabled (i.e. should not be run).", - "type": "boolean" - }, - "tags": { - "description": "Arbitrary, user-defined tags on this action.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "Declaration": { "description": "Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.", "id": "Declaration", @@ -3776,7 +3742,7 @@ "type": "string" }, "recentScheduledReleaseRecords": { - "description": "Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.", + "description": "Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.", "items": { "$ref": "ScheduledReleaseRecord" }, @@ -3840,7 +3806,7 @@ "description": "Optional. If set, configures this repository to be linked to a Git remote." }, "kmsKeyName": { - "description": "Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`", + "description": "Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}`", "type": "string" }, "labels": { @@ -4116,7 +4082,7 @@ "type": "string" }, "recentScheduledExecutionRecords": { - "description": "Output only. Records of the 10 most recent scheduled execution attempts, ordered in in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.", + "description": "Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.", "items": { "$ref": "ScheduledExecutionRecord" }, @@ -4264,6 +4230,12 @@ "description": "Represents a Dataform Git workspace.", "id": "Workspace", "properties": { + "createTime": { + "description": "Output only. The timestamp of when the workspace was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "dataEncryptionState": { "$ref": "DataEncryptionState", "description": "Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.", diff --git a/DiscoveryJson/datamigration.v1.json b/DiscoveryJson/datamigration.v1.json index 49b7de823b8..fc7080b4acd 100644 --- a/DiscoveryJson/datamigration.v1.json +++ b/DiscoveryJson/datamigration.v1.json @@ -2218,7 +2218,7 @@ } } }, - "revision": "20241015", + "revision": "20241022", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -6090,12 +6090,16 @@ "enum": [ "SSL_TYPE_UNSPECIFIED", "SERVER_ONLY", - "SERVER_CLIENT" + "SERVER_CLIENT", + "REQUIRED", + "NONE" ], "enumDescriptions": [ "Unspecified.", "Only 'ca_certificate' specified.", - "Both server ('ca_certificate'), and client ('client_key', 'client_certificate') specified." + "Both server ('ca_certificate'), and client ('client_key', 'client_certificate') specified.", + "Mandates SSL encryption for all connections. This doesn\u2019t require certificate verification.", + "Connection is not encrypted." ], "type": "string" } diff --git a/DiscoveryJson/dialogflow.v2.json b/DiscoveryJson/dialogflow.v2.json index 6d22527d984..49c1a8a2252 100644 --- a/DiscoveryJson/dialogflow.v2.json +++ b/DiscoveryJson/dialogflow.v2.json @@ -8714,7 +8714,7 @@ } } }, - "revision": "20241018", + "revision": "20241019", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -15765,6 +15765,11 @@ "$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings", "description": "Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped." }, + "contextSize": { + "description": "Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST.", + "format": "int32", + "type": "integer" + }, "dialogflowQuerySource": { "$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource", "description": "Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST." @@ -16246,6 +16251,13 @@ }, "type": "array" }, + "phraseSets": { + "description": "A collection of phrase set resources to use for speech adaptation.", + "items": { + "type": "string" + }, + "type": "array" + }, "sampleRateHertz": { "description": "Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", "format": "int32", @@ -17302,6 +17314,14 @@ "description": "Snippet Source for a Generative Prediction.", "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata of the document.", + "type": "object" + }, "text": { "description": "Text taken from that URI.", "type": "string" @@ -18217,6 +18237,14 @@ "description": "The sources of the answers.", "id": "GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata associated with the article.", + "type": "object" + }, "snippet": { "description": "The relevant snippet of the article.", "type": "string" @@ -18244,6 +18272,18 @@ "description": "Required. The conversation profile used to configure the search. Format: `projects//locations//conversationProfiles/`.", "type": "string" }, + "endUserMetadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Information about the end-user to improve the relevance and accuracy of generative answers. This will be interpreted and used by a language model, so, for good results, the data should be self-descriptive, and in a simple structure. Example: ```json { \"subscription plan\": \"Business Premium Plus\", \"devices owned\": [ {\"model\": \"Google Pixel 7\"}, {\"model\": \"Google Pixel Tablet\"} ] } ```", + "type": "object" + }, + "exactSearch": { + "description": "Optional. Whether to search the query exactly without query rewrite.", + "type": "boolean" + }, "latestMessage": { "description": "Optional. The name of the latest conversation message when the request is triggered. Format: `projects//locations//conversations//messages/`.", "type": "string" @@ -18256,6 +18296,24 @@ "$ref": "GoogleCloudDialogflowV2TextInput", "description": "Required. The natural language text query for knowledge search." }, + "querySource": { + "description": "Optional. The source of the query in the request.", + "enum": [ + "QUERY_SOURCE_UNSPECIFIED", + "AGENT_QUERY", + "SUGGESTED_QUERY" + ], + "enumDescriptions": [ + "Unknown query source.", + "The query is from agents.", + "The query is a suggested query from Participants.SuggestKnowledgeAssist." + ], + "type": "string" + }, + "searchConfig": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig", + "description": "Optional. Configuration specific to search queries with data stores." + }, "sessionId": { "description": "Required. The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from conversation profile or on its own to identify a search session. The search history of the same session will impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length must not exceed 36 characters.", "type": "string" @@ -18263,6 +18321,160 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig": { + "description": "Configuration specific to search queries with data stores.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig", + "properties": { + "boostSpecs": { + "description": "Optional. Boost specifications for data stores.", + "items": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs" + }, + "type": "array" + }, + "filterSpecs": { + "description": "Optional. Filter specification for data store queries.", + "items": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs": { + "description": "Boost specifications for data stores.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs", + "properties": { + "dataStores": { + "description": "Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` `projects/{project}/locations/{location}/dataStores/{data_store}", + "items": { + "type": "string" + }, + "type": "array" + }, + "spec": { + "description": "Optional. A list of boosting specifications.", + "items": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec": { + "description": "Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation is available at https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec", + "id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec", + "properties": { + "conditionBoostSpecs": { + "description": "Optional. Condition boost specifications. If a document 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": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec": { + "description": "Boost applies to documents which match a condition.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec", + "properties": { + "boost": { + "description": "Optional. Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.", + "format": "float", + "type": "number" + }, + "boostControlSpec": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec", + "description": "Optional. Complex specification for custom ranking based on customer defined attribute value." + }, + "condition": { + "description": "Optional. An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. Examples: * To boost documents with document ID \"doc_1\" or \"doc_2\", and color \"Red\" or \"Blue\": * (id: ANY(\"doc_1\", \"doc_2\")) AND (color: ANY(\"Red\",\"Blue\"))", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec": { + "description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec", + "properties": { + "attributeType": { + "description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", + "enum": [ + "ATTRIBUTE_TYPE_UNSPECIFIED", + "NUMERICAL", + "FRESHNESS" + ], + "enumDescriptions": [ + "Unspecified AttributeType.", + "The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", + "For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. E.g. `5D`, `3DT12H30M`, `T24H`." + ], + "type": "string" + }, + "controlPoints": { + "description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", + "items": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint" + }, + "type": "array" + }, + "fieldName": { + "description": "Optional. The name of the field whose value will be used to determine the boost amount.", + "type": "string" + }, + "interpolationType": { + "description": "Optional. The interpolation type to be applied to connect the control points listed below.", + "enum": [ + "INTERPOLATION_TYPE_UNSPECIFIED", + "LINEAR" + ], + "enumDescriptions": [ + "Interpolation type is unspecified. In this case, it defaults to Linear.", + "Piecewise linear interpolation will be applied." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint": { + "description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", + "id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint", + "properties": { + "attributeValue": { + "description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", + "type": "string" + }, + "boostAmount": { + "description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs": { + "description": "Filter specification for data store queries.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs", + "properties": { + "dataStores": { + "description": "Optional. The data store where the filter configuration is applied. Full resource name of data store, such as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}.", + "items": { + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "Optional. The filter expression to be applied. Expression syntax is documented at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2SearchKnowledgeResponse": { "description": "The response message for Conversations.SearchKnowledge.", "id": "GoogleCloudDialogflowV2SearchKnowledgeResponse", @@ -18574,6 +18786,13 @@ "description": "Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection.", "type": "string" }, + "phraseSets": { + "description": "List of names of Cloud Speech phrase sets that are used for transcription.", + "items": { + "type": "string" + }, + "type": "array" + }, "sampleRateHertz": { "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", "format": "int32", @@ -21141,6 +21360,14 @@ "description": "Snippet Source for a Generative Prediction.", "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata of the document.", + "type": "object" + }, "text": { "description": "Text taken from that URI.", "type": "string" diff --git a/DiscoveryJson/dialogflow.v2beta1.json b/DiscoveryJson/dialogflow.v2beta1.json index e4faa0dfb01..17ddad1cab9 100644 --- a/DiscoveryJson/dialogflow.v2beta1.json +++ b/DiscoveryJson/dialogflow.v2beta1.json @@ -8082,7 +8082,7 @@ } } }, - "revision": "20241018", + "revision": "20241019", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -14451,6 +14451,14 @@ "description": "Snippet Source for a Generative Prediction.", "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata of the document.", + "type": "object" + }, "text": { "description": "Text taken from that URI.", "type": "string" @@ -17230,6 +17238,11 @@ "$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings", "description": "Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped." }, + "contextSize": { + "description": "Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST.", + "format": "int32", + "type": "integer" + }, "dialogflowQuerySource": { "$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource", "description": "Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST, ENTITY_EXTRACTION." @@ -17672,6 +17685,13 @@ }, "type": "array" }, + "phraseSets": { + "description": "A collection of phrase set resources to use for speech adaptation.", + "items": { + "type": "string" + }, + "type": "array" + }, "sampleRateHertz": { "description": "Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", "format": "int32", @@ -19072,6 +19092,14 @@ "description": "Snippet Source for a Generative Prediction.", "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata of the document.", + "type": "object" + }, "text": { "description": "Text taken from that URI.", "type": "string" @@ -20092,6 +20120,14 @@ "description": "The sources of the answers.", "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata associated with the article.", + "type": "object" + }, "snippet": { "description": "The relevant snippet of the article.", "type": "string" @@ -20119,6 +20155,18 @@ "description": "Required. The conversation profile used to configure the search. Format: `projects//locations//conversationProfiles/`.", "type": "string" }, + "endUserMetadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Information about the end-user to improve the relevance and accuracy of generative answers. This will be interpreted and used by a language model, so, for good results, the data should be self-descriptive, and in a simple structure. Example: ```json { \"subscription plan\": \"Business Premium Plus\", \"devices owned\": [ {\"model\": \"Google Pixel 7\"}, {\"model\": \"Google Pixel Tablet\"} ] } ```", + "type": "object" + }, + "exactSearch": { + "description": "Optional. Whether to search the query exactly without query rewrite.", + "type": "boolean" + }, "latestMessage": { "description": "Optional. The name of the latest conversation message when the request is triggered. Format: `projects//locations//conversations//messages/`.", "type": "string" @@ -20131,6 +20179,24 @@ "$ref": "GoogleCloudDialogflowV2beta1TextInput", "description": "Required. The natural language text query for knowledge search." }, + "querySource": { + "description": "Optional. The source of the query in the request.", + "enum": [ + "QUERY_SOURCE_UNSPECIFIED", + "AGENT_QUERY", + "SUGGESTED_QUERY" + ], + "enumDescriptions": [ + "Unknown query source.", + "The query is from agents.", + "The query is a suggested query from Participants.SuggestKnowledgeAssist." + ], + "type": "string" + }, + "searchConfig": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig", + "description": "Optional. Configuration specific to search queries with data stores." + }, "sessionId": { "description": "Required. The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from conversation profile or on its own to identify a search session. The search history of the same session will impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length must not exceed 36 characters.", "type": "string" @@ -20138,6 +20204,160 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig": { + "description": "Configuration specific to search queries with data stores.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig", + "properties": { + "boostSpecs": { + "description": "Optional. Boost specifications for data stores.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs" + }, + "type": "array" + }, + "filterSpecs": { + "description": "Optional. Filter specification for data store queries.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs": { + "description": "Boost specifications for data stores.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs", + "properties": { + "dataStores": { + "description": "Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` `projects/{project}/locations/{location}/dataStores/{data_store}", + "items": { + "type": "string" + }, + "type": "array" + }, + "spec": { + "description": "Optional. A list of boosting specifications.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec": { + "description": "Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation is available at https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec", + "properties": { + "conditionBoostSpecs": { + "description": "Optional. Condition boost specifications. If a document 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": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec": { + "description": "Boost applies to documents which match a condition.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec", + "properties": { + "boost": { + "description": "Optional. Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.", + "format": "float", + "type": "number" + }, + "boostControlSpec": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec", + "description": "Optional. Complex specification for custom ranking based on customer defined attribute value." + }, + "condition": { + "description": "Optional. An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. Examples: * To boost documents with document ID \"doc_1\" or \"doc_2\", and color \"Red\" or \"Blue\": * (id: ANY(\"doc_1\", \"doc_2\")) AND (color: ANY(\"Red\",\"Blue\"))", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec": { + "description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec", + "properties": { + "attributeType": { + "description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", + "enum": [ + "ATTRIBUTE_TYPE_UNSPECIFIED", + "NUMERICAL", + "FRESHNESS" + ], + "enumDescriptions": [ + "Unspecified AttributeType.", + "The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", + "For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. E.g. `5D`, `3DT12H30M`, `T24H`." + ], + "type": "string" + }, + "controlPoints": { + "description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint" + }, + "type": "array" + }, + "fieldName": { + "description": "Optional. The name of the field whose value will be used to determine the boost amount.", + "type": "string" + }, + "interpolationType": { + "description": "Optional. The interpolation type to be applied to connect the control points listed below.", + "enum": [ + "INTERPOLATION_TYPE_UNSPECIFIED", + "LINEAR" + ], + "enumDescriptions": [ + "Interpolation type is unspecified. In this case, it defaults to Linear.", + "Piecewise linear interpolation will be applied." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint": { + "description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint", + "properties": { + "attributeValue": { + "description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", + "type": "string" + }, + "boostAmount": { + "description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs": { + "description": "Filter specification for data store queries.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs", + "properties": { + "dataStores": { + "description": "Optional. The data store where the filter configuration is applied. Full resource name of data store, such as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}.", + "items": { + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "Optional. The filter expression to be applied. Expression syntax is documented at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse": { "description": "The response message for Conversations.SearchKnowledge.", "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse", @@ -20391,6 +20611,13 @@ "description": "Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection.", "type": "string" }, + "phraseSets": { + "description": "List of names of Cloud Speech phrase sets that are used for transcription.", + "items": { + "type": "string" + }, + "type": "array" + }, "sampleRateHertz": { "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", "format": "int32", diff --git a/DiscoveryJson/dialogflow.v3.json b/DiscoveryJson/dialogflow.v3.json index bc3ca93a942..942b0f2323c 100644 --- a/DiscoveryJson/dialogflow.v3.json +++ b/DiscoveryJson/dialogflow.v3.json @@ -4453,7 +4453,7 @@ } } }, - "revision": "20240924", + "revision": "20241019", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -14282,6 +14282,14 @@ "description": "Snippet Source for a Generative Prediction.", "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata of the document.", + "type": "object" + }, "text": { "description": "Text taken from that URI.", "type": "string" @@ -16704,6 +16712,14 @@ "description": "Snippet Source for a Generative Prediction.", "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata of the document.", + "type": "object" + }, "text": { "description": "Text taken from that URI.", "type": "string" diff --git a/DiscoveryJson/dialogflow.v3beta1.json b/DiscoveryJson/dialogflow.v3beta1.json index eb2d04f9f2c..830c268378f 100644 --- a/DiscoveryJson/dialogflow.v3beta1.json +++ b/DiscoveryJson/dialogflow.v3beta1.json @@ -5185,7 +5185,7 @@ } } }, - "revision": "20240924", + "revision": "20241019", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -16352,6 +16352,14 @@ "description": "Snippet Source for a Generative Prediction.", "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata of the document.", + "type": "object" + }, "text": { "description": "Text taken from that URI.", "type": "string" @@ -18774,6 +18782,14 @@ "description": "Snippet Source for a Generative Prediction.", "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Metadata of the document.", + "type": "object" + }, "text": { "description": "Text taken from that URI.", "type": "string" diff --git a/DiscoveryJson/displayvideo.v2.json b/DiscoveryJson/displayvideo.v2.json index 22e7909434a..46341970bd6 100644 --- a/DiscoveryJson/displayvideo.v2.json +++ b/DiscoveryJson/displayvideo.v2.json @@ -9267,7 +9267,7 @@ } } }, - "revision": "20241017", + "revision": "20241024", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -9421,11 +9421,11 @@ "type": "object" }, "Adloox": { - "description": "Details of Adloox settings.", + "description": "Details of Adloox brand safety settings.", "id": "Adloox", "properties": { "excludedAdlooxCategories": { - "description": "Adloox's brand safety settings.", + "description": "Adloox categories to exclude.", "items": { "enum": [ "ADLOOX_UNSPECIFIED", @@ -9439,7 +9439,7 @@ "FRAUD" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any Adloox option.", + "Default value when a Adloox category is not specified or is unknown in this version.", "Adult content (hard).", "Adult content (soft).", "Illegal content.", @@ -9472,7 +9472,7 @@ }, "billingConfig": { "$ref": "AdvertiserBillingConfig", - "description": "Optional. Required. Billing related settings of the advertiser." + "description": "Required. Billing related settings of the advertiser." }, "creativeConfig": { "$ref": "AdvertiserCreativeConfig", @@ -9561,7 +9561,7 @@ "id": "AdvertiserBillingConfig", "properties": { "billingProfileId": { - "description": "Optional. The ID of a billing profile assigned to the advertiser.", + "description": "Required. The ID of a billing profile assigned to the advertiser.", "format": "int64", "type": "string" } diff --git a/DiscoveryJson/displayvideo.v3.json b/DiscoveryJson/displayvideo.v3.json index 0925235f407..dabdb266a37 100644 --- a/DiscoveryJson/displayvideo.v3.json +++ b/DiscoveryJson/displayvideo.v3.json @@ -9222,7 +9222,7 @@ } } }, - "revision": "20241017", + "revision": "20241024", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActiveViewVideoViewabilityMetricConfig": { @@ -9563,11 +9563,11 @@ "type": "object" }, "Adloox": { - "description": "Details of Adloox settings.", + "description": "Details of Adloox brand safety settings.", "id": "Adloox", "properties": { "adultExplicitSexualContent": { - "description": "Optional. Adult explicit sexual content.", + "description": "Optional. Adult and Explicit Sexual Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9576,16 +9576,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "armsAmmunitionContent": { - "description": "Optional. Arms ammunition content.", + "description": "Optional. Arms and Ammunition Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9594,16 +9594,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent": { - "description": "Optional. Crime harmful acts to individuals society human rights violations content.", + "description": "Optional. Crime and Harmful Acts Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9612,16 +9612,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "deathInjuryMilitaryConflictContent": { - "description": "Optional. Death injury military conflict content.", + "description": "Optional. Death, Injury, or Military Conflict Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9630,16 +9630,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "debatedSensitiveSocialIssueContent": { - "description": "Optional. Debated sensitive social issue content.", + "description": "Optional. Debated Sensitive Social Issue Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9648,16 +9648,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "displayIabViewability": { - "description": "Optional. Display IAB viewability.", + "description": "Optional. IAB viewability threshold for display ads.", "enum": [ "DISPLAY_IAB_VIEWABILITY_UNSPECIFIED", "DISPLAY_IAB_VIEWABILITY_10", @@ -9667,7 +9667,7 @@ "DISPLAY_IAB_VIEWABILITY_75" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any display viewability options.", + "Default value when not specified or is unknown in this version.", "10%+ in view (IAB display viewability standard).", "20%+ in view (IAB display viewability standard).", "35%+ in view (IAB display viewability standard).", @@ -9677,7 +9677,7 @@ "type": "string" }, "excludedAdlooxCategories": { - "description": "Adloox's brand safety settings.", + "description": "Adloox categories to exclude.", "items": { "enum": [ "ADLOOX_UNSPECIFIED", @@ -9691,7 +9691,7 @@ "FRAUD" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any Adloox option.", + "Default value when a Adloox category is not specified or is unknown in this version.", "Adult content (hard).", "Adult content (soft).", "Illegal content.", @@ -9706,14 +9706,14 @@ "type": "array" }, "excludedFraudIvtMfaCategories": { - "description": "Optional. Adloox's fraud IVT MFA settings.", + "description": "Optional. Adloox's fraud IVT MFA categories to exclude.", "items": { "enum": [ "FRAUD_IVT_MFA_CATEGORY_UNSPECIFIED", "FRAUD_IVT_MFA" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any fraud IVT MFA categories.", + "Default value when a Adloox Fraud, IVT, MFA category is not specified or is unknown in this version.", "FRAUD, IVT, MFA." ], "type": "string" @@ -9721,7 +9721,7 @@ "type": "array" }, "hateSpeechActsAggressionContent": { - "description": "Optional. Hate speech acts of aggression content.", + "description": "Optional. Hate Speech and Acts of Aggression Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9730,16 +9730,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "illegalDrugsTobaccoEcigarettesVapingAlcoholContent": { - "description": "Optional. Illegal drugs tobacco ecigarettes vaping alcohol content.", + "description": "Optional. Illegal Drugs/Alcohol Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9748,16 +9748,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "misinformationContent": { - "description": "Optional. Misinformation content.", + "description": "Optional. Misinformation Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9766,16 +9766,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "obscenityProfanityContent": { - "description": "Optional. Obscenity profanity content.", + "description": "Optional. Obscenity and Profanity Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9784,16 +9784,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "onlinePiracyContent": { - "description": "Optional. Online piracy content.", + "description": "Optional. Online Piracy Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9802,16 +9802,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "spamHarmfulContent": { - "description": "Optional. Spam harmful content.", + "description": "Optional. Spam or Harmful Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9820,16 +9820,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "terrorismContent": { - "description": "Optional. Terrorism content.", + "description": "Optional. Terrorism Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", "enum": [ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", @@ -9838,16 +9838,16 @@ "GARM_RISK_EXCLUSION_LOW" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any GARM risk level option.", + "This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", "Exclude floor risk.", "Exclude high and floor risk.", - "Exclude high, medium, and floor risk.", - "Exclude All Level of Risk (Low, Medium, High and Floor)." + "Exclude medium, high, and floor risk.", + "Exclude all levels of risk (low, medium, high and floor)." ], "type": "string" }, "videoIabViewability": { - "description": "Optional. Video IAB viewability.", + "description": "Optional. IAB viewability threshold for video ads.", "enum": [ "VIDEO_IAB_VIEWABILITY_UNSPECIFIED", "VIDEO_IAB_VIEWABILITY_10", @@ -9857,7 +9857,7 @@ "VIDEO_IAB_VIEWABILITY_75" ], "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any video viewability options.", + "Default value when not specified or is unknown in this version.", "10%+ in view (IAB video viewability standard).", "20%+ in view (IAB video viewability standard).", "35%+ in view (IAB video viewability standard).", @@ -9885,7 +9885,7 @@ }, "billingConfig": { "$ref": "AdvertiserBillingConfig", - "description": "Optional. Required. Billing related settings of the advertiser." + "description": "Required. Billing related settings of the advertiser." }, "creativeConfig": { "$ref": "AdvertiserCreativeConfig", @@ -9974,7 +9974,7 @@ "id": "AdvertiserBillingConfig", "properties": { "billingProfileId": { - "description": "Optional. The ID of a billing profile assigned to the advertiser.", + "description": "Required. The ID of a billing profile assigned to the advertiser.", "format": "int64", "type": "string" } diff --git a/DiscoveryJson/dlp.v2.json b/DiscoveryJson/dlp.v2.json index ca619a5308a..073b631a9e5 100644 --- a/DiscoveryJson/dlp.v2.json +++ b/DiscoveryJson/dlp.v2.json @@ -5015,7 +5015,7 @@ } } }, - "revision": "20241006", + "revision": "20241020", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -5431,7 +5431,7 @@ "type": "string" }, "projectId": { - "description": "The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.", + "description": "The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.", "type": "string" }, "tableId": { @@ -5462,12 +5462,14 @@ "enum": [ "BIG_QUERY_TABLE_TYPE_UNSPECIFIED", "BIG_QUERY_TABLE_TYPE_TABLE", - "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE" + "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE", + "BIG_QUERY_TABLE_TYPE_SNAPSHOT" ], "enumDescriptions": [ "Unused.", "A normal BigQuery table.", - "A table that references data stored in Cloud Storage." + "A table that references data stored in Cloud Storage.", + "A snapshot of a BigQuery table." ], "type": "string" }, diff --git a/DiscoveryJson/eventarc.v1.json b/DiscoveryJson/eventarc.v1.json index 8b5da455c30..8a8ec77ee7c 100644 --- a/DiscoveryJson/eventarc.v1.json +++ b/DiscoveryJson/eventarc.v1.json @@ -712,6 +712,109 @@ }, "enrollments": { "methods": { + "create": { + "description": "Create a new Enrollment in a particular project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments", + "httpMethod": "POST", + "id": "eventarc.projects.locations.enrollments.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "enrollmentId": { + "description": "Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent collection in which to add this enrollment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/enrollments", + "request": { + "$ref": "Enrollment" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a single Enrollment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}", + "httpMethod": "DELETE", + "id": "eventarc.projects.locations.enrollments.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the Enrollment is not found, the request will succeed but no action will be taken on the server.", + "location": "query", + "type": "boolean" + }, + "etag": { + "description": "Optional. If provided, the Enrollment will only be deleted if the etag matches the current etag on the resource.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the Enrollment to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get a single Enrollment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}", + "httpMethod": "GET", + "id": "eventarc.projects.locations.enrollments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Enrollment to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Enrollment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "getIamPolicy": { "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}:getIamPolicy", @@ -743,6 +846,96 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "list": { + "description": "List Enrollments.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments", + "httpMethod": "GET", + "id": "eventarc.projects.locations.enrollments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent collection to list triggers on.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/enrollments", + "response": { + "$ref": "ListEnrollmentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update a single Enrollment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}", + "httpMethod": "PATCH", + "id": "eventarc.projects.locations.enrollments.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the Enrollment is not found, a new Enrollment will be created. In this situation, `update_mask` is ignored.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Enrollment" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "setIamPolicy": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}:setIamPolicy", @@ -803,6 +996,109 @@ }, "googleApiSources": { "methods": { + "create": { + "description": "Create a new GoogleApiSource in a particular project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources", + "httpMethod": "POST", + "id": "eventarc.projects.locations.googleApiSources.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "googleApiSourceId": { + "description": "Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent collection in which to add this google api source.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/googleApiSources", + "request": { + "$ref": "GoogleApiSource" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a single GoogleApiSource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}", + "httpMethod": "DELETE", + "id": "eventarc.projects.locations.googleApiSources.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server.", + "location": "query", + "type": "boolean" + }, + "etag": { + "description": "Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the GoogleApiSource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get a single GoogleApiSource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}", + "httpMethod": "GET", + "id": "eventarc.projects.locations.googleApiSources.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the google api source to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleApiSource" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "getIamPolicy": { "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:getIamPolicy", @@ -834,92 +1130,411 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:setIamPolicy", - "httpMethod": "POST", - "id": "eventarc.projects.locations.googleApiSources.setIamPolicy", + "list": { + "description": "List GoogleApiSources.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources", + "httpMethod": "GET", + "id": "eventarc.projects.locations.googleApiSources.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent collection to list GoogleApiSources on.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/googleApiSources", + "response": { + "$ref": "ListGoogleApiSourcesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update a single GoogleApiSource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}", + "httpMethod": "PATCH", + "id": "eventarc.projects.locations.googleApiSources.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the GoogleApiSource is not found, a new GoogleApiSource will be created. In this situation, `update_mask` is ignored.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleApiSource" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:setIamPolicy", + "httpMethod": "POST", + "id": "eventarc.projects.locations.googleApiSources.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "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/[^/]+/googleApiSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:testIamPermissions", + "httpMethod": "POST", + "id": "eventarc.projects.locations.googleApiSources.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "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/[^/]+/googleApiSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "messageBuses": { + "methods": { + "create": { + "description": "Create a new MessageBus in a particular project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses", + "httpMethod": "POST", + "id": "eventarc.projects.locations.messageBuses.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "messageBusId": { + "description": "Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$)", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent collection in which to add this message bus.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/messageBuses", + "request": { + "$ref": "MessageBus" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a single message bus.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}", + "httpMethod": "DELETE", + "id": "eventarc.projects.locations.messageBuses.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server.", + "location": "query", + "type": "boolean" + }, + "etag": { + "description": "Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the MessageBus to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get a single MessageBus.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}", + "httpMethod": "GET", + "id": "eventarc.projects.locations.messageBuses.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the message bus to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "MessageBus" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:getIamPolicy", + "httpMethod": "GET", + "id": "eventarc.projects.locations.messageBuses.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "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/[^/]+/messageBuses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List message buses.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses", + "httpMethod": "GET", + "id": "eventarc.projects.locations.messageBuses.list", "parameterOrder": [ - "resource" + "parent" ], "parameters": { - "resource": { - "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.", + "filter": { + "description": "Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent collection to list triggers on.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, + "path": "v1/{+parent}/messageBuses", "response": { - "$ref": "Policy" + "$ref": "ListMessageBusesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:testIamPermissions", - "httpMethod": "POST", - "id": "eventarc.projects.locations.googleApiSources.testIamPermissions", + "listEnrollments": { + "description": "List message bus enrollments.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:listEnrollments", + "httpMethod": "GET", + "id": "eventarc.projects.locations.messageBuses.listEnrollments", "parameterOrder": [ - "resource" + "parent" ], "parameters": { - "resource": { - "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.", + "pageSize": { + "description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent message bus to list enrollments on.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, + "path": "v1/{+parent}:listEnrollments", "response": { - "$ref": "TestIamPermissionsResponse" + "$ref": "ListMessageBusEnrollmentsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - } - } - }, - "messageBuses": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:getIamPolicy", - "httpMethod": "GET", - "id": "eventarc.projects.locations.messageBuses.getIamPolicy", + }, + "patch": { + "description": "Update a single message bus.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}", + "httpMethod": "PATCH", + "id": "eventarc.projects.locations.messageBuses.patch", "parameterOrder": [ - "resource" + "name" ], "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", + "allowMissing": { + "description": "Optional. If set to true, and the MessageBus is not found, a new MessageBus will be created. In this situation, `update_mask` is ignored.", "location": "query", - "type": "integer" + "type": "boolean" }, - "resource": { - "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.", + "name": { + "description": "Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", "required": true, "type": "string" + }, + "updateMask": { + "description": "Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" } }, - "path": "v1/{+resource}:getIamPolicy", + "path": "v1/{+name}", + "request": { + "$ref": "MessageBus" + }, "response": { - "$ref": "Policy" + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -1091,49 +1706,242 @@ "type": "integer" }, "pageToken": { - "description": "The standard list page token.", + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "pipelines": { + "methods": { + "create": { + "description": "Create a new Pipeline in a particular project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines", + "httpMethod": "POST", + "id": "eventarc.projects.locations.pipelines.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent collection in which to add this pipeline.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pipelineId": { + "description": "Required. The user-provided ID to be assigned to the Pipeline.", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/pipelines", + "request": { + "$ref": "Pipeline" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a single pipeline.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", + "httpMethod": "DELETE", + "id": "eventarc.projects.locations.pipelines.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the Pipeline is not found, the request will succeed but no action will be taken on the server.", + "location": "query", + "type": "boolean" + }, + "etag": { + "description": "Optional. If provided, the Pipeline will only be deleted if the etag matches the current etag on the resource.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the Pipeline to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get a single Pipeline.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", + "httpMethod": "GET", + "id": "eventarc.projects.locations.pipelines.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the pipeline to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Pipeline" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:getIamPolicy", + "httpMethod": "GET", + "id": "eventarc.projects.locations.pipelines.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "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/[^/]+/pipelines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List pipelines.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines", + "httpMethod": "GET", + "id": "eventarc.projects.locations.pipelines.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter field that the list request will filter on. Possible filters are described in https://google.aip.dev/160.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", "location": "query", "type": "string" + }, + "parent": { + "description": "Required. The parent collection to list pipelines on.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" } }, - "path": "v1/{+name}/operations", + "path": "v1/{+parent}/pipelines", "response": { - "$ref": "GoogleLongrunningListOperationsResponse" + "$ref": "ListPipelinesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - } - } - }, - "pipelines": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:getIamPolicy", - "httpMethod": "GET", - "id": "eventarc.projects.locations.pipelines.getIamPolicy", + }, + "patch": { + "description": "Update a single pipeline.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", + "httpMethod": "PATCH", + "id": "eventarc.projects.locations.pipelines.patch", "parameterOrder": [ - "resource" + "name" ], "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", + "allowMissing": { + "description": "Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this situation, `update_mask` is ignored.", "location": "query", - "type": "integer" + "type": "boolean" }, - "resource": { - "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.", + "name": { + "description": "Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/pipelines/{pipeline}` format.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", "required": true, "type": "string" + }, + "updateMask": { + "description": "Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request and preview the review, but do not post it.", + "location": "query", + "type": "boolean" } }, - "path": "v1/{+resource}:getIamPolicy", + "path": "v1/{+name}", + "request": { + "$ref": "Pipeline" + }, "response": { - "$ref": "Policy" + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -1561,7 +2369,7 @@ } } }, - "revision": "20240913", + "revision": "20241021", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { @@ -1794,6 +2602,69 @@ "properties": {}, "type": "object" }, + "Enrollment": { + "description": "An enrollment represents a subscription for messages on a particular message bus. It defines a matching criteria for messages on the bus and the subscriber endpoint where matched messages should be delivered.", + "id": "Enrollment", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource annotations.", + "type": "object" + }, + "celMatch": { + "description": "Required. A CEL expression identifying which messages this enrollment applies to.", + "type": "string" + }, + "createTime": { + "description": "Output only. The creation time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "destination": { + "description": "Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to the full resource name of a Pipeline. Format: \"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)\"", + "type": "string" + }, + "displayName": { + "description": "Optional. Resource display name.", + "type": "string" + }, + "etag": { + "description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels.", + "type": "object" + }, + "messageBus": { + "description": "Required. Resource name of the message bus identifying the source of the messages. It matches the form projects/{project}/locations/{location}/messageBuses/{messageBus}.", + "type": "string" + }, + "name": { + "description": "Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}", + "type": "string" + }, + "uid": { + "description": "Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The last-modified time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "EventFilter": { "description": "Filters events based on exact matches on the CloudEvents attributes.", "id": "EventFilter", @@ -1893,49 +2764,309 @@ }, "type": "object" }, - "GKE": { - "description": "Represents a GKE destination.", - "id": "GKE", + "GKE": { + "description": "Represents a GKE destination.", + "id": "GKE", + "properties": { + "cluster": { + "description": "Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.", + "type": "string" + }, + "location": { + "description": "Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.", + "type": "string" + }, + "namespace": { + "description": "Required. The namespace the GKE service is running in.", + "type": "string" + }, + "path": { + "description": "Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".", + "type": "string" + }, + "service": { + "description": "Required. Name of the GKE service.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleApiSource": { + "description": "A GoogleApiSource represents a subscription of 1P events from a MessageBus.", + "id": "GoogleApiSource", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource annotations.", + "type": "object" + }, + "createTime": { + "description": "Output only. The creation time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "cryptoKeyName": { + "description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", + "type": "string" + }, + "destination": { + "description": "Required. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the full resource name of a MessageBus. Format: \"projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID)", + "type": "string" + }, + "displayName": { + "description": "Optional. Resource display name.", + "type": "string" + }, + "etag": { + "description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels.", + "type": "object" + }, + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Optional. Config to control Platform logging for the GoogleApiSource." + }, + "name": { + "description": "Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}", + "type": "string" + }, + "uid": { + "description": "Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The last-modified time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleChannelConfig": { + "description": "A GoogleChannelConfig is a resource that stores the custom settings respected by Eventarc first-party triggers in the matching region. Once configured, first-party event data will be protected using the specified custom managed encryption key instead of Google-managed encryption keys.", + "id": "GoogleChannelConfig", + "properties": { + "cryptoKeyName": { + "description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", + "type": "string" + }, + "name": { + "description": "Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The last-modified time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineDestination": { + "description": "Represents a target of an invocation over HTTP.", + "id": "GoogleCloudEventarcV1PipelineDestination", + "properties": { + "authenticationConfig": { + "$ref": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig", + "description": "Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private GCP destinations that require GCP credentials to access like Cloud Run. This field is optional and should be set only by users interested in authenticated push" + }, + "httpEndpoint": { + "$ref": "GoogleCloudEventarcV1PipelineDestinationHttpEndpoint", + "description": "Optional. An HTTP endpoint destination described by an URI. If a DNS FQDN is provided as the endpoint, Pipeline will create a peering zone to the consumer VPC and forward DNS requests to the VPC specified by network config to resolve the service endpoint. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones" + }, + "messageBus": { + "description": "Optional. The resource name of the Message Bus to which events should be published. The Message Bus resource should exist in the same project as the Pipeline. Format: `projects/{project}/locations/{location}/messageBuses/{message_bus}`", + "type": "string" + }, + "networkConfig": { + "$ref": "GoogleCloudEventarcV1PipelineDestinationNetworkConfig", + "description": "Optional. Network config is used to configure how Pipeline resolves and connects to a destination." + }, + "outputPayloadFormat": { + "$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormat", + "description": "Optional. The message format before it is delivered to the destination. If not set, the message will be delivered in the format it was originally delivered to the Pipeline. This field can only be set if Pipeline.input_payload_format is also set." + }, + "topic": { + "description": "Optional. The resource name of the Pub/Sub topic to which events should be published. Format: `projects/{project}/locations/{location}/topics/{topic}`", + "type": "string" + }, + "workflow": { + "description": "Optional. The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the Pipeline. Format: `projects/{project}/locations/{location}/workflows/{workflow}`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig": { + "description": "Represents a config used to authenticate message requests.", + "id": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig", + "properties": { + "googleOidc": { + "$ref": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken", + "description": "Optional. This authenticate method will apply Google OIDC tokens signed by a GCP service account to the requests." + }, + "oauthToken": { + "$ref": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken", + "description": "Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com." + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken": { + "description": "Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.", + "id": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken", + "properties": { + "scope": { + "description": "Optional. OAuth scope to be used for generating OAuth access token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\" will be used.", + "type": "string" + }, + "serviceAccount": { + "description": "Required. Service account email used to generate the [OAuth token](https://developers.google.com/identity/protocols/OAuth2). The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow Pipeline to create OAuth2 tokens for authenticated requests.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken": { + "description": "Represents a config used to authenticate with a Google OIDC token using a GCP service account. Use this authentication method to invoke your Cloud Run and Cloud Functions destinations or HTTP endpoints that support Google OIDC.", + "id": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken", + "properties": { + "audience": { + "description": "Optional. Audience to be used to generate the OIDC Token. The audience claim identifies the recipient that the JWT is intended for. If unspecified, the destination URI will be used.", + "type": "string" + }, + "serviceAccount": { + "description": "Required. Service account email used to generate the OIDC Token. The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow the Pipeline to create OpenID tokens for authenticated requests.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineDestinationHttpEndpoint": { + "description": "Represents a HTTP endpoint destination.", + "id": "GoogleCloudEventarcV1PipelineDestinationHttpEndpoint", + "properties": { + "messageBindingTemplate": { + "description": "Optional. The CEL expression used to construct a new HTTP request to be sent to the final destination. The result of the CEL expression must be a map of key/value pairs such that: - If a map named `headers` exists on the result of the expression, then its key/value pairs are directly mapped to the HTTP request headers. The headers values are constructed from the corresponding value type\u2019s canonical representation. If the `headers` field doesn\u2019t exist then the resulting HTTP request will be without headers. - If a field named `body` exists on the result of the expression then its value is directly mapped to the body of the request. If the value of the `body` field is of type bytes or string then it is used for the HTTP request body as-is, with no conversion. If the body field is of any other type then it is converted to a JSON string. If the body field doesn\u2019t exist then the resulting HTTP request will be without a body. - Any other fields in the resulting expression will be ignored. The CEL expression may access the incoming CloudEvent message in its definition, as follows: - The `data` field of the incoming CloudEvent message can be accessed using the `message.data` value. - Each attribute of the incoming CloudEvent message can be accessed using the `message.` value, where is replaced with the name of the attribute. Headers added to the request by previous filters in the chain can be accessed in the CEL expression using the `headers` variable. The `headers` variable defines a map of key/value pairs corresponding to the HTTP headers added by previous mediation steps and not the headers present on the original incoming request. For example, the following CEL expression can be used to construct a Headers-only HTTP request by adding an additional header to the headers added by previous mediations in the Pipeline: ``` {\"headers\": headers.merge({\"new-header-key\": \"new-header-value\"})} ``` Additionally, the following CEL extension functions are provided for use in this CEL expression: - toBase64Url: map.toBase64Url() -> string - Converts a CelValue to a base64url encoded string - toJsonString: map.toJsonString() -> string - Converts a CelValue to a JSON string - merge: map1.merge(map2) -> map3 - Merges the passed CEL map with the existing CEL map the function is applied to. - If the same key exists in both maps, if the key's value is type map both maps are merged else the value from the passed map is used. - toMap: list(map).toMap() -> map - Converts a CEL list of CEL maps to a single CEL map - toDestinationPayloadFormat(): message.data.toDestinationPayloadFormat() -> string or bytes - Converts the message data to the destination payload format specified in Pipeline.Destination.output_payload_format - This function is meant to be applied to the message.data field. - If the destination payload format is not set, the function will return the message data unchanged. - toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat() -> map - Converts a message to the corresponding structure of JSON format for CloudEvents - This function applies toDestinationPayloadFormat() to the message data. It also sets the corresponding datacontenttype of the CloudEvent, as indicated by Pipeline.Destination.output_payload_format. If no output_payload_format is set it will use the existing datacontenttype on the CloudEvent if present, else leave datacontenttype absent. - This function expects that the content of the message will adhere to the standard CloudEvent format. If it doesn\u2019t then this function will fail. - The result is a CEL map that corresponds to the JSON representation of the CloudEvent. To convert that data to a JSON string it can be chained with the toJsonString function. If a binding is not specified here, by default the message is treated as a CloudEvent and is mapped to the HTTP request according to the CloudEvent HTTP Protocol Binding Binary Content Mode. The Pipeline converts the data field of the message to the format provided in Pipeline.Destination.output_payload_format and maps it to the body field of the result. It also sets the corresponding Content-Type header to the output_payload_format type. If the Pipeline.Destination.output_payload_format is not set, then the Pipeline will treat the data field of the message as opaque binary data and attach it to the request body as bytes. In this case the Content-type header will be set to the value of the datacontenttype attribute set on the incoming CloudEvent message if present and the `application/octet-stream` MIME type otherwise. The Pipeline expects that the content of the message will adhere to the standard CloudEvent format. If it doesn\u2019t then the outgoing message request may fail with a persistent error.", + "type": "string" + }, + "uri": { + "description": "Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineDestinationNetworkConfig": { + "description": "Represents a network config to be used for destination resolution and connectivity.", + "id": "GoogleCloudEventarcV1PipelineDestinationNetworkConfig", + "properties": { + "networkAttachment": { + "description": "Required. Name of the NetworkAttachment that allows access to the consumer VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineMediation": { + "description": "Mediation defines different ways to modify the Pipeline.", + "id": "GoogleCloudEventarcV1PipelineMediation", "properties": { - "cluster": { - "description": "Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.", - "type": "string" - }, - "location": { - "description": "Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.", - "type": "string" - }, - "namespace": { - "description": "Required. The namespace the GKE service is running in.", + "transformation": { + "$ref": "GoogleCloudEventarcV1PipelineMediationTransformation", + "description": "Optional. How the Pipeline is to transform messages" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineMediationTransformation": { + "description": "Transformation defines the way to transform an incoming message.", + "id": "GoogleCloudEventarcV1PipelineMediationTransformation", + "properties": { + "transformationTemplate": { + "description": "Optional. The template to apply to transform messages.", "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineMessagePayloadFormat": { + "description": "Represents the format of message data.", + "id": "GoogleCloudEventarcV1PipelineMessagePayloadFormat", + "properties": { + "avro": { + "$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat", + "description": "Optional. Avro format." }, - "path": { - "description": "Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".", - "type": "string" + "json": { + "$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat", + "description": "Optional. JSON format." }, - "service": { - "description": "Required. Name of the GKE service.", + "protobuf": { + "$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat", + "description": "Optional. Protobuf format." + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat": { + "description": "The format of an AVRO message payload.", + "id": "GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat", + "properties": { + "schemaDefinition": { + "description": "Optional. The entire schema definition is stored in this field.", "type": "string" } }, "type": "object" }, - "GoogleChannelConfig": { - "description": "A GoogleChannelConfig is a resource that stores the custom settings respected by Eventarc first-party triggers in the matching region. Once configured, first-party event data will be protected using the specified custom managed encryption key instead of Google-managed encryption keys.", - "id": "GoogleChannelConfig", + "GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat": { + "description": "The format of a JSON message payload.", + "id": "GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat", + "properties": {}, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat": { + "description": "The format of a Protobuf message payload.", + "id": "GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat", "properties": { - "cryptoKeyName": { - "description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", + "schemaDefinition": { + "description": "Optional. The entire schema definition is stored in this field.", "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudEventarcV1PipelineRetryPolicy": { + "description": "The retry policy configuration for the Pipeline. The pipeline exponentially backs off in case the destination is non responsive or returns a retryable error code. The default semantics are as follows: The backoff starts with a 5 second delay and doubles the delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.). The delay is capped at 60 seconds by default. Please note that if you set the min_retry_delay and max_retry_delay fields to the same value this will make the duration between retries constant.", + "id": "GoogleCloudEventarcV1PipelineRetryPolicy", + "properties": { + "maxAttempts": { + "description": "Optional. The maximum number of delivery attempts for any message. The value must be between 1 and 100. The default value for this field is 5.", + "format": "int32", + "type": "integer" }, - "name": { - "description": "Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.", + "maxRetryDelay": { + "description": "Optional. The maximum amount of seconds to wait between retry attempts. The value must be between 0 and 600. The default value for this field is 60.", + "format": "google-duration", "type": "string" }, - "updateTime": { - "description": "Output only. The last-modified time.", - "format": "google-datetime", - "readOnly": true, + "minRetryDelay": { + "description": "Optional. The minimum amount of seconds to wait between retry attempts. The value must be between 0 and 600. The default value for this field is 5.", + "format": "google-duration", "type": "string" } }, @@ -2088,6 +3219,56 @@ }, "type": "object" }, + "ListEnrollmentsResponse": { + "description": "The response message for the `ListEnrollments` method.", + "id": "ListEnrollmentsResponse", + "properties": { + "enrollments": { + "description": "The requested Enrollments, up to the number specified in `page_size`.", + "items": { + "$ref": "Enrollment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A page token that can be sent to `ListEnrollments` to request the next page. If this is empty, then there are no more pages.", + "type": "string" + }, + "unreachable": { + "description": "Unreachable resources, if any.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListGoogleApiSourcesResponse": { + "description": "The response message for the `ListGoogleApiSources` method.", + "id": "ListGoogleApiSourcesResponse", + "properties": { + "googleApiSources": { + "description": "The requested GoogleApiSources, up to the number specified in `page_size`.", + "items": { + "$ref": "GoogleApiSource" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A page token that can be sent to `ListMessageBusEnrollments` to request the next page. If this is empty, then there are no more pages.", + "type": "string" + }, + "unreachable": { + "description": "Unreachable resources, if any.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListLocationsResponse": { "description": "The response message for Locations.ListLocations.", "id": "ListLocationsResponse", @@ -2106,6 +3287,81 @@ }, "type": "object" }, + "ListMessageBusEnrollmentsResponse": { + "description": "The response message for the `ListMessageBusEnrollments` method.`", + "id": "ListMessageBusEnrollmentsResponse", + "properties": { + "enrollments": { + "description": "The requested enrollments, up to the number specified in `page_size`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A page token that can be sent to `ListMessageBusEnrollments` to request the next page. If this is empty, then there are no more pages.", + "type": "string" + }, + "unreachable": { + "description": "Unreachable resources, if any.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListMessageBusesResponse": { + "description": "The response message for the `ListMessageBuses` method.", + "id": "ListMessageBusesResponse", + "properties": { + "messageBuses": { + "description": "The requested message buses, up to the number specified in `page_size`.", + "items": { + "$ref": "MessageBus" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A page token that can be sent to `ListMessageBuses` to request the next page. If this is empty, then there are no more pages.", + "type": "string" + }, + "unreachable": { + "description": "Unreachable resources, if any.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListPipelinesResponse": { + "description": "The response message for the ListPipelines method.", + "id": "ListPipelinesResponse", + "properties": { + "nextPageToken": { + "description": "A page token that can be sent to `ListPipelines` to request the next page. If this is empty, then there are no more pages.", + "type": "string" + }, + "pipelines": { + "description": "The requested pipelines, up to the number specified in `page_size`.", + "items": { + "$ref": "Pipeline" + }, + "type": "array" + }, + "unreachable": { + "description": "Unreachable resources, if any.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListProvidersResponse": { "description": "The response message for the `ListProviders` method.", "id": "ListProvidersResponse", @@ -2190,6 +3446,100 @@ }, "type": "object" }, + "LoggingConfig": { + "description": "The configuration for Platform Telemetry logging for Eventarc Avdvanced resources.", + "id": "LoggingConfig", + "properties": { + "logSeverity": { + "description": "Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy \u2265 this value will be sent, unless it is NONE.", + "enum": [ + "LOG_SEVERITY_UNSPECIFIED", + "NONE", + "DEBUG", + "INFO", + "NOTICE", + "WARNING", + "ERROR", + "CRITICAL", + "ALERT", + "EMERGENCY" + ], + "enumDescriptions": [ + "Log severity is not specified. This value is treated the same as NONE, but is used to distinguish between no update and update to NONE in update_masks.", + "Default value at resource creation, presence of this value must be treated as no logging/disable logging.", + "Debug or trace level logging.", + "Routine information, such as ongoing status or performance.", + "Normal but significant events, such as start up, shut down, or a configuration change.", + "Warning events might cause problems.", + "Error events are likely to cause problems.", + "Critical events cause more severe problems or outages.", + "A person must take action immediately.", + "One or more systems are unusable." + ], + "type": "string" + } + }, + "type": "object" + }, + "MessageBus": { + "description": "MessageBus for the messages flowing through the system. The admin has visibility and control over the messages being published and consumed and can restrict publishers and subscribers to only a subset of data available in the system by defining authorization policies.", + "id": "MessageBus", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource annotations.", + "type": "object" + }, + "createTime": { + "description": "Output only. The creation time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "cryptoKeyName": { + "description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", + "type": "string" + }, + "displayName": { + "description": "Optional. Resource display name.", + "type": "string" + }, + "etag": { + "description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels.", + "type": "object" + }, + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it." + }, + "name": { + "description": "Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}", + "type": "string" + }, + "uid": { + "description": "Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The last-modified time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "NetworkConfig": { "description": "Network Configuration that can be inherited by other protos.", "id": "NetworkConfig", @@ -2245,6 +3595,86 @@ }, "type": "object" }, + "Pipeline": { + "description": "A representation of the Pipeline resource.", + "id": "Pipeline", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. User-defined annotations. See https://google.aip.dev/128#annotations.", + "type": "object" + }, + "createTime": { + "description": "Output only. The creation time. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\".", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "cryptoKeyName": { + "description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern \"projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}\".", + "type": "string" + }, + "destinations": { + "description": "Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.", + "items": { + "$ref": "GoogleCloudEventarcV1PipelineDestination" + }, + "type": "array" + }, + "displayName": { + "description": "Optional. Display name of resource.", + "type": "string" + }, + "etag": { + "description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.", + "type": "string" + }, + "inputPayloadFormat": { + "$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormat", + "description": "Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors." + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.", + "type": "object" + }, + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Optional. Config to control Platform Logging for Pipelines." + }, + "mediations": { + "description": "Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.", + "items": { + "$ref": "GoogleCloudEventarcV1PipelineMediation" + }, + "type": "array" + }, + "name": { + "description": "Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/pipelines/{pipeline}` format.", + "type": "string" + }, + "retryPolicy": { + "$ref": "GoogleCloudEventarcV1PipelineRetryPolicy", + "description": "Optional. The retry policy to use in the pipeline." + }, + "uid": { + "description": "Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The last-modified time. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\".", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Policy": { "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", diff --git a/DiscoveryJson/firebaseml.v2beta.json b/DiscoveryJson/firebaseml.v2beta.json index 1dd36002a63..a20181287f3 100644 --- a/DiscoveryJson/firebaseml.v2beta.json +++ b/DiscoveryJson/firebaseml.v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20241021", + "revision": "20241024", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -291,7 +291,7 @@ "Token generation reached a natural stopping point or a configured stop sequence.", "Token generation reached the configured maximum output tokens.", "Token generation stopped because the content potentially contains safety violations. NOTE: When streaming, content is empty if content filters blocks the output.", - "Token generation stopped because the content potentially contains copyright violations.", + "The token generation stopped because of potential recitation.", "All other reasons that stopped the token generation.", "Token generation stopped because the content contains forbidden terms.", "Token generation stopped for potentially containing prohibited content.", @@ -596,7 +596,7 @@ "type": "object" }, "GoogleCloudAiplatformV1beta1FunctionDeclaration": { - "description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.", + "description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.", "id": "GoogleCloudAiplatformV1beta1FunctionDeclaration", "properties": { "description": { diff --git a/DiscoveryJson/gkehub.v1.json b/DiscoveryJson/gkehub.v1.json index c5675c5a5eb..d7f0934bd34 100644 --- a/DiscoveryJson/gkehub.v1.json +++ b/DiscoveryJson/gkehub.v1.json @@ -2111,7 +2111,7 @@ } } }, - "revision": "20241010", + "revision": "20241017", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -2649,7 +2649,8 @@ "description": "Git repo configuration for the cluster." }, "metricsGcpServiceAccountEmail": { - "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.", + "deprecated": true, + "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", "type": "string" }, "oci": { @@ -2867,6 +2868,12 @@ ], "type": "string" }, + "crCount": { + "description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version of the various Pods deployed" @@ -4859,6 +4866,21 @@ "$ref": "Authority", "description": "Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity" }, + "clusterTier": { + "description": "Output only. The tier of the cluster.", + "enum": [ + "CLUSTER_TIER_UNSPECIFIED", + "STANDARD", + "ENTERPRISE" + ], + "enumDescriptions": [ + "The ClusterTier is not set.", + "The ClusterTier is standard.", + "The ClusterTier is enterprise." + ], + "readOnly": true, + "type": "string" + }, "createTime": { "description": "Output only. When the Membership was created.", "format": "google-datetime", diff --git a/DiscoveryJson/gkehub.v1alpha.json b/DiscoveryJson/gkehub.v1alpha.json index fd4bc4cc95c..cec04020171 100644 --- a/DiscoveryJson/gkehub.v1alpha.json +++ b/DiscoveryJson/gkehub.v1alpha.json @@ -2255,7 +2255,7 @@ } } }, - "revision": "20241010", + "revision": "20241017", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2994,7 +2994,8 @@ "description": "Git repo configuration for the cluster." }, "metricsGcpServiceAccountEmail": { - "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.", + "deprecated": true, + "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", "type": "string" }, "oci": { @@ -3212,6 +3213,12 @@ ], "type": "string" }, + "crCount": { + "description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version of the various Pods deployed" @@ -5282,6 +5289,21 @@ "$ref": "Authority", "description": "Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity" }, + "clusterTier": { + "description": "Output only. The tier of the cluster.", + "enum": [ + "CLUSTER_TIER_UNSPECIFIED", + "STANDARD", + "ENTERPRISE" + ], + "enumDescriptions": [ + "The ClusterTier is not set.", + "The ClusterTier is standard.", + "The ClusterTier is enterprise." + ], + "readOnly": true, + "type": "string" + }, "createTime": { "description": "Output only. When the Membership was created.", "format": "google-datetime", diff --git a/DiscoveryJson/gkehub.v1beta.json b/DiscoveryJson/gkehub.v1beta.json index e31d9e83adb..3f3e9f38ca6 100644 --- a/DiscoveryJson/gkehub.v1beta.json +++ b/DiscoveryJson/gkehub.v1beta.json @@ -2111,7 +2111,7 @@ } } }, - "revision": "20241010", + "revision": "20241017", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2734,7 +2734,8 @@ "description": "Git repo configuration for the cluster." }, "metricsGcpServiceAccountEmail": { - "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.", + "deprecated": true, + "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", "type": "string" }, "oci": { @@ -2952,6 +2953,12 @@ ], "type": "string" }, + "crCount": { + "description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version of the various Pods deployed" @@ -4953,6 +4960,21 @@ "$ref": "Authority", "description": "Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity" }, + "clusterTier": { + "description": "Output only. The tier of the cluster.", + "enum": [ + "CLUSTER_TIER_UNSPECIFIED", + "STANDARD", + "ENTERPRISE" + ], + "enumDescriptions": [ + "The ClusterTier is not set.", + "The ClusterTier is standard.", + "The ClusterTier is enterprise." + ], + "readOnly": true, + "type": "string" + }, "createTime": { "description": "Output only. When the Membership was created.", "format": "google-datetime", diff --git a/DiscoveryJson/gkehub.v2.json b/DiscoveryJson/gkehub.v2.json index 351dfe36782..6b5f6b52e3b 100644 --- a/DiscoveryJson/gkehub.v2.json +++ b/DiscoveryJson/gkehub.v2.json @@ -471,7 +471,7 @@ } } }, - "revision": "20241010", + "revision": "20241017", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { @@ -714,7 +714,8 @@ "description": "Git repo configuration for the cluster." }, "metricsGcpServiceAccountEmail": { - "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.", + "deprecated": true, + "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", "type": "string" }, "oci": { @@ -932,6 +933,12 @@ ], "type": "string" }, + "crCount": { + "description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version. of the various Pods deployed" diff --git a/DiscoveryJson/gkehub.v2alpha.json b/DiscoveryJson/gkehub.v2alpha.json index aff242ed286..8293d519f6a 100644 --- a/DiscoveryJson/gkehub.v2alpha.json +++ b/DiscoveryJson/gkehub.v2alpha.json @@ -471,7 +471,7 @@ } } }, - "revision": "20241010", + "revision": "20241017", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { @@ -714,7 +714,8 @@ "description": "Git repo configuration for the cluster." }, "metricsGcpServiceAccountEmail": { - "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.", + "deprecated": true, + "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", "type": "string" }, "oci": { @@ -932,6 +933,12 @@ ], "type": "string" }, + "crCount": { + "description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version. of the various Pods deployed" diff --git a/DiscoveryJson/gkehub.v2beta.json b/DiscoveryJson/gkehub.v2beta.json index 5305b6d487e..ba1997f6118 100644 --- a/DiscoveryJson/gkehub.v2beta.json +++ b/DiscoveryJson/gkehub.v2beta.json @@ -471,7 +471,7 @@ } } }, - "revision": "20241010", + "revision": "20241017", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { @@ -714,7 +714,8 @@ "description": "Git repo configuration for the cluster." }, "metricsGcpServiceAccountEmail": { - "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.", + "deprecated": true, + "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", "type": "string" }, "oci": { @@ -932,6 +933,12 @@ ], "type": "string" }, + "crCount": { + "description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version. of the various Pods deployed" diff --git a/DiscoveryJson/healthcare.v1.json b/DiscoveryJson/healthcare.v1.json index f3fc349bb01..1643d4706aa 100644 --- a/DiscoveryJson/healthcare.v1.json +++ b/DiscoveryJson/healthcare.v1.json @@ -4783,7 +4783,7 @@ } } }, - "revision": "20241009", + "revision": "20241017", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -7185,7 +7185,7 @@ "description": "Optional. Schemas used to parse messages in this store, if schematized parsing is desired." }, "segmentTerminator": { - "description": "Byte(s) to use as the segment terminator. If this is unset, '\\r' is used as segment terminator, matching the HL7 version 2 specification.", + "description": "Optional. Byte(s) to use as the segment terminator. If this is unset, '\\r' is used as segment terminator, matching the HL7 version 2 specification.", "format": "byte", "type": "string" }, diff --git a/DiscoveryJson/logging.v2.json b/DiscoveryJson/logging.v2.json index ab663bc1c22..24a69b42de3 100644 --- a/DiscoveryJson/logging.v2.json +++ b/DiscoveryJson/logging.v2.json @@ -8922,7 +8922,7 @@ } } }, - "revision": "20241010", + "revision": "20241018", "rootUrl": "https://logging.googleapis.com/", "schemas": { "AuditConfig": { @@ -10435,7 +10435,7 @@ "type": "string" }, "resourceNames": { - "description": "Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.", + "description": "Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 5 projects and a maximum of 100 resources in total.", "items": { "type": "string" }, diff --git a/DiscoveryJson/merchantapi.accounts_v1beta.json b/DiscoveryJson/merchantapi.accounts_v1beta.json index 3a7898cffda..50687469b16 100644 --- a/DiscoveryJson/merchantapi.accounts_v1beta.json +++ b/DiscoveryJson/merchantapi.accounts_v1beta.json @@ -265,7 +265,7 @@ "type": "string" }, "updateMask": { - "description": "Required. List of fields being updated.", + "description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_name` - `adult_content` - `language_code` - `time_zone`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -391,7 +391,7 @@ "type": "string" }, "updateMask": { - "description": "Required. List of fields being updated.", + "description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `black_owned` - `latino_owned` - `promotions_consent` - `small_business` - `veteran_owned` - `women_owned`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -454,7 +454,7 @@ "type": "string" }, "updateMask": { - "description": "Required. List of fields being updated.", + "description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `address` - `customer_service` - `korean_business_registration_number`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -517,7 +517,7 @@ "type": "string" }, "updateMask": { - "description": "Required. List of fields being updated.", + "description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `news_and_tips`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -636,7 +636,7 @@ "type": "string" }, "updateMask": { - "description": "Required. List of fields being updated.", + "description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `uri`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1297,7 +1297,7 @@ "type": "string" }, "updateMask": { - "description": "Required. List of fields being updated.", + "description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `access_rights`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1417,7 +1417,7 @@ } } }, - "revision": "20241016", + "revision": "20241023", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Accepted": { @@ -2755,6 +2755,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.conversions_v1beta.json b/DiscoveryJson/merchantapi.conversions_v1beta.json index bec0d8dcd57..be0e9bd848c 100644 --- a/DiscoveryJson/merchantapi.conversions_v1beta.json +++ b/DiscoveryJson/merchantapi.conversions_v1beta.json @@ -245,7 +245,7 @@ "type": "string" }, "updateMask": { - "description": "Required. List of fields being updated.", + "description": "Optional. List of fields being updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -295,7 +295,7 @@ } } }, - "revision": "20241001", + "revision": "20241023", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AttributionSettings": { @@ -593,6 +593,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.datasources_v1beta.json b/DiscoveryJson/merchantapi.datasources_v1beta.json index b8ac0b6e72d..e0f459476bd 100644 --- a/DiscoveryJson/merchantapi.datasources_v1beta.json +++ b/DiscoveryJson/merchantapi.datasources_v1beta.json @@ -321,7 +321,7 @@ } } }, - "revision": "20241016", + "revision": "20241022", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "DataSource": { @@ -857,6 +857,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.inventories_v1beta.json b/DiscoveryJson/merchantapi.inventories_v1beta.json index b39b3a56fab..cd21b293baa 100644 --- a/DiscoveryJson/merchantapi.inventories_v1beta.json +++ b/DiscoveryJson/merchantapi.inventories_v1beta.json @@ -300,7 +300,7 @@ } } }, - "revision": "20240827", + "revision": "20241022", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "CustomAttribute": { @@ -569,6 +569,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.lfp_v1beta.json b/DiscoveryJson/merchantapi.lfp_v1beta.json index 9e01ac8337b..b9129810e42 100644 --- a/DiscoveryJson/merchantapi.lfp_v1beta.json +++ b/DiscoveryJson/merchantapi.lfp_v1beta.json @@ -298,7 +298,7 @@ } } }, - "revision": "20240827", + "revision": "20241023", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Empty": { @@ -643,6 +643,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.notifications_v1beta.json b/DiscoveryJson/merchantapi.notifications_v1beta.json index 05b3e76e3b3..c65ba55ab82 100644 --- a/DiscoveryJson/merchantapi.notifications_v1beta.json +++ b/DiscoveryJson/merchantapi.notifications_v1beta.json @@ -262,7 +262,7 @@ } } }, - "revision": "20240930", + "revision": "20241022", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Empty": { @@ -432,6 +432,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.products_v1beta.json b/DiscoveryJson/merchantapi.products_v1beta.json index 3d6fcd276fa..e5db5340edc 100644 --- a/DiscoveryJson/merchantapi.products_v1beta.json +++ b/DiscoveryJson/merchantapi.products_v1beta.json @@ -242,7 +242,7 @@ } } }, - "revision": "20241015", + "revision": "20241022", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -1441,6 +1441,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.promotions_v1beta.json b/DiscoveryJson/merchantapi.promotions_v1beta.json index 4add03ccd50..b644a88143b 100644 --- a/DiscoveryJson/merchantapi.promotions_v1beta.json +++ b/DiscoveryJson/merchantapi.promotions_v1beta.json @@ -203,7 +203,7 @@ } } }, - "revision": "20241015", + "revision": "20241022", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -871,6 +871,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.quota_v1beta.json b/DiscoveryJson/merchantapi.quota_v1beta.json index d83545854dc..f316bf3a961 100644 --- a/DiscoveryJson/merchantapi.quota_v1beta.json +++ b/DiscoveryJson/merchantapi.quota_v1beta.json @@ -150,7 +150,7 @@ } } }, - "revision": "20240827", + "revision": "20241022", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "ListQuotaGroupsResponse": { @@ -305,6 +305,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.reports_v1beta.json b/DiscoveryJson/merchantapi.reports_v1beta.json index 3f3ca934b51..d8e07770e08 100644 --- a/DiscoveryJson/merchantapi.reports_v1beta.json +++ b/DiscoveryJson/merchantapi.reports_v1beta.json @@ -142,7 +142,7 @@ } } }, - "revision": "20240827", + "revision": "20241022", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "BestSellersBrandView": { @@ -1237,6 +1237,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/merchantapi.reviews_v1beta.json b/DiscoveryJson/merchantapi.reviews_v1beta.json index d3f252b6f61..3d03da605f7 100644 --- a/DiscoveryJson/merchantapi.reviews_v1beta.json +++ b/DiscoveryJson/merchantapi.reviews_v1beta.json @@ -356,7 +356,7 @@ } } }, - "revision": "20241015", + "revision": "20241022", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "CustomAttribute": { @@ -1292,6 +1292,11 @@ }, "type": "array" }, + "expirationTime": { + "description": "The product expiration time.", + "format": "google-datetime", + "type": "string" + }, "managingAccount": { "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", "type": "string" diff --git a/DiscoveryJson/migrationcenter.v1.json b/DiscoveryJson/migrationcenter.v1.json index f2af2ae4423..d69dd2d971a 100644 --- a/DiscoveryJson/migrationcenter.v1.json +++ b/DiscoveryJson/migrationcenter.v1.json @@ -2309,7 +2309,7 @@ } } }, - "revision": "20241001", + "revision": "20241014", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -2863,7 +2863,7 @@ "PERSISTENT_DISK_TYPE_SSD" ], "enumDescriptions": [ - "Unspecified (default value). Selecting this value allows the system to use any disk type according to reported usage. This a good value to start with.", + "Unspecified. Fallback to default value based on context.", "Standard HDD Persistent Disk.", "Balanced Persistent Disk.", "SSD Persistent Disk." @@ -2933,7 +2933,7 @@ "PERSISTENT_DISK_TYPE_SSD" ], "enumDescriptions": [ - "Unspecified (default value). Selecting this value allows the system to use any disk type according to reported usage. This a good value to start with.", + "Unspecified. Fallback to default value based on context.", "Standard HDD Persistent Disk.", "Balanced Persistent Disk.", "SSD Persistent Disk." @@ -5350,7 +5350,7 @@ "PERSISTENT_DISK_TYPE_SSD" ], "enumDescriptions": [ - "Unspecified (default value). Selecting this value allows the system to use any disk type according to reported usage. This a good value to start with.", + "Unspecified. Fallback to default value based on context.", "Standard HDD Persistent Disk.", "Balanced Persistent Disk.", "SSD Persistent Disk." diff --git a/DiscoveryJson/migrationcenter.v1alpha1.json b/DiscoveryJson/migrationcenter.v1alpha1.json index 22bdefc4057..a309dbf695e 100644 --- a/DiscoveryJson/migrationcenter.v1alpha1.json +++ b/DiscoveryJson/migrationcenter.v1alpha1.json @@ -2548,7 +2548,7 @@ } } }, - "revision": "20241001", + "revision": "20241014", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -3647,7 +3647,7 @@ "PERSISTENT_DISK_TYPE_SSD" ], "enumDescriptions": [ - "Unspecified (default value). Selecting this value allows the system to use any disk type according to reported usage. This a good value to start with.", + "Unspecified. Fallback to default value based on context.", "Standard HDD Persistent Disk.", "Balanced Persistent Disk.", "SSD Persistent Disk." @@ -3729,7 +3729,7 @@ "PERSISTENT_DISK_TYPE_SSD" ], "enumDescriptions": [ - "Unspecified (default value). Selecting this value allows the system to use any disk type according to reported usage. This a good value to start with.", + "Unspecified. Fallback to default value based on context.", "Standard HDD Persistent Disk.", "Balanced Persistent Disk.", "SSD Persistent Disk." @@ -4199,7 +4199,7 @@ "PERSISTENT_DISK_TYPE_SSD" ], "enumDescriptions": [ - "Unspecified (default value). Selecting this value allows the system to use any disk type according to reported usage. This a good value to start with.", + "Unspecified. Fallback to default value based on context.", "Standard HDD Persistent Disk.", "Balanced Persistent Disk.", "SSD Persistent Disk." @@ -7469,7 +7469,7 @@ "PERSISTENT_DISK_TYPE_SSD" ], "enumDescriptions": [ - "Unspecified (default value). Selecting this value allows the system to use any disk type according to reported usage. This a good value to start with.", + "Unspecified. Fallback to default value based on context.", "Standard HDD Persistent Disk.", "Balanced Persistent Disk.", "SSD Persistent Disk." diff --git a/DiscoveryJson/netapp.v1.json b/DiscoveryJson/netapp.v1.json index bd0bf4c0412..85d6a116d8e 100644 --- a/DiscoveryJson/netapp.v1.json +++ b/DiscoveryJson/netapp.v1.json @@ -2013,7 +2013,7 @@ } } }, - "revision": "20241002", + "revision": "20241021", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -2147,42 +2147,6 @@ }, "type": "object" }, - "AssetLocation": { - "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", - "id": "AssetLocation", - "properties": { - "ccfeRmsPath": { - "description": "Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata.", - "type": "string" - }, - "expected": { - "$ref": "IsolationExpectations", - "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." - }, - "extraParameters": { - "description": "Defines extra parameters required for specific asset types.", - "items": { - "$ref": "ExtraParameter" - }, - "type": "array" - }, - "locationData": { - "description": "Contains all kinds of physical location definitions for this asset.", - "items": { - "$ref": "LocationData" - }, - "type": "array" - }, - "parentAsset": { - "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "Backup": { "description": "A NetApp Backup.", "id": "Backup", @@ -2420,49 +2384,12 @@ }, "type": "object" }, - "BlobstoreLocation": { - "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", - "id": "BlobstoreLocation", - "properties": { - "policyId": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, - "CloudAsset": { - "id": "CloudAsset", - "properties": { - "assetName": { - "type": "string" - }, - "assetType": { - "type": "string" - } - }, - "type": "object" - }, - "CloudAssetComposition": { - "id": "CloudAssetComposition", - "properties": { - "childAsset": { - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "DailySchedule": { "description": "Make a snapshot every day e.g. at 04:00, 05:20, 23:50", "id": "DailySchedule", @@ -2508,18 +2435,6 @@ }, "type": "object" }, - "DirectLocationAssignment": { - "id": "DirectLocationAssignment", - "properties": { - "location": { - "items": { - "$ref": "LocationAssignment" - }, - "type": "array" - } - }, - "type": "object" - }, "EncryptVolumesRequest": { "description": "EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.", "id": "EncryptVolumesRequest", @@ -2540,17 +2455,6 @@ }, "type": "object" }, - "ExtraParameter": { - "description": "Defines parameters that should only be used for specific asset types.", - "id": "ExtraParameter", - "properties": { - "regionalMigDistributionPolicy": { - "$ref": "RegionalMigDistributionPolicy", - "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." - } - }, - "type": "object" - }, "GoogleProtobufEmpty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "GoogleProtobufEmpty", @@ -2574,131 +2478,6 @@ }, "type": "object" }, - "IsolationExpectations": { - "id": "IsolationExpectations", - "properties": { - "requirementOverride": { - "$ref": "RequirementOverride", - "description": "Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic." - }, - "ziOrgPolicy": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionPolicy": { - "enum": [ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionState": { - "enum": [ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zoneIsolation": { - "deprecated": true, - "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zoneSeparation": { - "deprecated": true, - "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsOrgPolicy": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsRegionState": { - "enum": [ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking of the asset ZS-bit is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "KmsConfig": { "description": "KmsConfig is the customer managed encryption key(CMEK) configuration.", "id": "KmsConfig", @@ -3074,64 +2853,6 @@ }, "type": "object" }, - "LocationAssignment": { - "id": "LocationAssignment", - "properties": { - "location": { - "type": "string" - }, - "locationType": { - "enum": [ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER" - ], - "enumDescriptions": [ - "", - "1-10: Physical failure domains.", - "", - "11-20: Logical failure domains.", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "LocationData": { - "id": "LocationData", - "properties": { - "blobstoreLocation": { - "$ref": "BlobstoreLocation" - }, - "childAssetLocation": { - "$ref": "CloudAssetComposition" - }, - "directLocation": { - "$ref": "DirectLocationAssignment" - }, - "gcpProjectProxy": { - "$ref": "TenantProjectProxy" - }, - "placerLocation": { - "$ref": "PlacerLocation" - }, - "spannerLocation": { - "$ref": "SpannerLocation" - } - }, - "type": "object" - }, "LocationMetadata": { "description": "Metadata for a given google.cloud.location.Location.", "id": "LocationMetadata", @@ -3301,36 +3022,6 @@ }, "type": "object" }, - "PlacerLocation": { - "description": "Message describing that the location of the customer resource is tied to placer allocations", - "id": "PlacerLocation", - "properties": { - "placerConfig": { - "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", - "type": "string" - } - }, - "type": "object" - }, - "RegionalMigDistributionPolicy": { - "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", - "id": "RegionalMigDistributionPolicy", - "properties": { - "targetShape": { - "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", - "format": "int32", - "type": "integer" - }, - "zones": { - "description": "Cloud zones used by regional MIG to create instances.", - "items": { - "$ref": "ZoneConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, "Replication": { "description": "Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.", "id": "Replication", @@ -3459,44 +3150,6 @@ }, "type": "object" }, - "RequirementOverride": { - "id": "RequirementOverride", - "properties": { - "ziOverride": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zsOverride": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "RestoreParameters": { "description": "The RestoreParameters if volume is created from a snapshot or backup.", "id": "RestoreParameters", @@ -3687,26 +3340,6 @@ }, "type": "object" }, - "SpannerLocation": { - "id": "SpannerLocation", - "properties": { - "backupName": { - "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", - "items": { - "type": "string" - }, - "type": "array" - }, - "dbName": { - "description": "Set of databases used by the resource in format /span//", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "Status": { "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "id": "Status", @@ -3896,18 +3529,6 @@ "properties": {}, "type": "object" }, - "TenantProjectProxy": { - "id": "TenantProjectProxy", - "properties": { - "projectNumbers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "TieringPolicy": { "description": "Defines tiering policy for the volume.", "id": "TieringPolicy", @@ -4322,15 +3943,6 @@ } }, "type": "object" - }, - "ZoneConfiguration": { - "id": "ZoneConfiguration", - "properties": { - "zone": { - "type": "string" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/netapp.v1beta1.json b/DiscoveryJson/netapp.v1beta1.json index 1a048b1b959..becf395afae 100644 --- a/DiscoveryJson/netapp.v1beta1.json +++ b/DiscoveryJson/netapp.v1beta1.json @@ -2013,7 +2013,7 @@ } } }, - "revision": "20241002", + "revision": "20241021", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -2147,42 +2147,6 @@ }, "type": "object" }, - "AssetLocation": { - "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", - "id": "AssetLocation", - "properties": { - "ccfeRmsPath": { - "description": "Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata.", - "type": "string" - }, - "expected": { - "$ref": "IsolationExpectations", - "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." - }, - "extraParameters": { - "description": "Defines extra parameters required for specific asset types.", - "items": { - "$ref": "ExtraParameter" - }, - "type": "array" - }, - "locationData": { - "description": "Contains all kinds of physical location definitions for this asset.", - "items": { - "$ref": "LocationData" - }, - "type": "array" - }, - "parentAsset": { - "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "Backup": { "description": "A NetApp Backup.", "id": "Backup", @@ -2420,49 +2384,12 @@ }, "type": "object" }, - "BlobstoreLocation": { - "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", - "id": "BlobstoreLocation", - "properties": { - "policyId": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, - "CloudAsset": { - "id": "CloudAsset", - "properties": { - "assetName": { - "type": "string" - }, - "assetType": { - "type": "string" - } - }, - "type": "object" - }, - "CloudAssetComposition": { - "id": "CloudAssetComposition", - "properties": { - "childAsset": { - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "DailySchedule": { "description": "Make a snapshot every day e.g. at 04:00, 05:20, 23:50", "id": "DailySchedule", @@ -2508,18 +2435,6 @@ }, "type": "object" }, - "DirectLocationAssignment": { - "id": "DirectLocationAssignment", - "properties": { - "location": { - "items": { - "$ref": "LocationAssignment" - }, - "type": "array" - } - }, - "type": "object" - }, "EncryptVolumesRequest": { "description": "EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.", "id": "EncryptVolumesRequest", @@ -2540,17 +2455,6 @@ }, "type": "object" }, - "ExtraParameter": { - "description": "Defines parameters that should only be used for specific asset types.", - "id": "ExtraParameter", - "properties": { - "regionalMigDistributionPolicy": { - "$ref": "RegionalMigDistributionPolicy", - "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." - } - }, - "type": "object" - }, "GoogleProtobufEmpty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "GoogleProtobufEmpty", @@ -2574,131 +2478,6 @@ }, "type": "object" }, - "IsolationExpectations": { - "id": "IsolationExpectations", - "properties": { - "requirementOverride": { - "$ref": "RequirementOverride", - "description": "Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic." - }, - "ziOrgPolicy": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionPolicy": { - "enum": [ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionState": { - "enum": [ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zoneIsolation": { - "deprecated": true, - "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zoneSeparation": { - "deprecated": true, - "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsOrgPolicy": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsRegionState": { - "enum": [ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking of the asset ZS-bit is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "KmsConfig": { "description": "KmsConfig is the customer managed encryption key(CMEK) configuration.", "id": "KmsConfig", @@ -3074,64 +2853,6 @@ }, "type": "object" }, - "LocationAssignment": { - "id": "LocationAssignment", - "properties": { - "location": { - "type": "string" - }, - "locationType": { - "enum": [ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER" - ], - "enumDescriptions": [ - "", - "1-10: Physical failure domains.", - "", - "11-20: Logical failure domains.", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "LocationData": { - "id": "LocationData", - "properties": { - "blobstoreLocation": { - "$ref": "BlobstoreLocation" - }, - "childAssetLocation": { - "$ref": "CloudAssetComposition" - }, - "directLocation": { - "$ref": "DirectLocationAssignment" - }, - "gcpProjectProxy": { - "$ref": "TenantProjectProxy" - }, - "placerLocation": { - "$ref": "PlacerLocation" - }, - "spannerLocation": { - "$ref": "SpannerLocation" - } - }, - "type": "object" - }, "LocationMetadata": { "description": "Metadata for a given google.cloud.location.Location.", "id": "LocationMetadata", @@ -3301,36 +3022,6 @@ }, "type": "object" }, - "PlacerLocation": { - "description": "Message describing that the location of the customer resource is tied to placer allocations", - "id": "PlacerLocation", - "properties": { - "placerConfig": { - "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", - "type": "string" - } - }, - "type": "object" - }, - "RegionalMigDistributionPolicy": { - "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", - "id": "RegionalMigDistributionPolicy", - "properties": { - "targetShape": { - "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", - "format": "int32", - "type": "integer" - }, - "zones": { - "description": "Cloud zones used by regional MIG to create instances.", - "items": { - "$ref": "ZoneConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, "Replication": { "description": "Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.", "id": "Replication", @@ -3459,44 +3150,6 @@ }, "type": "object" }, - "RequirementOverride": { - "id": "RequirementOverride", - "properties": { - "ziOverride": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zsOverride": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "RestoreParameters": { "description": "The RestoreParameters if volume is created from a snapshot or backup.", "id": "RestoreParameters", @@ -3687,26 +3340,6 @@ }, "type": "object" }, - "SpannerLocation": { - "id": "SpannerLocation", - "properties": { - "backupName": { - "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", - "items": { - "type": "string" - }, - "type": "array" - }, - "dbName": { - "description": "Set of databases used by the resource in format /span//", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "Status": { "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "id": "Status", @@ -3896,18 +3529,6 @@ "properties": {}, "type": "object" }, - "TenantProjectProxy": { - "id": "TenantProjectProxy", - "properties": { - "projectNumbers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "TieringPolicy": { "description": "Defines tiering policy for the volume.", "id": "TieringPolicy", @@ -4322,15 +3943,6 @@ } }, "type": "object" - }, - "ZoneConfiguration": { - "id": "ZoneConfiguration", - "properties": { - "zone": { - "type": "string" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/networkmanagement.v1.json b/DiscoveryJson/networkmanagement.v1.json index 58c7b888a63..8e09ea48175 100644 --- a/DiscoveryJson/networkmanagement.v1.json +++ b/DiscoveryJson/networkmanagement.v1.json @@ -591,7 +591,7 @@ } } }, - "revision": "20241009", + "revision": "20241016", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -616,6 +616,7 @@ "PERMISSION_DENIED", "PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS", "PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS", + "PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS", "NO_SOURCE_LOCATION", "INVALID_ARGUMENT", "TRACE_TOO_LONG", @@ -672,6 +673,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -690,6 +692,7 @@ "Aborted because user lacks permission to access all or part of the network configurations required to run the test.", "Aborted because user lacks permission to access Cloud NAT configs required to run the test.", "Aborted because user lacks permission to access Network endpoint group endpoint configs required to run the test.", + "Aborted because user lacks permission to access Cloud Router configs required to run the test.", "Aborted because no valid source or destination endpoint is derived from the input test request.", "Aborted because the source or destination endpoint specified in the request is invalid. Some examples: - The request might contain malformed resource URI, project ID, or IP address. - The request might contain inconsistent information (for example, the request might include both the instance and the network, but the instance might not have a NIC in that network).", "Aborted because the number of steps in the trace exceeds a certain limit. It might be caused by a routing loop.", diff --git a/DiscoveryJson/networkmanagement.v1beta1.json b/DiscoveryJson/networkmanagement.v1beta1.json index fde33ae4273..169c22dd0ab 100644 --- a/DiscoveryJson/networkmanagement.v1beta1.json +++ b/DiscoveryJson/networkmanagement.v1beta1.json @@ -758,7 +758,7 @@ } } }, - "revision": "20241009", + "revision": "20241016", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -783,6 +783,7 @@ "PERMISSION_DENIED", "PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS", "PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS", + "PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS", "NO_SOURCE_LOCATION", "INVALID_ARGUMENT", "TRACE_TOO_LONG", @@ -839,6 +840,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -857,6 +859,7 @@ "Aborted because user lacks permission to access all or part of the network configurations required to run the test.", "Aborted because user lacks permission to access Cloud NAT configs required to run the test.", "Aborted because user lacks permission to access Network endpoint group endpoint configs required to run the test.", + "Aborted because user lacks permission to access Cloud Router configs required to run the test.", "Aborted because no valid source or destination endpoint is derived from the input test request.", "Aborted because the source or destination endpoint specified in the request is invalid. Some examples: - The request might contain malformed resource URI, project ID, or IP address. - The request might contain inconsistent information (for example, the request might include both the instance and the network, but the instance might not have a NIC in that network).", "Aborted because the number of steps in the trace exceeds a certain limit. It might be caused by a routing loop.", @@ -1066,11 +1069,6 @@ "description": "Location in which this revision is deployed.", "type": "string" }, - "serviceName": { - "deprecated": true, - "description": "ID of Cloud Run Service this revision belongs to. Was never set, is not exported to v1 proto and public protos. Do not export to v1beta1 public proto.", - "type": "string" - }, "serviceUri": { "description": "URI of Cloud Run service this revision belongs to.", "type": "string" @@ -3334,6 +3332,21 @@ ], "type": "string" }, + "targetResourceState": { + "description": "Output only. A diagnostic bit - describes the state of the configured target resource for diagnostic purposes.", + "enum": [ + "TARGET_RESOURCE_STATE_UNSPECIFIED", + "TARGET_RESOURCE_EXISTS", + "TARGET_RESOURCE_DOES_NOT_EXIST" + ], + "enumDescriptions": [ + "Unspecified target resource state.", + "Indicates that the target resource exists.", + "Indicates that the target resource does not exist." + ], + "readOnly": true, + "type": "string" + }, "updateTime": { "description": "Output only. The time the config was updated.", "format": "google-datetime", diff --git a/DiscoveryJson/networkservices.v1.json b/DiscoveryJson/networkservices.v1.json index 25fc81dd412..f7d165c71fd 100644 --- a/DiscoveryJson/networkservices.v1.json +++ b/DiscoveryJson/networkservices.v1.json @@ -1976,7 +1976,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.", + "description": "Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/serviceLbPolicies/[^/]+$", "required": true, @@ -2315,13 +2315,310 @@ ] } } + }, + "wasmPlugins": { + "methods": { + "create": { + "description": "Creates a new `WasmPlugin` resource in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins", + "httpMethod": "POST", + "id": "networkservices.projects.locations.wasmPlugins.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the `WasmPlugin` resource. Must be in the format `projects/{project}/locations/global`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "wasmPluginId": { + "description": "Required. User-provided ID of the `WasmPlugin` resource to be created.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/wasmPlugins", + "request": { + "$ref": "WasmPlugin" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specified `WasmPlugin` resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}", + "httpMethod": "DELETE", + "id": "networkservices.projects.locations.wasmPlugins.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the `WasmPlugin` resource to delete. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of the specified `WasmPlugin` resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}", + "httpMethod": "GET", + "id": "networkservices.projects.locations.wasmPlugins.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the `WasmPlugin` resource to get. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Determine how much data should be returned by the API. See [AIP-157](https://google.aip.dev/157).", + "enum": [ + "WASM_PLUGIN_VIEW_UNSPECIFIED", + "WASM_PLUGIN_VIEW_BASIC", + "WASM_PLUGIN_VIEW_FULL" + ], + "enumDescriptions": [ + "The default / unset value. The API will default to the BASIC view.", + "Include just WasmPlugin record.", + "Include WasmPlugin record and all its WasmPluginVersions." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "WasmPlugin" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists `WasmPlugin` resources in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins", + "httpMethod": "GET", + "id": "networkservices.projects.locations.wasmPlugins.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of `WasmPlugin` resources to return per call. If not specified, at most 50 `WasmPlugin`s are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListWasmPluginsResponse` call. Indicates that this is a continuation of a prior `ListWasmPlugins` call, and that the next page of data is to be returned.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location from which the `WasmPlugin` resources are listed, specified in the following format: `projects/{project}/locations/global`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/wasmPlugins", + "response": { + "$ref": "ListWasmPluginsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of the specified `WasmPlugin` resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}", + "httpMethod": "PATCH", + "id": "networkservices.projects.locations.wasmPlugins.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Used to specify the fields to be overwritten in the `WasmPlugin` resource by the update. The fields specified in the `update_mask` field are relative to the resource, not the full request. An omitted `update_mask` field is treated as an implied `update_mask` field equivalent to all fields that are populated (that have a non-empty value). The `update_mask` field supports a special value `*`, which means that each field in the given `WasmPlugin` resource (including the empty ones) replaces the current value.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "WasmPlugin" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "versions": { + "methods": { + "create": { + "description": "Creates a new `WasmPluginVersion` resource in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}/versions", + "httpMethod": "POST", + "id": "networkservices.projects.locations.wasmPlugins.versions.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + }, + "wasmPluginVersionId": { + "description": "Required. User-provided ID of the `WasmPluginVersion` resource to be created.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/versions", + "request": { + "$ref": "WasmPluginVersion" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specified `WasmPluginVersion` resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}/versions/{versionsId}", + "httpMethod": "DELETE", + "id": "networkservices.projects.locations.wasmPlugins.versions.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the `WasmPluginVersion` resource to delete. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of the specified `WasmPluginVersion` resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}/versions/{versionsId}", + "httpMethod": "GET", + "id": "networkservices.projects.locations.wasmPlugins.versions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the `WasmPluginVersion` resource to get. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "WasmPluginVersion" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists `WasmPluginVersion` resources in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}/versions", + "httpMethod": "GET", + "id": "networkservices.projects.locations.wasmPlugins.versions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of `WasmPluginVersion` resources to return per call. If not specified, at most 50 `WasmPluginVersion`s are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListWasmPluginVersionsResponse` call. Indicates that this is a continuation of a prior `ListWasmPluginVersions` call, and that the next page of data is to be returned.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the following format: `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/versions", + "response": { + "$ref": "ListWasmPluginVersionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } } } } } } }, - "revision": "20240919", + "revision": "20241010", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -2578,7 +2875,7 @@ "id": "ExtensionChainExtension", "properties": { "authority": { - "description": "Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions.", + "description": "Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions and must not be set.", "type": "string" }, "failOpen": { @@ -2592,12 +2889,20 @@ }, "type": "array" }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions and must not be set.", + "type": "object" + }, "name": { "description": "Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.", "type": "string" }, "service": { - "description": "Required. The reference to the service that runs the extension. Currently only callout extensions are supported here. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`.", + "description": "Required. The reference to the service that runs the extension. Currently only callout extensions are supported here. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, this must be a reference to a [wasm plugin](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`.", "type": "string" }, "supportedEvents": { @@ -2626,7 +2931,7 @@ "type": "array" }, "timeout": { - "description": "Optional. Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds. Required for Callout extensions.", + "description": "Optional. Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds. Required for callout extensions. This field is not supported for plugin extensions and must not be set.", "format": "google-duration", "type": "string" } @@ -3690,7 +3995,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name.", + "description": "Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions and must not be set.", "type": "object" }, "name": { @@ -3760,7 +4065,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name.", + "description": "Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions and must not be set.", "type": "object" }, "name": { @@ -4031,6 +4336,42 @@ }, "type": "object" }, + "ListWasmPluginVersionsResponse": { + "description": "Response returned by the `ListWasmPluginVersions` method.", + "id": "ListWasmPluginVersionsResponse", + "properties": { + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", + "type": "string" + }, + "wasmPluginVersions": { + "description": "List of `WasmPluginVersion` resources.", + "items": { + "$ref": "WasmPluginVersion" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListWasmPluginsResponse": { + "description": "Response returned by the `ListWasmPlugins` method.", + "id": "ListWasmPluginsResponse", + "properties": { + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", + "type": "string" + }, + "wasmPlugins": { + "description": "List of `WasmPlugin` resources.", + "items": { + "$ref": "WasmPlugin" + }, + "type": "array" + } + }, + "type": "object" + }, "Location": { "description": "A resource that represents a Google Cloud location.", "id": "Location", @@ -4369,7 +4710,7 @@ "type": "string" }, "name": { - "description": "Required. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.", + "description": "Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.", "type": "string" }, "updateTime": { @@ -4754,6 +5095,223 @@ } }, "type": "object" + }, + "WasmPlugin": { + "description": "`WasmPlugin` is a resource representing a service executing a customer-provided Wasm module.", + "id": "WasmPlugin", + "properties": { + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. A human-readable description of the resource.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).", + "type": "object" + }, + "logConfig": { + "$ref": "WasmPluginLogConfig", + "description": "Optional. Specifies the logging options for the activity performed by this `WasmPlugin`. If logging is enabled, plugin logs are exported to Cloud Logging. Note that the settings relate to the logs generated by using logging statements in your Wasm code." + }, + "mainVersionId": { + "description": "Optional. The ID of the `WasmPluginVersion` resource that is the currently serving one. The version referred to must be a child of this `WasmPlugin` resource.", + "type": "string" + }, + "name": { + "description": "Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "usedBy": { + "description": "Output only. List of all [Service Extensions](https://cloud.google.com/service-extensions/docs/overview) that use this `WasmPlugin`.", + "items": { + "$ref": "WasmPluginUsedBy" + }, + "readOnly": true, + "type": "array" + }, + "versions": { + "additionalProperties": { + "$ref": "WasmPluginVersionDetails" + }, + "description": "Optional. All versions of this `WasmPlugin` in the key-value format. The key is the resource ID, the value is the `VersionDetails`. Allows to create or update `WasmPlugin` and its WasmPluginVersions in a single request. When the `main_version_id` field is not empty it must point to one of the VersionDetails in the map. If provided in the update request, the new versions replace the previous set. Any version omitted from the `versions` will be removed. Since the `WasmPluginVersion` resource is immutable, if the WasmPluginVersion with the same name already exists and differs the Update request will fail. Note: In the GET request, this field is populated only if the GetWasmPluginRequest.view is set to WASM_PLUGIN_VIEW_FULL.", + "type": "object" + } + }, + "type": "object" + }, + "WasmPluginLogConfig": { + "description": "Specifies the logging options for the activity performed by this `WasmPlugin`. If logging is enabled, plugin logs are exported to Cloud Logging.", + "id": "WasmPluginLogConfig", + "properties": { + "enable": { + "description": "Optional. Specifies whether to enable logging for activity by this `WasmPlugin`. Defaults to `false`.", + "type": "boolean" + }, + "minLogLevel": { + "description": "Non-empty default. Specificies the lowest level of the plugin logs that are exported to Cloud Logging. This setting relates to the logs generated by using logging statements in your Wasm code. This field is can be set only if logging is enabled for the `WasmPlugin` resource. If the field is not provided when logging is enabled, it is set to `INFO` by default.", + "enum": [ + "LOG_LEVEL_UNSPECIFIED", + "TRACE", + "DEBUG", + "INFO", + "WARN", + "ERROR", + "CRITICAL" + ], + "enumDescriptions": [ + "Unspecified value.", + "Report logs with TRACE level and above.", + "Report logs with DEBUG level and above.", + "Report logs with INFO level and above.", + "Report logs with WARN level and above.", + "Report logs with ERROR level and above.", + "Report logs with CRITICAL level only." + ], + "type": "string" + }, + "sampleRate": { + "description": "Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value of the field must be between `0` and `1` (inclusive). This field can only be specified if logging is enabled for this `WasmPlugin`.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "WasmPluginUsedBy": { + "description": "Defines a resource that uses the `WasmPlugin`.", + "id": "WasmPluginUsedBy", + "properties": { + "name": { + "description": "Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. `//networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}`", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "WasmPluginVersion": { + "description": "A single immutable version of a `WasmPlugin`. Defines the Wasm module used and optionally its runtime config.", + "id": "WasmPluginVersion", + "properties": { + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. A human-readable description of the resource.", + "type": "string" + }, + "imageDigest": { + "description": "Output only. The resolved digest for the image specified in `image`. The digest is resolved during the creation of `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or digest was originally specified in the `image` field.", + "readOnly": true, + "type": "string" + }, + "imageUri": { + "description": "Optional. URI of the container image containing the Wasm plugin, stored in the Artifact Registry. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `image_digest` field. When downloading an image, the digest value is used instead of an image tag.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Set of labels associated with the `WasmPluginVersion` resource.", + "type": "object" + }, + "name": { + "description": "Identifier. Name of the `WasmPluginVersion` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/ versions/{wasm_plugin_version}`.", + "type": "string" + }, + "pluginConfigData": { + "description": "Configuration for the Wasm plugin. The configuration is provided to the Wasm plugin at runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion` resource is created, the digest of the contents is saved in the `plugin_config_digest` field.", + "format": "byte", + "type": "string" + }, + "pluginConfigDigest": { + "description": "Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is calculated based on the contents of the `plugin_config_data` or the container image defined by the `plugin_config_uri` field.", + "readOnly": true, + "type": "string" + }, + "pluginConfigUri": { + "description": "URI of the Wasm plugin configuration stored in the Artifact Registry. The configuration is provided to the plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `plugin_config_digest` field.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "WasmPluginVersionDetails": { + "description": "Details of a `WasmPluginVersion` resource to be inlined in the `WasmPlugin` resource.", + "id": "WasmPluginVersionDetails", + "properties": { + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. A human-readable description of the resource.", + "type": "string" + }, + "imageDigest": { + "description": "Output only. The resolved digest for the image specified in `image`. The digest is resolved during the creation of a `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or digest was originally specified in the `image` field.", + "readOnly": true, + "type": "string" + }, + "imageUri": { + "description": "Optional. URI of the container image containing the Wasm module, stored in the Artifact Registry. The container image must contain only a single file with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the URI gets resolved to an image digest and saved in the `image_digest` field.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Set of labels associated with the `WasmPluginVersion` resource.", + "type": "object" + }, + "pluginConfigData": { + "description": "Configuration for the Wasm plugin. The configuration is provided to the Wasm plugin at runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion` version is created, the digest of the contents is saved in the `plugin_config_digest` field.", + "format": "byte", + "type": "string" + }, + "pluginConfigDigest": { + "description": "Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is calculated based on the contents of the `plugin_config_data` or the container image defined by the `plugin_config_uri` field.", + "readOnly": true, + "type": "string" + }, + "pluginConfigUri": { + "description": "URI of the WasmPlugin configuration stored in the Artifact Registry. The configuration is provided to the Wasm plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `plugin_config_digest` field.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/networkservices.v1beta1.json b/DiscoveryJson/networkservices.v1beta1.json index 1937c7dee72..55cd5e575c6 100644 --- a/DiscoveryJson/networkservices.v1beta1.json +++ b/DiscoveryJson/networkservices.v1beta1.json @@ -1885,7 +1885,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.", + "description": "Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/serviceLbPolicies/[^/]+$", "required": true, @@ -2224,13 +2224,310 @@ ] } } + }, + "wasmPlugins": { + "methods": { + "create": { + "description": "Creates a new `WasmPlugin` resource in a given project and location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins", + "httpMethod": "POST", + "id": "networkservices.projects.locations.wasmPlugins.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the `WasmPlugin` resource. Must be in the format `projects/{project}/locations/global`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "wasmPluginId": { + "description": "Required. User-provided ID of the `WasmPlugin` resource to be created.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+parent}/wasmPlugins", + "request": { + "$ref": "WasmPlugin" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specified `WasmPlugin` resource.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}", + "httpMethod": "DELETE", + "id": "networkservices.projects.locations.wasmPlugins.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the `WasmPlugin` resource to delete. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of the specified `WasmPlugin` resource.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}", + "httpMethod": "GET", + "id": "networkservices.projects.locations.wasmPlugins.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the `WasmPlugin` resource to get. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Determine how much data should be returned by the API. See [AIP-157](https://google.aip.dev/157).", + "enum": [ + "WASM_PLUGIN_VIEW_UNSPECIFIED", + "WASM_PLUGIN_VIEW_BASIC", + "WASM_PLUGIN_VIEW_FULL" + ], + "enumDescriptions": [ + "The default / unset value. The API will default to the BASIC view.", + "Include just WasmPlugin record.", + "Include WasmPlugin record and all its WasmPluginVersions." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "WasmPlugin" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists `WasmPlugin` resources in a given project and location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins", + "httpMethod": "GET", + "id": "networkservices.projects.locations.wasmPlugins.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of `WasmPlugin` resources to return per call. If not specified, at most 50 `WasmPlugin`s are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListWasmPluginsResponse` call. Indicates that this is a continuation of a prior `ListWasmPlugins` call, and that the next page of data is to be returned.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location from which the `WasmPlugin` resources are listed, specified in the following format: `projects/{project}/locations/global`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/wasmPlugins", + "response": { + "$ref": "ListWasmPluginsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of the specified `WasmPlugin` resource.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}", + "httpMethod": "PATCH", + "id": "networkservices.projects.locations.wasmPlugins.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Used to specify the fields to be overwritten in the `WasmPlugin` resource by the update. The fields specified in the `update_mask` field are relative to the resource, not the full request. An omitted `update_mask` field is treated as an implied `update_mask` field equivalent to all fields that are populated (that have a non-empty value). The `update_mask` field supports a special value `*`, which means that each field in the given `WasmPlugin` resource (including the empty ones) replaces the current value.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "request": { + "$ref": "WasmPlugin" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "versions": { + "methods": { + "create": { + "description": "Creates a new `WasmPluginVersion` resource in a given project and location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}/versions", + "httpMethod": "POST", + "id": "networkservices.projects.locations.wasmPlugins.versions.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + }, + "wasmPluginVersionId": { + "description": "Required. User-provided ID of the `WasmPluginVersion` resource to be created.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+parent}/versions", + "request": { + "$ref": "WasmPluginVersion" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specified `WasmPluginVersion` resource.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}/versions/{versionsId}", + "httpMethod": "DELETE", + "id": "networkservices.projects.locations.wasmPlugins.versions.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the `WasmPluginVersion` resource to delete. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of the specified `WasmPluginVersion` resource.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}/versions/{versionsId}", + "httpMethod": "GET", + "id": "networkservices.projects.locations.wasmPlugins.versions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the `WasmPluginVersion` resource to get. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "WasmPluginVersion" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists `WasmPluginVersion` resources in a given project and location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/wasmPlugins/{wasmPluginsId}/versions", + "httpMethod": "GET", + "id": "networkservices.projects.locations.wasmPlugins.versions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of `WasmPluginVersion` resources to return per call. If not specified, at most 50 `WasmPluginVersion`s are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListWasmPluginVersionsResponse` call. Indicates that this is a continuation of a prior `ListWasmPluginVersions` call, and that the next page of data is to be returned.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the following format: `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/versions", + "response": { + "$ref": "ListWasmPluginVersionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } } } } } } }, - "revision": "20240919", + "revision": "20241010", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuthzExtension": { @@ -2443,7 +2740,7 @@ "id": "ExtensionChainExtension", "properties": { "authority": { - "description": "Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions.", + "description": "Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions and must not be set.", "type": "string" }, "failOpen": { @@ -2457,12 +2754,20 @@ }, "type": "array" }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions and must not be set.", + "type": "object" + }, "name": { "description": "Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.", "type": "string" }, "service": { - "description": "Required. The reference to the service that runs the extension. Currently only callout extensions are supported here. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`.", + "description": "Required. The reference to the service that runs the extension. Currently only callout extensions are supported here. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, this must be a reference to a [wasm plugin](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`.", "type": "string" }, "supportedEvents": { @@ -2491,7 +2796,7 @@ "type": "array" }, "timeout": { - "description": "Optional. Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds. Required for Callout extensions.", + "description": "Optional. Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds. Required for callout extensions. This field is not supported for plugin extensions and must not be set.", "format": "google-duration", "type": "string" } @@ -3555,7 +3860,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name.", + "description": "Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions and must not be set.", "type": "object" }, "name": { @@ -3625,7 +3930,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name.", + "description": "Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions and must not be set.", "type": "object" }, "name": { @@ -3921,6 +4226,42 @@ }, "type": "object" }, + "ListWasmPluginVersionsResponse": { + "description": "Response returned by the `ListWasmPluginVersions` method.", + "id": "ListWasmPluginVersionsResponse", + "properties": { + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", + "type": "string" + }, + "wasmPluginVersions": { + "description": "List of `WasmPluginVersion` resources.", + "items": { + "$ref": "WasmPluginVersion" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListWasmPluginsResponse": { + "description": "Response returned by the `ListWasmPlugins` method.", + "id": "ListWasmPluginsResponse", + "properties": { + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", + "type": "string" + }, + "wasmPlugins": { + "description": "List of `WasmPlugin` resources.", + "items": { + "$ref": "WasmPlugin" + }, + "type": "array" + } + }, + "type": "object" + }, "Location": { "description": "A resource that represents a Google Cloud location.", "id": "Location", @@ -4271,7 +4612,7 @@ "type": "string" }, "name": { - "description": "Required. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.", + "description": "Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.", "type": "string" }, "updateTime": { @@ -4612,6 +4953,223 @@ } }, "type": "object" + }, + "WasmPlugin": { + "description": "`WasmPlugin` is a resource representing a service executing a customer-provided Wasm module.", + "id": "WasmPlugin", + "properties": { + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. A human-readable description of the resource.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).", + "type": "object" + }, + "logConfig": { + "$ref": "WasmPluginLogConfig", + "description": "Optional. Specifies the logging options for the activity performed by this `WasmPlugin`. If logging is enabled, plugin logs are exported to Cloud Logging. Note that the settings relate to the logs generated by using logging statements in your Wasm code." + }, + "mainVersionId": { + "description": "Optional. The ID of the `WasmPluginVersion` resource that is the currently serving one. The version referred to must be a child of this `WasmPlugin` resource.", + "type": "string" + }, + "name": { + "description": "Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "usedBy": { + "description": "Output only. List of all [Service Extensions](https://cloud.google.com/service-extensions/docs/overview) that use this `WasmPlugin`.", + "items": { + "$ref": "WasmPluginUsedBy" + }, + "readOnly": true, + "type": "array" + }, + "versions": { + "additionalProperties": { + "$ref": "WasmPluginVersionDetails" + }, + "description": "Optional. All versions of this `WasmPlugin` in the key-value format. The key is the resource ID, the value is the `VersionDetails`. Allows to create or update `WasmPlugin` and its WasmPluginVersions in a single request. When the `main_version_id` field is not empty it must point to one of the VersionDetails in the map. If provided in the update request, the new versions replace the previous set. Any version omitted from the `versions` will be removed. Since the `WasmPluginVersion` resource is immutable, if the WasmPluginVersion with the same name already exists and differs the Update request will fail. Note: In the GET request, this field is populated only if the GetWasmPluginRequest.view is set to WASM_PLUGIN_VIEW_FULL.", + "type": "object" + } + }, + "type": "object" + }, + "WasmPluginLogConfig": { + "description": "Specifies the logging options for the activity performed by this `WasmPlugin`. If logging is enabled, plugin logs are exported to Cloud Logging.", + "id": "WasmPluginLogConfig", + "properties": { + "enable": { + "description": "Optional. Specifies whether to enable logging for activity by this `WasmPlugin`. Defaults to `false`.", + "type": "boolean" + }, + "minLogLevel": { + "description": "Non-empty default. Specificies the lowest level of the plugin logs that are exported to Cloud Logging. This setting relates to the logs generated by using logging statements in your Wasm code. This field is can be set only if logging is enabled for the `WasmPlugin` resource. If the field is not provided when logging is enabled, it is set to `INFO` by default.", + "enum": [ + "LOG_LEVEL_UNSPECIFIED", + "TRACE", + "DEBUG", + "INFO", + "WARN", + "ERROR", + "CRITICAL" + ], + "enumDescriptions": [ + "Unspecified value.", + "Report logs with TRACE level and above.", + "Report logs with DEBUG level and above.", + "Report logs with INFO level and above.", + "Report logs with WARN level and above.", + "Report logs with ERROR level and above.", + "Report logs with CRITICAL level only." + ], + "type": "string" + }, + "sampleRate": { + "description": "Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value of the field must be between `0` and `1` (inclusive). This field can only be specified if logging is enabled for this `WasmPlugin`.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "WasmPluginUsedBy": { + "description": "Defines a resource that uses the `WasmPlugin`.", + "id": "WasmPluginUsedBy", + "properties": { + "name": { + "description": "Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. `//networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}`", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "WasmPluginVersion": { + "description": "A single immutable version of a `WasmPlugin`. Defines the Wasm module used and optionally its runtime config.", + "id": "WasmPluginVersion", + "properties": { + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. A human-readable description of the resource.", + "type": "string" + }, + "imageDigest": { + "description": "Output only. The resolved digest for the image specified in `image`. The digest is resolved during the creation of `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or digest was originally specified in the `image` field.", + "readOnly": true, + "type": "string" + }, + "imageUri": { + "description": "Optional. URI of the container image containing the Wasm plugin, stored in the Artifact Registry. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `image_digest` field. When downloading an image, the digest value is used instead of an image tag.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Set of labels associated with the `WasmPluginVersion` resource.", + "type": "object" + }, + "name": { + "description": "Identifier. Name of the `WasmPluginVersion` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/ versions/{wasm_plugin_version}`.", + "type": "string" + }, + "pluginConfigData": { + "description": "Configuration for the Wasm plugin. The configuration is provided to the Wasm plugin at runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion` resource is created, the digest of the contents is saved in the `plugin_config_digest` field.", + "format": "byte", + "type": "string" + }, + "pluginConfigDigest": { + "description": "Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is calculated based on the contents of the `plugin_config_data` or the container image defined by the `plugin_config_uri` field.", + "readOnly": true, + "type": "string" + }, + "pluginConfigUri": { + "description": "URI of the Wasm plugin configuration stored in the Artifact Registry. The configuration is provided to the plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `plugin_config_digest` field.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "WasmPluginVersionDetails": { + "description": "Details of a `WasmPluginVersion` resource to be inlined in the `WasmPlugin` resource.", + "id": "WasmPluginVersionDetails", + "properties": { + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. A human-readable description of the resource.", + "type": "string" + }, + "imageDigest": { + "description": "Output only. The resolved digest for the image specified in `image`. The digest is resolved during the creation of a `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or digest was originally specified in the `image` field.", + "readOnly": true, + "type": "string" + }, + "imageUri": { + "description": "Optional. URI of the container image containing the Wasm module, stored in the Artifact Registry. The container image must contain only a single file with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the URI gets resolved to an image digest and saved in the `image_digest` field.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Set of labels associated with the `WasmPluginVersion` resource.", + "type": "object" + }, + "pluginConfigData": { + "description": "Configuration for the Wasm plugin. The configuration is provided to the Wasm plugin at runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion` version is created, the digest of the contents is saved in the `plugin_config_digest` field.", + "format": "byte", + "type": "string" + }, + "pluginConfigDigest": { + "description": "Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is calculated based on the contents of the `plugin_config_data` or the container image defined by the `plugin_config_uri` field.", + "readOnly": true, + "type": "string" + }, + "pluginConfigUri": { + "description": "URI of the WasmPlugin configuration stored in the Artifact Registry. The configuration is provided to the Wasm plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `plugin_config_digest` field.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/notebooks.v1.json b/DiscoveryJson/notebooks.v1.json index de29e90a323..ad7f2981527 100644 --- a/DiscoveryJson/notebooks.v1.json +++ b/DiscoveryJson/notebooks.v1.json @@ -2008,7 +2008,7 @@ } } }, - "revision": "20240918", + "revision": "20241016", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2132,7 +2132,7 @@ "description": "Required. Defines flags that are used to run the diagnostic tool" }, "timeoutMinutes": { - "description": "Optional. Maxmium amount of time in minutes before the operation times out.", + "description": "Optional. Maximum amount of time in minutes before the operation times out.", "format": "int32", "type": "integer" } @@ -2148,7 +2148,7 @@ "description": "Required. Defines flags that are used to run the diagnostic tool" }, "timeoutMinutes": { - "description": "Optional. Maxmium amount of time in minutes before the operation times out.", + "description": "Optional. Maximum amount of time in minutes before the operation times out.", "format": "int32", "type": "integer" } diff --git a/DiscoveryJson/notebooks.v2.json b/DiscoveryJson/notebooks.v2.json index 1a99f852ee8..79f8a16f169 100644 --- a/DiscoveryJson/notebooks.v2.json +++ b/DiscoveryJson/notebooks.v2.json @@ -904,7 +904,7 @@ } } }, - "revision": "20240918", + "revision": "20241016", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1168,7 +1168,7 @@ "description": "Required. Defines flags that are used to run the diagnostic tool" }, "timeoutMinutes": { - "description": "Optional. Maxmium amount of time in minutes before the operation times out.", + "description": "Optional. Maximum amount of time in minutes before the operation times out.", "format": "int32", "type": "integer" } diff --git a/DiscoveryJson/orgpolicy.v2.json b/DiscoveryJson/orgpolicy.v2.json index 4e2f3085f5f..166a1fd3397 100644 --- a/DiscoveryJson/orgpolicy.v2.json +++ b/DiscoveryJson/orgpolicy.v2.json @@ -930,7 +930,7 @@ } } }, - "revision": "20240513", + "revision": "20241021", "rootUrl": "https://orgpolicy.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -996,7 +996,136 @@ "GoogleCloudOrgpolicyV2ConstraintBooleanConstraint": { "description": "A constraint that is either enforced or not. For example, a constraint `constraints/compute.disableSerialPortAccess`. If it is enforced on a VM instance, serial port connections will not be opened to that instance.", "id": "GoogleCloudOrgpolicyV2ConstraintBooleanConstraint", - "properties": {}, + "properties": { + "customConstraintDefinition": { + "$ref": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition", + "description": "Custom constraint definition. This is set only for Managed Constraints" + } + }, + "type": "object" + }, + "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition": { + "description": "Currently used for Managed Constraints. This represents a subset of fields missing from Constraint proto that are required to describe CustomConstraint", + "id": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition", + "properties": { + "actionType": { + "description": "Allow or deny type.", + "enum": [ + "ACTION_TYPE_UNSPECIFIED", + "ALLOW", + "DENY" + ], + "enumDescriptions": [ + "Unspecified. Results in an error.", + "Allowed action type.", + "Deny action type." + ], + "type": "string" + }, + "condition": { + "description": "Org policy condition/expression. For example: `resource.instanceName.matches(\"[production|test]_.*_(\\d)+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.", + "type": "string" + }, + "methodTypes": { + "description": "All the operations being applied for this constraint.", + "items": { + "enum": [ + "METHOD_TYPE_UNSPECIFIED", + "CREATE", + "UPDATE", + "DELETE", + "REMOVE_GRANT", + "GOVERN_TAGS" + ], + "enumDescriptions": [ + "Unspecified. Results in an error.", + "Constraint applied when creating the resource.", + "Constraint applied when updating the resource.", + "Constraint applied when deleting the resource. Not supported yet.", + "Constraint applied when removing an IAM grant.", + "Constraint applied when enforcing forced tagging." + ], + "type": "string" + }, + "type": "array" + }, + "parameters": { + "additionalProperties": { + "$ref": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter" + }, + "description": "Stores Structure of parameters used by Constraint condition. Key of map represents name of the parameter.", + "type": "object" + }, + "resourceTypes": { + "description": "The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter": { + "description": "Defines a parameter structure.", + "id": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter", + "properties": { + "defaultValue": { + "description": "Sets the value of the parameter in an assignment if no value is given.", + "type": "any" + }, + "item": { + "description": "Determines the parameter\u2019s value structure. For example, LIST can be specified by defining type : LIST, and item type as : STRING.", + "enum": [ + "TYPE_UNSPECIFIED", + "LIST", + "STRING", + "BOOLEAN" + ], + "enumDescriptions": [ + "Unspecified. Results in an error.", + "List parameter type.", + "String parameter type.", + "Boolean parameter type." + ], + "type": "string" + }, + "metadata": { + "$ref": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata", + "description": "Defines subproperties primarily used by the UI to display user-friendly information." + }, + "type": { + "description": "Type of the parameter.", + "enum": [ + "TYPE_UNSPECIFIED", + "LIST", + "STRING", + "BOOLEAN" + ], + "enumDescriptions": [ + "Unspecified. Results in an error.", + "List parameter type.", + "String parameter type.", + "Boolean parameter type." + ], + "type": "string" + }, + "validValuesExpr": { + "description": "Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in (\"parameterValue1\", \"parameterValue2\")", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata": { + "description": "Defines Medata structure.", + "id": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata", + "properties": { + "description": { + "description": "Detailed description of what this `parameter` is and use of it. Mutable.", + "type": "string" + } + }, "type": "object" }, "GoogleCloudOrgpolicyV2ConstraintListConstraint": { diff --git a/DiscoveryJson/places.v1.json b/DiscoveryJson/places.v1.json index e728033d0c7..9cd5421ee4e 100644 --- a/DiscoveryJson/places.v1.json +++ b/DiscoveryJson/places.v1.json @@ -280,7 +280,7 @@ } } }, - "revision": "20241015", + "revision": "20241022", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -393,12 +393,12 @@ "type": "string" }, "straightLineDistanceMeters": { - "description": "The straight line distance in meters between the target location and the landmark.", + "description": "The straight line distance, in meters, between the center point of the target and the center point of the landmark. In some situations, this value can be longer than `travel_distance_meters`.", "format": "float", "type": "number" }, "travelDistanceMeters": { - "description": "The travel distance in meters along the road network if known. This does not take into account the mode of transportation (walking/driving).", + "description": "The travel distance, in meters, along the road network from the target to the landmark, if known. This value does not take into account the mode of transportation, such as walking, driving, or biking.", "format": "float", "type": "number" }, diff --git a/DiscoveryJson/redis.v1.json b/DiscoveryJson/redis.v1.json index 58cd007a4de..4a84bdaa009 100644 --- a/DiscoveryJson/redis.v1.json +++ b/DiscoveryJson/redis.v1.json @@ -849,7 +849,7 @@ } } }, - "revision": "20241003", + "revision": "20241017", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -875,42 +875,6 @@ }, "type": "object" }, - "AssetLocation": { - "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", - "id": "AssetLocation", - "properties": { - "ccfeRmsPath": { - "description": "Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata.", - "type": "string" - }, - "expected": { - "$ref": "IsolationExpectations", - "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." - }, - "extraParameters": { - "description": "Defines extra parameters required for specific asset types.", - "items": { - "$ref": "ExtraParameter" - }, - "type": "array" - }, - "locationData": { - "description": "Contains all kinds of physical location definitions for this asset.", - "items": { - "$ref": "LocationData" - }, - "type": "array" - }, - "parentAsset": { - "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "AvailabilityConfiguration": { "description": "Configuration for availability of database instance", "id": "AvailabilityConfiguration", @@ -1004,19 +968,6 @@ }, "type": "object" }, - "BlobstoreLocation": { - "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", - "id": "BlobstoreLocation", - "properties": { - "policyId": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "CertChain": { "id": "CertChain", "properties": { @@ -1044,30 +995,6 @@ }, "type": "object" }, - "CloudAsset": { - "id": "CloudAsset", - "properties": { - "assetName": { - "type": "string" - }, - "assetType": { - "type": "string" - } - }, - "type": "object" - }, - "CloudAssetComposition": { - "id": "CloudAssetComposition", - "properties": { - "childAsset": { - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "Cluster": { "description": "A cluster instance.", "id": "Cluster", @@ -1086,6 +1013,13 @@ ], "type": "string" }, + "clusterEndpoints": { + "description": "Optional. A list of cluster enpoints.", + "items": { + "$ref": "ClusterEndpoint" + }, + "type": "array" + }, "createTime": { "description": "Output only. The timestamp associated with the cluster creation request.", "format": "google-datetime", @@ -1150,7 +1084,7 @@ "type": "number" }, "pscConfigs": { - "description": "Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.", + "description": "Optional. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.", "items": { "$ref": "PscConfig" }, @@ -1164,6 +1098,14 @@ "readOnly": true, "type": "array" }, + "pscServiceAttachments": { + "description": "Output only. Service attachment details to configure Psc connections", + "items": { + "$ref": "PscServiceAttachment" + }, + "readOnly": true, + "type": "array" + }, "redisConfigs": { "additionalProperties": { "type": "string" @@ -1237,6 +1179,20 @@ }, "type": "object" }, + "ClusterEndpoint": { + "description": "ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the cluster. In each group, there shall be one connection for each service attachment in the cluster.", + "id": "ClusterEndpoint", + "properties": { + "connections": { + "description": "A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.", + "items": { + "$ref": "ConnectionDetail" + }, + "type": "array" + } + }, + "type": "object" + }, "ClusterMaintenancePolicy": { "description": "Maintenance policy per cluster.", "id": "ClusterMaintenancePolicy", @@ -1363,6 +1319,17 @@ }, "type": "object" }, + "ConnectionDetail": { + "description": "Detailed information of each PSC connection.", + "id": "ConnectionDetail", + "properties": { + "pscConnection": { + "$ref": "PscConnection", + "description": "Detailed information of a PSC connection that is created by the customer who owns the cluster." + } + }, + "type": "object" + }, "CrossClusterReplicationConfig": { "description": "Cross cluster replication config.", "id": "CrossClusterReplicationConfig", @@ -2360,18 +2327,6 @@ }, "type": "object" }, - "DirectLocationAssignment": { - "id": "DirectLocationAssignment", - "properties": { - "location": { - "items": { - "$ref": "LocationAssignment" - }, - "type": "array" - } - }, - "type": "object" - }, "DiscoveryEndpoint": { "description": "Endpoints on each network, for Redis clients to connect to the cluster.", "id": "DiscoveryEndpoint", @@ -2445,17 +2400,6 @@ }, "type": "object" }, - "ExtraParameter": { - "description": "Defines parameters that should only be used for specific asset types.", - "id": "ExtraParameter", - "properties": { - "regionalMigDistributionPolicy": { - "$ref": "RegionalMigDistributionPolicy", - "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." - } - }, - "type": "object" - }, "FailoverInstanceRequest": { "description": "Request for Failover.", "id": "FailoverInstanceRequest", @@ -2877,131 +2821,6 @@ }, "type": "object" }, - "IsolationExpectations": { - "id": "IsolationExpectations", - "properties": { - "requirementOverride": { - "$ref": "RequirementOverride", - "description": "Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic." - }, - "ziOrgPolicy": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionPolicy": { - "enum": [ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionState": { - "enum": [ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zoneIsolation": { - "deprecated": true, - "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zoneSeparation": { - "deprecated": true, - "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsOrgPolicy": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsRegionState": { - "enum": [ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking of the asset ZS-bit is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "ListClustersResponse": { "description": "Response for ListClusters.", "id": "ListClustersResponse", @@ -3122,64 +2941,6 @@ }, "type": "object" }, - "LocationAssignment": { - "id": "LocationAssignment", - "properties": { - "location": { - "type": "string" - }, - "locationType": { - "enum": [ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER" - ], - "enumDescriptions": [ - "", - "1-10: Physical failure domains.", - "", - "11-20: Logical failure domains.", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "LocationData": { - "id": "LocationData", - "properties": { - "blobstoreLocation": { - "$ref": "BlobstoreLocation" - }, - "childAssetLocation": { - "$ref": "CloudAssetComposition" - }, - "directLocation": { - "$ref": "DirectLocationAssignment" - }, - "gcpProjectProxy": { - "$ref": "TenantProjectProxy" - }, - "placerLocation": { - "$ref": "PlacerLocation" - }, - "spannerLocation": { - "$ref": "SpannerLocation" - } - }, - "type": "object" - }, "MachineConfiguration": { "description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.", "id": "MachineConfiguration", @@ -3545,17 +3306,6 @@ }, "type": "object" }, - "PlacerLocation": { - "description": "Message describing that the location of the customer resource is tied to placer allocations", - "id": "PlacerLocation", - "properties": { - "placerConfig": { - "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", - "type": "string" - } - }, - "type": "object" - }, "Product": { "description": "Product specification for Condor resources.", "id": "Product", @@ -3689,6 +3439,23 @@ "description": "Required. The IP allocated on the consumer network for the PSC forwarding rule.", "type": "string" }, + "connectionType": { + "description": "Output only. Type of the PSC connection.", + "enum": [ + "CONNECTION_TYPE_UNSPECIFIED", + "CONNECTION_TYPE_DISCOVERY", + "CONNECTION_TYPE_PRIMARY", + "CONNECTION_TYPE_READER" + ], + "enumDescriptions": [ + "Cluster endpoint Type is not set", + "Cluster endpoint that will be used as for cluster topology discovery.", + "Cluster endpoint that will be used as primary endpoint to access primary.", + "Cluster endpoint that will be used as reader endpoint to access replicas." + ], + "readOnly": true, + "type": "string" + }, "forwardingRule": { "description": "Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.", "type": "string" @@ -3705,6 +3472,21 @@ "description": "Required. The PSC connection id of the forwarding rule connected to the service attachment.", "type": "string" }, + "pscConnectionStatus": { + "description": "Output only. The status of the PSC connection. Please note that this value is updated periodically. To get the latest status of a PSC connection, follow https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details.", + "enum": [ + "PSC_CONNECTION_STATUS_UNSPECIFIED", + "PSC_CONNECTION_STATUS_ACTIVE", + "PSC_CONNECTION_STATUS_NOT_FOUND" + ], + "enumDescriptions": [ + "PSC connection status is not specified.", + "The connection is active", + "Connection not found" + ], + "readOnly": true, + "type": "string" + }, "serviceAttachment": { "description": "Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.", "type": "string" @@ -3712,6 +3494,35 @@ }, "type": "object" }, + "PscServiceAttachment": { + "description": "Configuration of a service attachment of the cluster, for creating PSC connections.", + "id": "PscServiceAttachment", + "properties": { + "connectionType": { + "description": "Output only. Type of a PSC connection targeting this service attachment.", + "enum": [ + "CONNECTION_TYPE_UNSPECIFIED", + "CONNECTION_TYPE_DISCOVERY", + "CONNECTION_TYPE_PRIMARY", + "CONNECTION_TYPE_READER" + ], + "enumDescriptions": [ + "Cluster endpoint Type is not set", + "Cluster endpoint that will be used as for cluster topology discovery.", + "Cluster endpoint that will be used as primary endpoint to access primary.", + "Cluster endpoint that will be used as reader endpoint to access replicas." + ], + "readOnly": true, + "type": "string" + }, + "serviceAttachment": { + "description": "Output only. Service attachment URI which your self-created PscConnection should use as target", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "RDBConfig": { "description": "Configuration of the RDB based persistence.", "id": "RDBConfig", @@ -3773,25 +3584,6 @@ }, "type": "object" }, - "RegionalMigDistributionPolicy": { - "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", - "id": "RegionalMigDistributionPolicy", - "properties": { - "targetShape": { - "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", - "format": "int32", - "type": "integer" - }, - "zones": { - "description": "Cloud zones used by regional MIG to create instances.", - "items": { - "$ref": "ZoneConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, "RemoteCluster": { "description": "Details of the remote cluster associated with this cluster in a cross cluster replication setup.", "id": "RemoteCluster", @@ -3808,44 +3600,6 @@ }, "type": "object" }, - "RequirementOverride": { - "id": "RequirementOverride", - "properties": { - "ziOverride": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zsOverride": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "RescheduleClusterMaintenanceRequest": { "description": "Request for rescheduling a cluster maintenance.", "id": "RescheduleClusterMaintenanceRequest", @@ -3913,6 +3667,7 @@ "type": "integer" }, "retentionUnit": { + "deprecated": true, "description": "The unit that 'retained_backups' represents.", "enum": [ "RETENTION_UNIT_UNSPECIFIED", @@ -3933,26 +3688,11 @@ "timeBasedRetention": { "format": "google-duration", "type": "string" - } - }, - "type": "object" - }, - "SpannerLocation": { - "id": "SpannerLocation", - "properties": { - "backupName": { - "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", - "items": { - "type": "string" - }, - "type": "array" }, - "dbName": { - "description": "Set of databases used by the resource in format /span//", - "items": { - "type": "string" - }, - "type": "array" + "timestampBasedRetentionTime": { + "description": "Timestamp based retention period i.e. 2024-05-01T00:00:00Z", + "format": "google-datetime", + "type": "string" } }, "type": "object" @@ -4009,18 +3749,6 @@ }, "type": "object" }, - "TenantProjectProxy": { - "id": "TenantProjectProxy", - "properties": { - "projectNumbers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "TimeOfDay": { "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", "id": "TimeOfDay", @@ -4186,15 +3914,6 @@ }, "type": "object" }, - "ZoneConfiguration": { - "id": "ZoneConfiguration", - "properties": { - "zone": { - "type": "string" - } - }, - "type": "object" - }, "ZoneDistributionConfig": { "description": "Zone distribution config for allocation of cluster resources.", "id": "ZoneDistributionConfig", diff --git a/DiscoveryJson/redis.v1beta1.json b/DiscoveryJson/redis.v1beta1.json index 3f664b93ceb..8cb7bb2bbbd 100644 --- a/DiscoveryJson/redis.v1beta1.json +++ b/DiscoveryJson/redis.v1beta1.json @@ -849,7 +849,7 @@ } } }, - "revision": "20241010", + "revision": "20241017", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -875,42 +875,6 @@ }, "type": "object" }, - "AssetLocation": { - "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", - "id": "AssetLocation", - "properties": { - "ccfeRmsPath": { - "description": "Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata.", - "type": "string" - }, - "expected": { - "$ref": "IsolationExpectations", - "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." - }, - "extraParameters": { - "description": "Defines extra parameters required for specific asset types.", - "items": { - "$ref": "ExtraParameter" - }, - "type": "array" - }, - "locationData": { - "description": "Contains all kinds of physical location definitions for this asset.", - "items": { - "$ref": "LocationData" - }, - "type": "array" - }, - "parentAsset": { - "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "AvailabilityConfiguration": { "description": "Configuration for availability of database instance", "id": "AvailabilityConfiguration", @@ -1004,19 +968,6 @@ }, "type": "object" }, - "BlobstoreLocation": { - "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", - "id": "BlobstoreLocation", - "properties": { - "policyId": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "CertChain": { "id": "CertChain", "properties": { @@ -1044,30 +995,6 @@ }, "type": "object" }, - "CloudAsset": { - "id": "CloudAsset", - "properties": { - "assetName": { - "type": "string" - }, - "assetType": { - "type": "string" - } - }, - "type": "object" - }, - "CloudAssetComposition": { - "id": "CloudAssetComposition", - "properties": { - "childAsset": { - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "Cluster": { "description": "A cluster instance.", "id": "Cluster", @@ -1086,6 +1013,13 @@ ], "type": "string" }, + "clusterEndpoints": { + "description": "Optional. A list of cluster enpoints.", + "items": { + "$ref": "ClusterEndpoint" + }, + "type": "array" + }, "createTime": { "description": "Output only. The timestamp associated with the cluster creation request.", "format": "google-datetime", @@ -1150,7 +1084,7 @@ "type": "number" }, "pscConfigs": { - "description": "Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.", + "description": "Optional. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.", "items": { "$ref": "PscConfig" }, @@ -1164,6 +1098,14 @@ "readOnly": true, "type": "array" }, + "pscServiceAttachments": { + "description": "Output only. Service attachment details to configure Psc connections", + "items": { + "$ref": "PscServiceAttachment" + }, + "readOnly": true, + "type": "array" + }, "redisConfigs": { "additionalProperties": { "type": "string" @@ -1237,6 +1179,20 @@ }, "type": "object" }, + "ClusterEndpoint": { + "description": "ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the cluster. In each group, there shall be one connection for each service attachment in the cluster.", + "id": "ClusterEndpoint", + "properties": { + "connections": { + "description": "A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.", + "items": { + "$ref": "ConnectionDetail" + }, + "type": "array" + } + }, + "type": "object" + }, "ClusterMaintenancePolicy": { "description": "Maintenance policy per cluster.", "id": "ClusterMaintenancePolicy", @@ -1363,6 +1319,17 @@ }, "type": "object" }, + "ConnectionDetail": { + "description": "Detailed information of each PSC connection.", + "id": "ConnectionDetail", + "properties": { + "pscConnection": { + "$ref": "PscConnection", + "description": "Detailed information of a PSC connection that is created by the customer who owns the cluster." + } + }, + "type": "object" + }, "CrossClusterReplicationConfig": { "description": "Cross cluster replication config.", "id": "CrossClusterReplicationConfig", @@ -2360,18 +2327,6 @@ }, "type": "object" }, - "DirectLocationAssignment": { - "id": "DirectLocationAssignment", - "properties": { - "location": { - "items": { - "$ref": "LocationAssignment" - }, - "type": "array" - } - }, - "type": "object" - }, "DiscoveryEndpoint": { "description": "Endpoints on each network, for Redis clients to connect to the cluster.", "id": "DiscoveryEndpoint", @@ -2445,17 +2400,6 @@ }, "type": "object" }, - "ExtraParameter": { - "description": "Defines parameters that should only be used for specific asset types.", - "id": "ExtraParameter", - "properties": { - "regionalMigDistributionPolicy": { - "$ref": "RegionalMigDistributionPolicy", - "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." - } - }, - "type": "object" - }, "FailoverInstanceRequest": { "description": "Request for Failover.", "id": "FailoverInstanceRequest", @@ -2884,131 +2828,6 @@ }, "type": "object" }, - "IsolationExpectations": { - "id": "IsolationExpectations", - "properties": { - "requirementOverride": { - "$ref": "RequirementOverride", - "description": "Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic." - }, - "ziOrgPolicy": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionPolicy": { - "enum": [ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionState": { - "enum": [ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zoneIsolation": { - "deprecated": true, - "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zoneSeparation": { - "deprecated": true, - "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsOrgPolicy": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsRegionState": { - "enum": [ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking of the asset ZS-bit is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "ListClustersResponse": { "description": "Response for ListClusters.", "id": "ListClustersResponse", @@ -3129,64 +2948,6 @@ }, "type": "object" }, - "LocationAssignment": { - "id": "LocationAssignment", - "properties": { - "location": { - "type": "string" - }, - "locationType": { - "enum": [ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER" - ], - "enumDescriptions": [ - "", - "1-10: Physical failure domains.", - "", - "11-20: Logical failure domains.", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "LocationData": { - "id": "LocationData", - "properties": { - "blobstoreLocation": { - "$ref": "BlobstoreLocation" - }, - "childAssetLocation": { - "$ref": "CloudAssetComposition" - }, - "directLocation": { - "$ref": "DirectLocationAssignment" - }, - "gcpProjectProxy": { - "$ref": "TenantProjectProxy" - }, - "placerLocation": { - "$ref": "PlacerLocation" - }, - "spannerLocation": { - "$ref": "SpannerLocation" - } - }, - "type": "object" - }, "MachineConfiguration": { "description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.", "id": "MachineConfiguration", @@ -3552,17 +3313,6 @@ }, "type": "object" }, - "PlacerLocation": { - "description": "Message describing that the location of the customer resource is tied to placer allocations", - "id": "PlacerLocation", - "properties": { - "placerConfig": { - "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", - "type": "string" - } - }, - "type": "object" - }, "Product": { "description": "Product specification for Condor resources.", "id": "Product", @@ -3696,6 +3446,23 @@ "description": "Required. The IP allocated on the consumer network for the PSC forwarding rule.", "type": "string" }, + "connectionType": { + "description": "Output only. Type of the PSC connection.", + "enum": [ + "CONNECTION_TYPE_UNSPECIFIED", + "CONNECTION_TYPE_DISCOVERY", + "CONNECTION_TYPE_PRIMARY", + "CONNECTION_TYPE_READER" + ], + "enumDescriptions": [ + "Cluster endpoint Type is not set", + "Cluster endpoint that will be used as for cluster topology discovery.", + "Cluster endpoint that will be used as primary endpoint to access primary.", + "Cluster endpoint that will be used as reader endpoint to access replicas." + ], + "readOnly": true, + "type": "string" + }, "forwardingRule": { "description": "Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.", "type": "string" @@ -3712,6 +3479,21 @@ "description": "Required. The PSC connection id of the forwarding rule connected to the service attachment.", "type": "string" }, + "pscConnectionStatus": { + "description": "Output only. The status of the PSC connection. Please note that this value is updated periodically. To get the latest status of a PSC connection, follow https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details.", + "enum": [ + "PSC_CONNECTION_STATUS_UNSPECIFIED", + "PSC_CONNECTION_STATUS_ACTIVE", + "PSC_CONNECTION_STATUS_NOT_FOUND" + ], + "enumDescriptions": [ + "PSC connection status is not specified.", + "The connection is active", + "Connection not found" + ], + "readOnly": true, + "type": "string" + }, "serviceAttachment": { "description": "Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.", "type": "string" @@ -3719,6 +3501,35 @@ }, "type": "object" }, + "PscServiceAttachment": { + "description": "Configuration of a service attachment of the cluster, for creating PSC connections.", + "id": "PscServiceAttachment", + "properties": { + "connectionType": { + "description": "Output only. Type of a PSC connection targeting this service attachment.", + "enum": [ + "CONNECTION_TYPE_UNSPECIFIED", + "CONNECTION_TYPE_DISCOVERY", + "CONNECTION_TYPE_PRIMARY", + "CONNECTION_TYPE_READER" + ], + "enumDescriptions": [ + "Cluster endpoint Type is not set", + "Cluster endpoint that will be used as for cluster topology discovery.", + "Cluster endpoint that will be used as primary endpoint to access primary.", + "Cluster endpoint that will be used as reader endpoint to access replicas." + ], + "readOnly": true, + "type": "string" + }, + "serviceAttachment": { + "description": "Output only. Service attachment URI which your self-created PscConnection should use as target", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "RDBConfig": { "description": "Configuration of the RDB based persistence.", "id": "RDBConfig", @@ -3780,25 +3591,6 @@ }, "type": "object" }, - "RegionalMigDistributionPolicy": { - "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", - "id": "RegionalMigDistributionPolicy", - "properties": { - "targetShape": { - "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", - "format": "int32", - "type": "integer" - }, - "zones": { - "description": "Cloud zones used by regional MIG to create instances.", - "items": { - "$ref": "ZoneConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, "RemoteCluster": { "description": "Details of the remote cluster associated with this cluster in a cross cluster replication setup.", "id": "RemoteCluster", @@ -3815,44 +3607,6 @@ }, "type": "object" }, - "RequirementOverride": { - "id": "RequirementOverride", - "properties": { - "ziOverride": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zsOverride": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "RescheduleClusterMaintenanceRequest": { "description": "Request for rescheduling a cluster maintenance.", "id": "RescheduleClusterMaintenanceRequest", @@ -3950,26 +3704,6 @@ }, "type": "object" }, - "SpannerLocation": { - "id": "SpannerLocation", - "properties": { - "backupName": { - "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", - "items": { - "type": "string" - }, - "type": "array" - }, - "dbName": { - "description": "Set of databases used by the resource in format /span//", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "StateInfo": { "description": "Represents additional information about the state of the cluster.", "id": "StateInfo", @@ -4022,18 +3756,6 @@ }, "type": "object" }, - "TenantProjectProxy": { - "id": "TenantProjectProxy", - "properties": { - "projectNumbers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "TimeOfDay": { "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", "id": "TimeOfDay", @@ -4199,15 +3921,6 @@ }, "type": "object" }, - "ZoneConfiguration": { - "id": "ZoneConfiguration", - "properties": { - "zone": { - "type": "string" - } - }, - "type": "object" - }, "ZoneDistributionConfig": { "description": "Zone distribution config for allocation of cluster resources.", "id": "ZoneDistributionConfig", diff --git a/DiscoveryJson/tpu.v2alpha1.json b/DiscoveryJson/tpu.v2alpha1.json index 953f1a39133..dcfe2fab3af 100644 --- a/DiscoveryJson/tpu.v2alpha1.json +++ b/DiscoveryJson/tpu.v2alpha1.json @@ -965,7 +965,7 @@ } } }, - "revision": "20241009", + "revision": "20241017", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1461,6 +1461,20 @@ "nodeIdPrefix": { "description": "Prefix of node_ids in case of multi-node request Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. If node_count = 3 and node_id_prefix = \"np\", node ids of nodes created will be \"np-0\", \"np-1\", \"np-2\". If this field is not provided we use queued_resource_id as the node_id_prefix.", "type": "string" + }, + "workloadType": { + "description": "Optional. The workload type for the multi-node request.", + "enum": [ + "WORKLOAD_TYPE_UNSPECIFIED", + "THROUGHPUT_OPTIMIZED", + "AVAILABILITY_OPTIMIZED" + ], + "enumDescriptions": [ + "Not specified.", + "All of the nodes are available most of the time. Recommended for training workloads.", + "Most of the nodes are available all of the time. Recommended for serving workloads." + ], + "type": "string" } }, "type": "object" diff --git a/DiscoveryJson/walletobjects.v1.json b/DiscoveryJson/walletobjects.v1.json index 1b2ed469db2..db10a03a22c 100644 --- a/DiscoveryJson/walletobjects.v1.json +++ b/DiscoveryJson/walletobjects.v1.json @@ -2681,7 +2681,7 @@ } } }, - "revision": "20241017", + "revision": "20241024", "rootUrl": "https://walletobjects.googleapis.com/", "schemas": { "ActivationOptions": { @@ -5378,6 +5378,7 @@ "GENERIC_HOME_INSURANCE", "GENERIC_ENTRY_TICKET", "GENERIC_RECEIPT", + "GENERIC_LOYALTY_CARD", "GENERIC_OTHER" ], "enumDescriptions": [ @@ -5393,6 +5394,7 @@ "Home-insurance cards", "Entry tickets", "Receipts", + "Loyalty cards. Please note that it is advisable to use a dedicated Loyalty card pass type instead of this generic type. A dedicated loyalty card pass type offers more features and functionality than a generic pass type.", "Other type" ], "type": "string" diff --git a/DiscoveryJson/workloadmanager.v1.json b/DiscoveryJson/workloadmanager.v1.json index d4f00ee078f..9cdf61eb6fa 100644 --- a/DiscoveryJson/workloadmanager.v1.json +++ b/DiscoveryJson/workloadmanager.v1.json @@ -772,7 +772,7 @@ } } }, - "revision": "20241009", + "revision": "20241016", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "AgentCommand": { @@ -793,42 +793,6 @@ }, "type": "object" }, - "AssetLocation": { - "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", - "id": "AssetLocation", - "properties": { - "ccfeRmsPath": { - "description": "Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata.", - "type": "string" - }, - "expected": { - "$ref": "IsolationExpectations", - "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." - }, - "extraParameters": { - "description": "Defines extra parameters required for specific asset types.", - "items": { - "$ref": "ExtraParameter" - }, - "type": "array" - }, - "locationData": { - "description": "Contains all kinds of physical location definitions for this asset.", - "items": { - "$ref": "LocationData" - }, - "type": "array" - }, - "parentAsset": { - "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "BigQueryDestination": { "description": "Message describing big query destination", "id": "BigQueryDestination", @@ -844,49 +808,12 @@ }, "type": "object" }, - "BlobstoreLocation": { - "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", - "id": "BlobstoreLocation", - "properties": { - "policyId": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, - "CloudAsset": { - "id": "CloudAsset", - "properties": { - "assetName": { - "type": "string" - }, - "assetType": { - "type": "string" - } - }, - "type": "object" - }, - "CloudAssetComposition": { - "id": "CloudAssetComposition", - "properties": { - "childAsset": { - "items": { - "$ref": "CloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, "Command": { "description": "* Command specifies the type of command to execute.", "id": "Command", @@ -902,18 +829,6 @@ }, "type": "object" }, - "DirectLocationAssignment": { - "id": "DirectLocationAssignment", - "properties": { - "location": { - "items": { - "$ref": "LocationAssignment" - }, - "type": "array" - } - }, - "type": "object" - }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -1029,6 +944,14 @@ "description": "The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}", "type": "string" }, + "notices": { + "description": "Output only. Additional information generated by the execution", + "items": { + "$ref": "Notice" + }, + "readOnly": true, + "type": "array" + }, "ruleResults": { "description": "Output only. execution result summary per rule", "items": { @@ -1160,17 +1083,6 @@ }, "type": "object" }, - "ExtraParameter": { - "description": "Defines parameters that should only be used for specific asset types.", - "id": "ExtraParameter", - "properties": { - "regionalMigDistributionPolicy": { - "$ref": "RegionalMigDistributionPolicy", - "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." - } - }, - "type": "object" - }, "GceInstanceFilter": { "description": "Message describing compute engine instance filter", "id": "GceInstanceFilter", @@ -1214,131 +1126,6 @@ }, "type": "object" }, - "IsolationExpectations": { - "id": "IsolationExpectations", - "properties": { - "requirementOverride": { - "$ref": "RequirementOverride", - "description": "Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic." - }, - "ziOrgPolicy": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionPolicy": { - "enum": [ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionState": { - "enum": [ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zoneIsolation": { - "deprecated": true, - "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zoneSeparation": { - "deprecated": true, - "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsOrgPolicy": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsRegionState": { - "enum": [ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking of the asset ZS-bit is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "ListEvaluationsResponse": { "description": "Message for response to listing Evaluations", "id": "ListEvaluationsResponse", @@ -1513,64 +1300,18 @@ }, "type": "object" }, - "LocationAssignment": { - "id": "LocationAssignment", + "Notice": { + "description": "Message for additional information generated by the execution", + "id": "Notice", "properties": { - "location": { - "type": "string" - }, - "locationType": { - "enum": [ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER" - ], - "enumDescriptions": [ - "", - "1-10: Physical failure domains.", - "", - "11-20: Logical failure domains.", - "", - "", - "", - "", - "" - ], + "message": { + "description": "Output only. Message of the notice", + "readOnly": true, "type": "string" } }, "type": "object" }, - "LocationData": { - "id": "LocationData", - "properties": { - "blobstoreLocation": { - "$ref": "BlobstoreLocation" - }, - "childAssetLocation": { - "$ref": "CloudAssetComposition" - }, - "directLocation": { - "$ref": "DirectLocationAssignment" - }, - "gcpProjectProxy": { - "$ref": "TenantProjectProxy" - }, - "placerLocation": { - "$ref": "PlacerLocation" - }, - "spannerLocation": { - "$ref": "SpannerLocation" - } - }, - "type": "object" - }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -1650,74 +1391,6 @@ }, "type": "object" }, - "PlacerLocation": { - "description": "Message describing that the location of the customer resource is tied to placer allocations", - "id": "PlacerLocation", - "properties": { - "placerConfig": { - "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", - "type": "string" - } - }, - "type": "object" - }, - "RegionalMigDistributionPolicy": { - "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", - "id": "RegionalMigDistributionPolicy", - "properties": { - "targetShape": { - "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", - "format": "int32", - "type": "integer" - }, - "zones": { - "description": "Cloud zones used by regional MIG to create instances.", - "items": { - "$ref": "ZoneConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "RequirementOverride": { - "id": "RequirementOverride", - "properties": { - "ziOverride": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zsOverride": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "Resource": { "description": "Message represent resource in execution result", "id": "Resource", @@ -2452,26 +2125,6 @@ }, "type": "object" }, - "SpannerLocation": { - "id": "SpannerLocation", - "properties": { - "backupName": { - "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", - "items": { - "type": "string" - }, - "type": "array" - }, - "dbName": { - "description": "Set of databases used by the resource in format /span//", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "SqlserverValidation": { "description": "A presentation of SQLServer workload insight. The schema of SqlServer workloads validation related data.", "id": "SqlserverValidation", @@ -2587,18 +2240,6 @@ }, "type": "object" }, - "TenantProjectProxy": { - "id": "TenantProjectProxy", - "properties": { - "projectNumbers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "ViolationDetails": { "description": "Message describing the violation in an evaluation result.", "id": "ViolationDetails", @@ -2645,15 +2286,6 @@ "id": "WriteInsightResponse", "properties": {}, "type": "object" - }, - "ZoneConfiguration": { - "id": "ZoneConfiguration", - "properties": { - "zone": { - "type": "string" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/EnumStorage/networkservices.v1.json b/EnumStorage/networkservices.v1.json index 50a95a0ccde..080c74c9ab1 100644 --- a/EnumStorage/networkservices.v1.json +++ b/EnumStorage/networkservices.v1.json @@ -7,5 +7,10 @@ "Google.Apis.NetworkServices.v1.NetworkServicesBaseServiceRequest<>.XgafvEnum": [ "1", "2" + ], + "Google.Apis.NetworkServices.v1.ProjectsResource+LocationsResource+WasmPluginsResource+GetRequest.ViewEnum": [ + "WASM_PLUGIN_VIEW_UNSPECIFIED", + "WASM_PLUGIN_VIEW_BASIC", + "WASM_PLUGIN_VIEW_FULL" ] } \ No newline at end of file diff --git a/EnumStorage/networkservices.v1beta1.json b/EnumStorage/networkservices.v1beta1.json index 483605ce0b2..a3675d3c754 100644 --- a/EnumStorage/networkservices.v1beta1.json +++ b/EnumStorage/networkservices.v1beta1.json @@ -7,5 +7,10 @@ "Google.Apis.NetworkServices.v1beta1.NetworkServicesBaseServiceRequest<>.XgafvEnum": [ "1", "2" + ], + "Google.Apis.NetworkServices.v1beta1.ProjectsResource+LocationsResource+WasmPluginsResource+GetRequest.ViewEnum": [ + "WASM_PLUGIN_VIEW_UNSPECIFIED", + "WASM_PLUGIN_VIEW_BASIC", + "WASM_PLUGIN_VIEW_FULL" ] } \ No newline at end of file diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs index 8d54c9e34b3..893d2619b8e 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs @@ -4503,7 +4503,7 @@ public class DiagnoseInstanceRequest : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("diagnosticConfig")] public virtual DiagnosticConfig DiagnosticConfig { get; set; } - /// Optional. Maxmium amount of time in minutes before the operation times out. + /// Optional. Maximum amount of time in minutes before the operation times out. [Newtonsoft.Json.JsonPropertyAttribute("timeoutMinutes")] public virtual System.Nullable TimeoutMinutes { get; set; } @@ -4518,7 +4518,7 @@ public class DiagnoseRuntimeRequest : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("diagnosticConfig")] public virtual DiagnosticConfig DiagnosticConfig { get; set; } - /// Optional. Maxmium amount of time in minutes before the operation times out. + /// Optional. Maximum amount of time in minutes before the operation times out. [Newtonsoft.Json.JsonPropertyAttribute("timeoutMinutes")] public virtual System.Nullable TimeoutMinutes { get; set; } diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj index c0a287ad8d7..21c6cbd87a2 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AIPlatformNotebooks.v1 Client Library - 1.68.0.3548 + 1.68.0.3576 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.cs b/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.cs index 9c7c423212e..1c2158190e9 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.cs +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.cs @@ -2259,7 +2259,7 @@ public class DiagnoseInstanceRequest : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("diagnosticConfig")] public virtual DiagnosticConfig DiagnosticConfig { get; set; } - /// Optional. Maxmium amount of time in minutes before the operation times out. + /// Optional. Maximum amount of time in minutes before the operation times out. [Newtonsoft.Json.JsonPropertyAttribute("timeoutMinutes")] public virtual System.Nullable TimeoutMinutes { get; set; } diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.csproj b/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.csproj index 436e0b34373..c13e5bd1e84 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.csproj +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.AIPlatformNotebooks.v2 Client Library - 1.68.0.3548 + 1.68.0.3576 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs index 4ba7bb5a8c9..8fff642d424 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs +++ b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs @@ -2871,9 +2871,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Acc /// Optional. This field controls whether or not certain repeated settings in the update request /// overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. /// So far, only scoped_access_settings supports appending. Global access_levels, dry_run_access_levels, - /// and reauth_settings are not compatible with append functionality, and the request will return an - /// error if append=true when these settings are in the update_mask. The request will also return an - /// error if append=true when "scoped_access_settings" is not set in the update_mask. + /// reauth_settings, and session_settings are not compatible with append functionality, and the request + /// will return an error if append=true when these settings are in the update_mask. The request will + /// also return an error if append=true when "scoped_access_settings" is not set in the update_mask. /// [Google.Apis.Util.RequestParameterAttribute("append", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable Append { get; set; } @@ -2881,8 +2881,8 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Acc /// /// Required. Only the fields specified in this mask are updated. Because name and group_key cannot be /// changed, update_mask is required and may only contain the following fields: `access_levels`, - /// `dry_run_access_levels`, `reauth_settings`, `scoped_access_settings`. update_mask { paths: - /// "access_levels" } + /// `dry_run_access_levels`, `reauth_settings` `session_settings`, `scoped_access_settings`. update_mask + /// { paths: "access_levels" } /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -3178,6 +3178,12 @@ public class AccessSettings : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("reauthSettings")] public virtual ReauthSettings ReauthSettings { get; set; } + /// + /// Optional. Session settings applied to user access on a given AccessScope. Migrated from ReauthSettings + /// + [Newtonsoft.Json.JsonPropertyAttribute("sessionSettings")] + public virtual SessionSettings SessionSettings { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -3762,7 +3768,8 @@ public class Expr : Google.Apis.Requests.IDirectResponseSchema } /// - /// Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. + /// Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: + /// 11 /// public class GcpUserAccessBinding : Google.Apis.Requests.IDirectResponseSchema { @@ -4518,6 +4525,50 @@ public class ServicePerimeterConfig : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. + /// method) they should face when their session expires, and other related settings. + /// + public class SessionSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. How long a user is allowed to take between actions before a new access token must be issued. + /// Presently only set for Cloud Apps. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxInactivity")] + public virtual object MaxInactivity { get; set; } + + /// + /// Optional. The session length. Setting this field to zero is equal to disabling. Session. Also can set + /// infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the + /// session length will be the minimum of this field and OIDC max_age param. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sessionLength")] + public virtual object SessionLength { get; set; } + + /// + /// Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the + /// session length is basically infinite. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sessionLengthEnabled")] + public virtual System.Nullable SessionLengthEnabled { get; set; } + + /// Optional. Session method when users GCP session is up. + [Newtonsoft.Json.JsonPropertyAttribute("sessionReauthMethod")] + public virtual string SessionReauthMethod { get; set; } + + /// + /// Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication + /// request will be ignored. When true, the re-auth period will be the minimum of the session_length field and + /// the max_age OIDC param. + /// + [Newtonsoft.Json.JsonPropertyAttribute("useOidcMaxAge")] + public virtual System.Nullable UseOidcMaxAge { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request message for `SetIamPolicy` method. public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj index 25bf81722bd..078313fb0e1 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj +++ b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AccessContextManager.v1 Client Library - 1.68.0.3574 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs index 96473a91a16..02436455a46 100644 --- a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs +++ b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs @@ -4085,45 +4085,6 @@ public class AllocationAffinity : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on - /// its behalf. - /// - public class AssetLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing - /// resource metadata. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ccfeRmsPath")] - public virtual string CcfeRmsPath { get; set; } - - /// - /// Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of - /// asset creation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("expected")] - public virtual IsolationExpectations Expected { get; set; } - - /// Defines extra parameters required for specific asset types. - [Newtonsoft.Json.JsonPropertyAttribute("extraParameters")] - public virtual System.Collections.Generic.IList ExtraParameters { get; set; } - - /// Contains all kinds of physical location definitions for this asset. - [Newtonsoft.Json.JsonPropertyAttribute("locationData")] - public virtual System.Collections.Generic.IList LocationData { get; set; } - - /// - /// Defines parents assets if any in order to allow later generation of child_asset_location data via child - /// assets. - /// - [Newtonsoft.Json.JsonPropertyAttribute("parentAsset")] - public virtual System.Collections.Generic.IList ParentAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// An instance-attached disk resource. public class AttachedDisk : Google.Apis.Requests.IDirectResponseSchema { @@ -4938,7 +4899,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// /// Required. The resource type to which the `BackupPlan` will be applied. Examples include, - /// "compute.googleapis.com/Instance" and "storage.googleapis.com/Bucket". + /// "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance" and "storage.googleapis.com/Bucket". /// [Newtonsoft.Json.JsonPropertyAttribute("resourceType")] public virtual string ResourceType { get; set; } @@ -5418,19 +5379,6 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Policy ID that identified data placement in Blobstore as per - /// go/blobstore-user-guide#data-metadata-placement-and-failure-domains - /// - public class BlobstoreLocation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("policyId")] - public virtual System.Collections.Generic.IList PolicyId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The request message for Operations.CancelOperation. public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -5438,27 +5386,6 @@ public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class CloudAsset : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("assetName")] - public virtual string AssetName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("assetType")] - public virtual string AssetType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class CloudAssetComposition : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("childAsset")] - public virtual System.Collections.Generic.IList ChildAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// ComputeInstanceBackupProperties represents Compute Engine instance backup properties. public class ComputeInstanceBackupProperties : Google.Apis.Requests.IDirectResponseSchema { @@ -5982,15 +5909,6 @@ public class DataSourceGcpResource : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class DirectLocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual System.Collections.Generic.IList Location { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A set of Display Device options public class DisplayDevice : Google.Apis.Requests.IDirectResponseSchema { @@ -6076,19 +5994,6 @@ public class Expr : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Defines parameters that should only be used for specific asset types. - public class ExtraParameter : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionalMigDistributionPolicy")] - public virtual RegionalMigDistributionPolicy RegionalMigDistributionPolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Request message for FetchAccessToken. public class FetchAccessTokenRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -6492,48 +6397,6 @@ public class InstanceParams : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class IsolationExpectations : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS - /// verification logic. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requirementOverride")] - public virtual RequirementOverride RequirementOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziOrgPolicy")] - public virtual string ZiOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionPolicy")] - public virtual string ZiRegionPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionState")] - public virtual string ZiRegionState { get; set; } - - /// - /// Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as - /// per go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneIsolation")] - public virtual string ZoneIsolation { get; set; } - - /// - /// Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per - /// go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneSeparation")] - public virtual string ZoneSeparation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOrgPolicy")] - public virtual string ZsOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsRegionState")] - public virtual string ZsRegionState { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Response message for List BackupPlanAssociation public class ListBackupPlanAssociationsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -6743,42 +6606,6 @@ public class Location : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class LocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual string Location { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("locationType")] - public virtual string LocationType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class LocationData : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("blobstoreLocation")] - public virtual BlobstoreLocation BlobstoreLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("childAssetLocation")] - public virtual CloudAssetComposition ChildAssetLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("directLocation")] - public virtual DirectLocationAssignment DirectLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("gcpProjectProxy")] - public virtual TenantProjectProxy GcpProjectProxy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("placerLocation")] - public virtual PlacerLocation PlacerLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("spannerLocation")] - public virtual SpannerLocation SpannerLocation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// ManagementServer describes a single BackupDR ManagementServer instance. public class ManagementServer : Google.Apis.Requests.IDirectResponseSchema { @@ -7261,17 +7088,6 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } - /// Message describing that the location of the customer resource is tied to placer allocations - public class PlacerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - [Newtonsoft.Json.JsonPropertyAttribute("placerConfig")] - public virtual string PlacerConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A /// `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single @@ -7349,26 +7165,6 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable Version { get; set; } } - /// - /// To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager - /// instances - /// - public class RegionalMigDistributionPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The shape in which the group converges around distribution of resources. Instance of proto2 enum - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetShape")] - public virtual System.Nullable TargetShape { get; set; } - - /// Cloud zones used by regional MIG to create instances. - [Newtonsoft.Json.JsonPropertyAttribute("zones")] - public virtual System.Collections.Generic.IList Zones { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Message for deleting a DataSource. public class RemoveDataSourceRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -7388,18 +7184,6 @@ public class RemoveDataSourceRequest : Google.Apis.Requests.IDirectResponseSchem public virtual string ETag { get; set; } } - public class RequirementOverride : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("ziOverride")] - public virtual string ZiOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOverride")] - public virtual string ZsOverride { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Request message for restoring from a Backup. public class RestoreBackupRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -7657,23 +7441,6 @@ public class SetInternalStatusResponse : Google.Apis.Requests.IDirectResponseSch public virtual string ETag { get; set; } } - public class SpannerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Set of backups used by the resource with name in the same format as what is available at - /// http://table/spanner_automon.backup_metadata - /// - [Newtonsoft.Json.JsonPropertyAttribute("backupName")] - public virtual System.Collections.Generic.IList BackupName { get; set; } - - /// Set of databases used by the resource in format /span// - [Newtonsoft.Json.JsonPropertyAttribute("dbName")] - public virtual System.Collections.Generic.IList DbName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// `StandardSchedule` defines a schedule that run within the confines of a defined window of days. We can define /// recurrence type for schedule as HOURLY, DAILY, WEEKLY, MONTHLY or YEARLY. @@ -7802,15 +7569,6 @@ public class TargetResource : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class TenantProjectProxy : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("projectNumbers")] - public virtual System.Collections.Generic.IList ProjectNumbers { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Request message for `TestIamPermissions` method. public class TestIamPermissionsRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -7907,13 +7665,4 @@ public class WorkforceIdentityBasedOAuth2ClientID : Google.Apis.Requests.IDirect /// The ETag of the item. public virtual string ETag { get; set; } } - - public class ZoneConfiguration : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("zone")] - public virtual string Zone { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } } diff --git a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj index f25a6b8af7c..62bad2cc884 100644 --- a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj +++ b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Backupdr.v1 Client Library - 1.68.0.3569 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj index 1873c1470ef..9f12a2210c6 100644 --- a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj +++ b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.ChecksService.v1alpha Client Library - 1.68.0.3573 + 1.68.0.3585 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs index fb87d3ed175..b629b9730fc 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs @@ -1407,14 +1407,14 @@ public CountInstalledAppsRequest(Google.Apis.Services.IClientService service, st /// Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not /// supported in this filter. Supported filter fields: * app_name * app_type * install_type * /// number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id - /// * manifest_versions + /// * manifest_versions * risk_score /// [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } /// /// Field used to order results. Supported order by fields: * app_name * app_type * install_type * - /// number_of_permissions * total_install_count * app_id * manifest_versions + /// number_of_permissions * total_install_count * app_id * manifest_versions * risk_score /// [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] public virtual string OrderBy { get; set; } @@ -4594,6 +4594,10 @@ public class GoogleChromeManagementV1InstalledApp : Google.Apis.Requests.IDirect [Newtonsoft.Json.JsonPropertyAttribute("permissions")] public virtual System.Collections.Generic.IList Permissions { get; set; } + /// Output only. If available, the risk assessment data about this extension. + [Newtonsoft.Json.JsonPropertyAttribute("riskAssessment")] + public virtual GoogleChromeManagementV1RiskAssessmentData RiskAssessment { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -5434,6 +5438,64 @@ public class GoogleChromeManagementV1PrinterReport : Google.Apis.Requests.IDirec public virtual string ETag { get; set; } } + /// Risk assessment for a Chrome extension. + public class GoogleChromeManagementV1RiskAssessment : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Risk assessment for the extension. Currently, this is a numerical value, and its interpretation is specific + /// to each risk assessment provider. + /// + [Newtonsoft.Json.JsonPropertyAttribute("assessment")] + public virtual string Assessment { get; set; } + + /// A URL that a user can navigate to for more information about the risk assessment. + [Newtonsoft.Json.JsonPropertyAttribute("detailsUrl")] + public virtual string DetailsUrl { get; set; } + + /// The version of the extension that this assessment applies to. + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual string Version { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Risk assessment data about an extension/app. + public class GoogleChromeManagementV1RiskAssessmentData : Google.Apis.Requests.IDirectResponseSchema + { + /// Individual risk assessments. + [Newtonsoft.Json.JsonPropertyAttribute("entries")] + public virtual System.Collections.Generic.IList Entries { get; set; } + + /// + /// Overall assessed risk level across all entries. This will be the highest risk level from all entries. + /// + [Newtonsoft.Json.JsonPropertyAttribute("overallRiskLevel")] + public virtual string OverallRiskLevel { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// One risk assessment entry. + public class GoogleChromeManagementV1RiskAssessmentEntry : Google.Apis.Requests.IDirectResponseSchema + { + /// The risk assessment provider from which this entry comes from. + [Newtonsoft.Json.JsonPropertyAttribute("provider")] + public virtual string Provider { get; set; } + + /// The details of the provider's risk assessment. + [Newtonsoft.Json.JsonPropertyAttribute("riskAssessment")] + public virtual GoogleChromeManagementV1RiskAssessment RiskAssessment { get; set; } + + /// The bucketed risk level for the risk assessment. + [Newtonsoft.Json.JsonPropertyAttribute("riskLevel")] + public virtual string RiskLevel { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Runtime counters retrieved from CPU. Currently the runtime counters telemetry is only supported by Intel vPro /// PSR on Gen 14+. diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj index 97e9804aa72..7180bd7844a 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ChromeManagement.v1 Client Library - 1.68.0.3563 + 1.68.0.3583 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs index cf156f9392e..b92a77301dc 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs @@ -6635,6 +6635,45 @@ public class StorageDatabasecenterPartnerapiV1mainRetentionSettings : Google.Api [Newtonsoft.Json.JsonPropertyAttribute("timeBasedRetention")] public virtual object TimeBasedRetention { get; set; } + private string _timestampBasedRetentionTimeRaw; + + private object _timestampBasedRetentionTime; + + /// Timestamp based retention period i.e. 2024-05-01T00:00:00Z + [Newtonsoft.Json.JsonPropertyAttribute("timestampBasedRetentionTime")] + public virtual string TimestampBasedRetentionTimeRaw + { + get => _timestampBasedRetentionTimeRaw; + set + { + _timestampBasedRetentionTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _timestampBasedRetentionTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use TimestampBasedRetentionTimeDateTimeOffset instead.")] + public virtual object TimestampBasedRetentionTime + { + get => _timestampBasedRetentionTime; + set + { + _timestampBasedRetentionTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _timestampBasedRetentionTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? TimestampBasedRetentionTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(TimestampBasedRetentionTimeRaw); + set => TimestampBasedRetentionTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj index f6f5803739a..bb17ebf0674 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1 Client Library - 1.68.0.3562 + 1.68.0.3575 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs index 050cca5d9d7..373baeb61bb 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs @@ -6819,6 +6819,45 @@ public class StorageDatabasecenterPartnerapiV1mainRetentionSettings : Google.Api [Newtonsoft.Json.JsonPropertyAttribute("timeBasedRetention")] public virtual object TimeBasedRetention { get; set; } + private string _timestampBasedRetentionTimeRaw; + + private object _timestampBasedRetentionTime; + + /// Timestamp based retention period i.e. 2024-05-01T00:00:00Z + [Newtonsoft.Json.JsonPropertyAttribute("timestampBasedRetentionTime")] + public virtual string TimestampBasedRetentionTimeRaw + { + get => _timestampBasedRetentionTimeRaw; + set + { + _timestampBasedRetentionTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _timestampBasedRetentionTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use TimestampBasedRetentionTimeDateTimeOffset instead.")] + public virtual object TimestampBasedRetentionTime + { + get => _timestampBasedRetentionTime; + set + { + _timestampBasedRetentionTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _timestampBasedRetentionTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? TimestampBasedRetentionTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(TimestampBasedRetentionTimeRaw); + set => TimestampBasedRetentionTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj index 040c58067bb..0d0bb1d833d 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1alpha Client Library - 1.68.0.3562 + 1.68.0.3575 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs index 5f87d96cecf..ed55578cb10 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs @@ -6761,6 +6761,45 @@ public class StorageDatabasecenterPartnerapiV1mainRetentionSettings : Google.Api [Newtonsoft.Json.JsonPropertyAttribute("timeBasedRetention")] public virtual object TimeBasedRetention { get; set; } + private string _timestampBasedRetentionTimeRaw; + + private object _timestampBasedRetentionTime; + + /// Timestamp based retention period i.e. 2024-05-01T00:00:00Z + [Newtonsoft.Json.JsonPropertyAttribute("timestampBasedRetentionTime")] + public virtual string TimestampBasedRetentionTimeRaw + { + get => _timestampBasedRetentionTimeRaw; + set + { + _timestampBasedRetentionTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _timestampBasedRetentionTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use TimestampBasedRetentionTimeDateTimeOffset instead.")] + public virtual object TimestampBasedRetentionTime + { + get => _timestampBasedRetentionTime; + set + { + _timestampBasedRetentionTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _timestampBasedRetentionTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? TimestampBasedRetentionTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(TimestampBasedRetentionTimeRaw); + set => TimestampBasedRetentionTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj index a6fe4a72d45..e863e631058 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1beta Client Library - 1.68.0.3562 + 1.68.0.3575 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudControlsPartnerService.v1/Google.Apis.CloudControlsPartnerService.v1.cs b/Src/Generated/Google.Apis.CloudControlsPartnerService.v1/Google.Apis.CloudControlsPartnerService.v1.cs index aeb9494fdea..51342dc7e10 100644 --- a/Src/Generated/Google.Apis.CloudControlsPartnerService.v1/Google.Apis.CloudControlsPartnerService.v1.cs +++ b/Src/Generated/Google.Apis.CloudControlsPartnerService.v1/Google.Apis.CloudControlsPartnerService.v1.cs @@ -988,6 +988,128 @@ protected override void InitParameters() } } + /// Creates a new customer. + /// The body of the request. + /// + /// Required. Parent resource Format: `organizations/{organization}/locations/{location}` + /// + public virtual CreateRequest Create(Google.Apis.CloudControlsPartnerService.v1.Data.Customer body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new customer. + public class CreateRequest : CloudControlsPartnerServiceBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudControlsPartnerService.v1.Data.Customer body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. Parent resource Format: `organizations/{organization}/locations/{location}` + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The customer id to use for the customer, which will become the final component of the + /// customer's resource name. The specified value must be a valid Google cloud organization id. + /// + [Google.Apis.Util.RequestParameterAttribute("customerId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string CustomerId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.CloudControlsPartnerService.v1.Data.Customer Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/customers"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("customerId", new Google.Apis.Discovery.Parameter + { + Name = "customerId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Delete details of a single customer + /// + /// Required. name of the resource to be deleted format: name=organizations/*/locations/*/customers/* + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Delete details of a single customer + public class DeleteRequest : CloudControlsPartnerServiceBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. name of the resource to be deleted format: + /// name=organizations/*/locations/*/customers/* + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+/customers/[^/]+$", + }); + } + } + /// Gets details of a single customer /// /// Required. Format: `organizations/{organization}/locations/{location}/customers/{customer}` @@ -1139,6 +1261,75 @@ protected override void InitParameters() }); } } + + /// Update details of a single customer + /// The body of the request. + /// + /// Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}` + /// + public virtual PatchRequest Patch(Google.Apis.CloudControlsPartnerService.v1.Data.Customer body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Update details of a single customer + public class PatchRequest : CloudControlsPartnerServiceBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudControlsPartnerService.v1.Data.Customer body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The list of fields to update + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.CloudControlsPartnerService.v1.Data.Customer Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+/customers/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// Get details of a Partner. @@ -1360,6 +1551,13 @@ public class Customer : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Output only. The customer organization domain, extracted from CRM Organization’s display_name field. e.g. + /// "google.com" + /// + [Newtonsoft.Json.JsonPropertyAttribute("organizationDomain")] + public virtual string OrganizationDomain { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -1523,6 +1721,17 @@ public class EkmMetadata : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical + /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc + /// Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + public class Empty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Remediation instructions to resolve violation via gcloud cli public class Gcloud : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudControlsPartnerService.v1/Google.Apis.CloudControlsPartnerService.v1.csproj b/Src/Generated/Google.Apis.CloudControlsPartnerService.v1/Google.Apis.CloudControlsPartnerService.v1.csproj index 115756f5778..2bcdd5ab6c6 100644 --- a/Src/Generated/Google.Apis.CloudControlsPartnerService.v1/Google.Apis.CloudControlsPartnerService.v1.csproj +++ b/Src/Generated/Google.Apis.CloudControlsPartnerService.v1/Google.Apis.CloudControlsPartnerService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudControlsPartnerService.v1 Client Library - 1.68.0.3534 + 1.68.0.3584 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudControlsPartnerService.v1beta/Google.Apis.CloudControlsPartnerService.v1beta.cs b/Src/Generated/Google.Apis.CloudControlsPartnerService.v1beta/Google.Apis.CloudControlsPartnerService.v1beta.cs index 7b526828521..5a396f46931 100644 --- a/Src/Generated/Google.Apis.CloudControlsPartnerService.v1beta/Google.Apis.CloudControlsPartnerService.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudControlsPartnerService.v1beta/Google.Apis.CloudControlsPartnerService.v1beta.cs @@ -988,6 +988,128 @@ protected override void InitParameters() } } + /// Creates a new customer. + /// The body of the request. + /// + /// Required. Parent resource Format: `organizations/{organization}/locations/{location}` + /// + public virtual CreateRequest Create(Google.Apis.CloudControlsPartnerService.v1beta.Data.Customer body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new customer. + public class CreateRequest : CloudControlsPartnerServiceBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudControlsPartnerService.v1beta.Data.Customer body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. Parent resource Format: `organizations/{organization}/locations/{location}` + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The customer id to use for the customer, which will become the final component of the + /// customer's resource name. The specified value must be a valid Google cloud organization id. + /// + [Google.Apis.Util.RequestParameterAttribute("customerId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string CustomerId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.CloudControlsPartnerService.v1beta.Data.Customer Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+parent}/customers"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("customerId", new Google.Apis.Discovery.Parameter + { + Name = "customerId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Delete details of a single customer + /// + /// Required. name of the resource to be deleted format: name=organizations/*/locations/*/customers/* + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Delete details of a single customer + public class DeleteRequest : CloudControlsPartnerServiceBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. name of the resource to be deleted format: + /// name=organizations/*/locations/*/customers/* + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+/customers/[^/]+$", + }); + } + } + /// Gets details of a single customer /// /// Required. Format: `organizations/{organization}/locations/{location}/customers/{customer}` @@ -1139,6 +1261,75 @@ protected override void InitParameters() }); } } + + /// Update details of a single customer + /// The body of the request. + /// + /// Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}` + /// + public virtual PatchRequest Patch(Google.Apis.CloudControlsPartnerService.v1beta.Data.Customer body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Update details of a single customer + public class PatchRequest : CloudControlsPartnerServiceBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudControlsPartnerService.v1beta.Data.Customer body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The list of fields to update + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.CloudControlsPartnerService.v1beta.Data.Customer Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+/customers/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// Get details of a Partner. @@ -1360,6 +1551,13 @@ public class Customer : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Output only. The customer organization domain, extracted from CRM Organization’s display_name field. e.g. + /// "google.com" + /// + [Newtonsoft.Json.JsonPropertyAttribute("organizationDomain")] + public virtual string OrganizationDomain { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -1523,6 +1721,17 @@ public class EkmMetadata : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical + /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc + /// Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + public class Empty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Remediation instructions to resolve violation via gcloud cli public class Gcloud : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudControlsPartnerService.v1beta/Google.Apis.CloudControlsPartnerService.v1beta.csproj b/Src/Generated/Google.Apis.CloudControlsPartnerService.v1beta/Google.Apis.CloudControlsPartnerService.v1beta.csproj index 4d55e56c007..49ad83abef8 100644 --- a/Src/Generated/Google.Apis.CloudControlsPartnerService.v1beta/Google.Apis.CloudControlsPartnerService.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudControlsPartnerService.v1beta/Google.Apis.CloudControlsPartnerService.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudControlsPartnerService.v1beta Client Library - 1.68.0.3534 + 1.68.0.3584 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs index 28ebd1968ca..22821acf7f9 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs @@ -15283,8 +15283,8 @@ public class ParserConfig : Google.Apis.Requests.IDirectResponseSchema public virtual SchemaPackage Schema { get; set; } /// - /// Byte(s) to use as the segment terminator. If this is unset, '\r' is used as segment terminator, matching the - /// HL7 version 2 specification. + /// Optional. Byte(s) to use as the segment terminator. If this is unset, '\r' is used as segment terminator, + /// matching the HL7 version 2 specification. /// [Newtonsoft.Json.JsonPropertyAttribute("segmentTerminator")] public virtual string SegmentTerminator { get; set; } diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj index f63aca76f24..5984da463d9 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudHealthcare.v1 Client Library - 1.68.0.3569 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.cs b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.cs index add32556165..6b57b097d8e 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.cs +++ b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.cs @@ -2037,45 +2037,6 @@ public class AOFConfig : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on - /// its behalf. - /// - public class AssetLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing - /// resource metadata. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ccfeRmsPath")] - public virtual string CcfeRmsPath { get; set; } - - /// - /// Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of - /// asset creation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("expected")] - public virtual IsolationExpectations Expected { get; set; } - - /// Defines extra parameters required for specific asset types. - [Newtonsoft.Json.JsonPropertyAttribute("extraParameters")] - public virtual System.Collections.Generic.IList ExtraParameters { get; set; } - - /// Contains all kinds of physical location definitions for this asset. - [Newtonsoft.Json.JsonPropertyAttribute("locationData")] - public virtual System.Collections.Generic.IList LocationData { get; set; } - - /// - /// Defines parents assets if any in order to allow later generation of child_asset_location data via child - /// assets. - /// - [Newtonsoft.Json.JsonPropertyAttribute("parentAsset")] - public virtual System.Collections.Generic.IList ParentAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Configuration for availability of database instance public class AvailabilityConfiguration : Google.Apis.Requests.IDirectResponseSchema { @@ -2224,19 +2185,6 @@ public virtual System.DateTimeOffset? StartTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Policy ID that identified data placement in Blobstore as per - /// go/blobstore-user-guide#data-metadata-placement-and-failure-domains - /// - public class BlobstoreLocation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("policyId")] - public virtual System.Collections.Generic.IList PolicyId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - public class CertChain : Google.Apis.Requests.IDirectResponseSchema { /// The certificates that form the CA chain, from leaf to root order. @@ -2264,27 +2212,6 @@ public class CertificateAuthority : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class CloudAsset : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("assetName")] - public virtual string AssetName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("assetType")] - public virtual string AssetType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class CloudAssetComposition : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("childAsset")] - public virtual System.Collections.Generic.IList ChildAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A cluster instance. public class Cluster : Google.Apis.Requests.IDirectResponseSchema { @@ -2295,6 +2222,10 @@ public class Cluster : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("authorizationMode")] public virtual string AuthorizationMode { get; set; } + /// Optional. A list of cluster enpoints. + [Newtonsoft.Json.JsonPropertyAttribute("clusterEndpoints")] + public virtual System.Collections.Generic.IList ClusterEndpoints { get; set; } + private string _createTimeRaw; private object _createTime; @@ -2378,7 +2309,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual System.Nullable PreciseSizeGb { get; set; } /// - /// Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for + /// Optional. Each PscConfig configures the consumer network where IPs will be designated to the cluster for /// client access through Private Service Connect Automation. Currently, only one PscConfig is supported. /// [Newtonsoft.Json.JsonPropertyAttribute("pscConfigs")] @@ -2390,6 +2321,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("pscConnections")] public virtual System.Collections.Generic.IList PscConnections { get; set; } + /// Output only. Service attachment details to configure Psc connections + [Newtonsoft.Json.JsonPropertyAttribute("pscServiceAttachments")] + public virtual System.Collections.Generic.IList PscServiceAttachments { get; set; } + /// Optional. Key/Value pairs of customer overrides for mutable Redis Configs [Newtonsoft.Json.JsonPropertyAttribute("redisConfigs")] public virtual System.Collections.Generic.IDictionary RedisConfigs { get; set; } @@ -2440,6 +2375,23 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the + /// cluster. In each group, there shall be one connection for each service attachment in the cluster. + /// + public class ClusterEndpoint : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A group of PSC connections. They are created in the same VPC network, one for each service attachment in the + /// cluster. + /// + [Newtonsoft.Json.JsonPropertyAttribute("connections")] + public virtual System.Collections.Generic.IList Connections { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Maintenance policy per cluster. public class ClusterMaintenancePolicy : Google.Apis.Requests.IDirectResponseSchema { @@ -2662,6 +2614,19 @@ public class Compliance : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Detailed information of each PSC connection. + public class ConnectionDetail : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Detailed information of a PSC connection that is created by the customer who owns the cluster. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pscConnection")] + public virtual PscConnection PscConnection { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Cross cluster replication config. public class CrossClusterReplicationConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -3238,15 +3203,6 @@ public virtual System.DateTimeOffset? LastRefreshTimeDateTimeOffset public virtual string ETag { get; set; } } - public class DirectLocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual System.Collections.Generic.IList Location { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Endpoints on each network, for Redis clients to connect to the cluster. public class DiscoveryEndpoint : Google.Apis.Requests.IDirectResponseSchema { @@ -3306,19 +3262,6 @@ public class ExportInstanceRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Defines parameters that should only be used for specific asset types. - public class ExtraParameter : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionalMigDistributionPolicy")] - public virtual RegionalMigDistributionPolicy RegionalMigDistributionPolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Request for Failover. public class FailoverInstanceRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -3815,48 +3758,6 @@ public class InternalResourceMetadata : Google.Apis.Requests.IDirectResponseSche public virtual string ETag { get; set; } } - public class IsolationExpectations : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS - /// verification logic. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requirementOverride")] - public virtual RequirementOverride RequirementOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziOrgPolicy")] - public virtual string ZiOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionPolicy")] - public virtual string ZiRegionPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionState")] - public virtual string ZiRegionState { get; set; } - - /// - /// Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as - /// per go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneIsolation")] - public virtual string ZoneIsolation { get; set; } - - /// - /// Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per - /// go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneSeparation")] - public virtual string ZoneSeparation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOrgPolicy")] - public virtual string ZsOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsRegionState")] - public virtual string ZsRegionState { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Response for ListClusters. public class ListClustersResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -3978,42 +3879,6 @@ public class Location : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class LocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual string Location { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("locationType")] - public virtual string LocationType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class LocationData : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("blobstoreLocation")] - public virtual BlobstoreLocation BlobstoreLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("childAssetLocation")] - public virtual CloudAssetComposition ChildAssetLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("directLocation")] - public virtual DirectLocationAssignment DirectLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("gcpProjectProxy")] - public virtual TenantProjectProxy GcpProjectProxy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("placerLocation")] - public virtual PlacerLocation PlacerLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("spannerLocation")] - public virtual SpannerLocation SpannerLocation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// MachineConfiguration describes the configuration of a machine specific to Database Resource. public class MachineConfiguration : Google.Apis.Requests.IDirectResponseSchema { @@ -4650,17 +4515,6 @@ public virtual System.DateTimeOffset? RdbSnapshotStartTimeDateTimeOffset public virtual string ETag { get; set; } } - /// Message describing that the location of the customer resource is tied to placer allocations - public class PlacerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - [Newtonsoft.Json.JsonPropertyAttribute("placerConfig")] - public virtual string PlacerConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Product specification for Condor resources. public class Product : Google.Apis.Requests.IDirectResponseSchema { @@ -4703,6 +4557,10 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("address")] public virtual string Address { get; set; } + /// Output only. Type of the PSC connection. + [Newtonsoft.Json.JsonPropertyAttribute("connectionType")] + public virtual string ConnectionType { get; set; } + /// /// Required. The URI of the consumer side forwarding rule. Example: /// projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}. @@ -4727,6 +4585,14 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("pscConnectionId")] public virtual string PscConnectionId { get; set; } + /// + /// Output only. The status of the PSC connection. Please note that this value is updated periodically. To get + /// the latest status of a PSC connection, follow + /// https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pscConnectionStatus")] + public virtual string PscConnectionStatus { get; set; } + /// /// Required. The service attachment which is the target of the PSC connection, in the form of /// projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}. @@ -4738,6 +4604,23 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Configuration of a service attachment of the cluster, for creating PSC connections. + public class PscServiceAttachment : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. Type of a PSC connection targeting this service attachment. + [Newtonsoft.Json.JsonPropertyAttribute("connectionType")] + public virtual string ConnectionType { get; set; } + + /// + /// Output only. Service attachment URI which your self-created PscConnection should use as target + /// + [Newtonsoft.Json.JsonPropertyAttribute("serviceAttachment")] + public virtual string ServiceAttachment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Configuration of the RDB based persistence. public class RDBConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -4806,26 +4689,6 @@ public class ReconciliationOperationMetadata : Google.Apis.Requests.IDirectRespo public virtual string ETag { get; set; } } - /// - /// To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager - /// instances - /// - public class RegionalMigDistributionPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The shape in which the group converges around distribution of resources. Instance of proto2 enum - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetShape")] - public virtual System.Nullable TargetShape { get; set; } - - /// Cloud zones used by regional MIG to create instances. - [Newtonsoft.Json.JsonPropertyAttribute("zones")] - public virtual System.Collections.Generic.IList Zones { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Details of the remote cluster associated with this cluster in a cross cluster replication setup. /// @@ -4845,18 +4708,6 @@ public class RemoteCluster : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class RequirementOverride : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("ziOverride")] - public virtual string ZiOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOverride")] - public virtual string ZsOverride { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Request for rescheduling a cluster maintenance. public class RescheduleClusterMaintenanceRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -4975,22 +4826,44 @@ public class RetentionSettings : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("timeBasedRetention")] public virtual object TimeBasedRetention { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + private string _timestampBasedRetentionTimeRaw; + + private object _timestampBasedRetentionTime; + + /// Timestamp based retention period i.e. 2024-05-01T00:00:00Z + [Newtonsoft.Json.JsonPropertyAttribute("timestampBasedRetentionTime")] + public virtual string TimestampBasedRetentionTimeRaw + { + get => _timestampBasedRetentionTimeRaw; + set + { + _timestampBasedRetentionTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _timestampBasedRetentionTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use TimestampBasedRetentionTimeDateTimeOffset instead.")] + public virtual object TimestampBasedRetentionTime + { + get => _timestampBasedRetentionTime; + set + { + _timestampBasedRetentionTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _timestampBasedRetentionTime = value; + } + } - public class SpannerLocation : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Set of backups used by the resource with name in the same format as what is available at - /// http://table/spanner_automon.backup_metadata + /// representation of . /// - [Newtonsoft.Json.JsonPropertyAttribute("backupName")] - public virtual System.Collections.Generic.IList BackupName { get; set; } - - /// Set of databases used by the resource in format /span// - [Newtonsoft.Json.JsonPropertyAttribute("dbName")] - public virtual System.Collections.Generic.IList DbName { get; set; } + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? TimestampBasedRetentionTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(TimestampBasedRetentionTimeRaw); + set => TimestampBasedRetentionTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } @@ -5050,15 +4923,6 @@ public class Tags : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class TenantProjectProxy : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("projectNumbers")] - public virtual System.Collections.Generic.IList ProjectNumbers { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API /// may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. @@ -5279,15 +5143,6 @@ public class WeeklyMaintenanceWindow : Google.Apis.Requests.IDirectResponseSchem public virtual string ETag { get; set; } } - public class ZoneConfiguration : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("zone")] - public virtual string Zone { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Zone distribution config for allocation of cluster resources. public class ZoneDistributionConfig : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj index 9f5c8cbce05..dd62bb0eb58 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRedis.v1 Client Library - 1.68.0.3563 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs index 672316aef7f..2b22def79bc 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs @@ -2037,45 +2037,6 @@ public class AOFConfig : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on - /// its behalf. - /// - public class AssetLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing - /// resource metadata. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ccfeRmsPath")] - public virtual string CcfeRmsPath { get; set; } - - /// - /// Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of - /// asset creation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("expected")] - public virtual IsolationExpectations Expected { get; set; } - - /// Defines extra parameters required for specific asset types. - [Newtonsoft.Json.JsonPropertyAttribute("extraParameters")] - public virtual System.Collections.Generic.IList ExtraParameters { get; set; } - - /// Contains all kinds of physical location definitions for this asset. - [Newtonsoft.Json.JsonPropertyAttribute("locationData")] - public virtual System.Collections.Generic.IList LocationData { get; set; } - - /// - /// Defines parents assets if any in order to allow later generation of child_asset_location data via child - /// assets. - /// - [Newtonsoft.Json.JsonPropertyAttribute("parentAsset")] - public virtual System.Collections.Generic.IList ParentAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Configuration for availability of database instance public class AvailabilityConfiguration : Google.Apis.Requests.IDirectResponseSchema { @@ -2224,19 +2185,6 @@ public virtual System.DateTimeOffset? StartTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Policy ID that identified data placement in Blobstore as per - /// go/blobstore-user-guide#data-metadata-placement-and-failure-domains - /// - public class BlobstoreLocation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("policyId")] - public virtual System.Collections.Generic.IList PolicyId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - public class CertChain : Google.Apis.Requests.IDirectResponseSchema { /// The certificates that form the CA chain, from leaf to root order. @@ -2264,27 +2212,6 @@ public class CertificateAuthority : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class CloudAsset : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("assetName")] - public virtual string AssetName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("assetType")] - public virtual string AssetType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class CloudAssetComposition : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("childAsset")] - public virtual System.Collections.Generic.IList ChildAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A cluster instance. public class Cluster : Google.Apis.Requests.IDirectResponseSchema { @@ -2295,6 +2222,10 @@ public class Cluster : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("authorizationMode")] public virtual string AuthorizationMode { get; set; } + /// Optional. A list of cluster enpoints. + [Newtonsoft.Json.JsonPropertyAttribute("clusterEndpoints")] + public virtual System.Collections.Generic.IList ClusterEndpoints { get; set; } + private string _createTimeRaw; private object _createTime; @@ -2378,7 +2309,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual System.Nullable PreciseSizeGb { get; set; } /// - /// Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for + /// Optional. Each PscConfig configures the consumer network where IPs will be designated to the cluster for /// client access through Private Service Connect Automation. Currently, only one PscConfig is supported. /// [Newtonsoft.Json.JsonPropertyAttribute("pscConfigs")] @@ -2390,6 +2321,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("pscConnections")] public virtual System.Collections.Generic.IList PscConnections { get; set; } + /// Output only. Service attachment details to configure Psc connections + [Newtonsoft.Json.JsonPropertyAttribute("pscServiceAttachments")] + public virtual System.Collections.Generic.IList PscServiceAttachments { get; set; } + /// Optional. Key/Value pairs of customer overrides for mutable Redis Configs [Newtonsoft.Json.JsonPropertyAttribute("redisConfigs")] public virtual System.Collections.Generic.IDictionary RedisConfigs { get; set; } @@ -2440,6 +2375,23 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the + /// cluster. In each group, there shall be one connection for each service attachment in the cluster. + /// + public class ClusterEndpoint : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A group of PSC connections. They are created in the same VPC network, one for each service attachment in the + /// cluster. + /// + [Newtonsoft.Json.JsonPropertyAttribute("connections")] + public virtual System.Collections.Generic.IList Connections { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Maintenance policy per cluster. public class ClusterMaintenancePolicy : Google.Apis.Requests.IDirectResponseSchema { @@ -2662,6 +2614,19 @@ public class Compliance : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Detailed information of each PSC connection. + public class ConnectionDetail : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Detailed information of a PSC connection that is created by the customer who owns the cluster. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pscConnection")] + public virtual PscConnection PscConnection { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Cross cluster replication config. public class CrossClusterReplicationConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -3238,15 +3203,6 @@ public virtual System.DateTimeOffset? LastRefreshTimeDateTimeOffset public virtual string ETag { get; set; } } - public class DirectLocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual System.Collections.Generic.IList Location { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Endpoints on each network, for Redis clients to connect to the cluster. public class DiscoveryEndpoint : Google.Apis.Requests.IDirectResponseSchema { @@ -3306,19 +3262,6 @@ public class ExportInstanceRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Defines parameters that should only be used for specific asset types. - public class ExtraParameter : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionalMigDistributionPolicy")] - public virtual RegionalMigDistributionPolicy RegionalMigDistributionPolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Request for Failover. public class FailoverInstanceRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -3819,48 +3762,6 @@ public class InternalResourceMetadata : Google.Apis.Requests.IDirectResponseSche public virtual string ETag { get; set; } } - public class IsolationExpectations : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS - /// verification logic. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requirementOverride")] - public virtual RequirementOverride RequirementOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziOrgPolicy")] - public virtual string ZiOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionPolicy")] - public virtual string ZiRegionPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionState")] - public virtual string ZiRegionState { get; set; } - - /// - /// Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as - /// per go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneIsolation")] - public virtual string ZoneIsolation { get; set; } - - /// - /// Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per - /// go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneSeparation")] - public virtual string ZoneSeparation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOrgPolicy")] - public virtual string ZsOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsRegionState")] - public virtual string ZsRegionState { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Response for ListClusters. public class ListClustersResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -3982,42 +3883,6 @@ public class Location : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class LocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual string Location { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("locationType")] - public virtual string LocationType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class LocationData : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("blobstoreLocation")] - public virtual BlobstoreLocation BlobstoreLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("childAssetLocation")] - public virtual CloudAssetComposition ChildAssetLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("directLocation")] - public virtual DirectLocationAssignment DirectLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("gcpProjectProxy")] - public virtual TenantProjectProxy GcpProjectProxy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("placerLocation")] - public virtual PlacerLocation PlacerLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("spannerLocation")] - public virtual SpannerLocation SpannerLocation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// MachineConfiguration describes the configuration of a machine specific to Database Resource. public class MachineConfiguration : Google.Apis.Requests.IDirectResponseSchema { @@ -4654,17 +4519,6 @@ public virtual System.DateTimeOffset? RdbSnapshotStartTimeDateTimeOffset public virtual string ETag { get; set; } } - /// Message describing that the location of the customer resource is tied to placer allocations - public class PlacerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - [Newtonsoft.Json.JsonPropertyAttribute("placerConfig")] - public virtual string PlacerConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Product specification for Condor resources. public class Product : Google.Apis.Requests.IDirectResponseSchema { @@ -4707,6 +4561,10 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("address")] public virtual string Address { get; set; } + /// Output only. Type of the PSC connection. + [Newtonsoft.Json.JsonPropertyAttribute("connectionType")] + public virtual string ConnectionType { get; set; } + /// /// Required. The URI of the consumer side forwarding rule. Example: /// projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}. @@ -4731,6 +4589,14 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("pscConnectionId")] public virtual string PscConnectionId { get; set; } + /// + /// Output only. The status of the PSC connection. Please note that this value is updated periodically. To get + /// the latest status of a PSC connection, follow + /// https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pscConnectionStatus")] + public virtual string PscConnectionStatus { get; set; } + /// /// Required. The service attachment which is the target of the PSC connection, in the form of /// projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}. @@ -4742,6 +4608,23 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Configuration of a service attachment of the cluster, for creating PSC connections. + public class PscServiceAttachment : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. Type of a PSC connection targeting this service attachment. + [Newtonsoft.Json.JsonPropertyAttribute("connectionType")] + public virtual string ConnectionType { get; set; } + + /// + /// Output only. Service attachment URI which your self-created PscConnection should use as target + /// + [Newtonsoft.Json.JsonPropertyAttribute("serviceAttachment")] + public virtual string ServiceAttachment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Configuration of the RDB based persistence. public class RDBConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -4810,26 +4693,6 @@ public class ReconciliationOperationMetadata : Google.Apis.Requests.IDirectRespo public virtual string ETag { get; set; } } - /// - /// To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager - /// instances - /// - public class RegionalMigDistributionPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The shape in which the group converges around distribution of resources. Instance of proto2 enum - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetShape")] - public virtual System.Nullable TargetShape { get; set; } - - /// Cloud zones used by regional MIG to create instances. - [Newtonsoft.Json.JsonPropertyAttribute("zones")] - public virtual System.Collections.Generic.IList Zones { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Details of the remote cluster associated with this cluster in a cross cluster replication setup. /// @@ -4849,18 +4712,6 @@ public class RemoteCluster : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class RequirementOverride : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("ziOverride")] - public virtual string ZiOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOverride")] - public virtual string ZsOverride { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Request for rescheduling a cluster maintenance. public class RescheduleClusterMaintenanceRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -5022,23 +4873,6 @@ public virtual System.DateTimeOffset? TimestampBasedRetentionTimeDateTimeOffset public virtual string ETag { get; set; } } - public class SpannerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Set of backups used by the resource with name in the same format as what is available at - /// http://table/spanner_automon.backup_metadata - /// - [Newtonsoft.Json.JsonPropertyAttribute("backupName")] - public virtual System.Collections.Generic.IList BackupName { get; set; } - - /// Set of databases used by the resource in format /span// - [Newtonsoft.Json.JsonPropertyAttribute("dbName")] - public virtual System.Collections.Generic.IList DbName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Represents additional information about the state of the cluster. public class StateInfo : Google.Apis.Requests.IDirectResponseSchema { @@ -5093,15 +4927,6 @@ public class Tags : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class TenantProjectProxy : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("projectNumbers")] - public virtual System.Collections.Generic.IList ProjectNumbers { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API /// may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. @@ -5322,15 +5147,6 @@ public class WeeklyMaintenanceWindow : Google.Apis.Requests.IDirectResponseSchem public virtual string ETag { get; set; } } - public class ZoneConfiguration : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("zone")] - public virtual string Zone { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Zone distribution config for allocation of cluster resources. public class ZoneDistributionConfig : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj index 619665d7de8..e2074ca90fa 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRedis.v1beta1 Client Library - 1.68.0.3570 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs index 572203a91ce..b7c73c2dbdf 100644 --- a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs +++ b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs @@ -35,6 +35,7 @@ public CloudchannelService() : this(new Google.Apis.Services.BaseClientService.I public CloudchannelService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + Integrators = new IntegratorsResource(this); Operations = new OperationsResource(this); Products = new ProductsResource(this); BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudchannel.googleapis.com/"); @@ -82,6 +83,9 @@ public static class ScopeConstants /// Gets the Accounts resource. public virtual AccountsResource Accounts { get; } + /// Gets the Integrators resource. + public virtual IntegratorsResource Integrators { get; } + /// Gets the Operations resource. public virtual OperationsResource Operations { get; } @@ -4740,7 +4744,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Optional. A token identifying a page of results beyond the first page. Obtained through - /// ListSkuGroupBillableSkus.next_page_token of the previous + /// ListSkuGroupBillableSkusResponse.next_page_token of the previous /// CloudChannelService.ListSkuGroupBillableSkus call. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] @@ -4840,7 +4844,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Optional. A token identifying a page of results beyond the first page. Obtained through - /// ListSkuGroups.next_page_token of the previous CloudChannelService.ListSkuGroups call. + /// ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -4958,28 +4962,31 @@ protected override void InitParameters() } /// - /// Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic created for this Channel - /// Services account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the - /// provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: - /// Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * - /// INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * - /// UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. - /// Return value: A list of service email addresses. + /// Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services + /// account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request + /// and the provided reseller account are different, or the impersonated user is not a super admin. * + /// INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource + /// doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + /// Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + /// Channel support. Return value: A list of service email addresses. /// - /// Optional. Resource name of the account. + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field + /// empty/unset. + /// public virtual ListSubscribersRequest ListSubscribers(string account) { return new ListSubscribersRequest(this.service, account); } /// - /// Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic created for this Channel - /// Services account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the - /// provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: - /// Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * - /// INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * - /// UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. - /// Return value: A list of service email addresses. + /// Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services + /// account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request + /// and the provided reseller account are different, or the impersonated user is not a super admin. * + /// INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource + /// doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + /// Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + /// Channel support. Return value: A list of service email addresses. /// public class ListSubscribersRequest : CloudchannelBaseServiceRequest { @@ -4990,10 +4997,20 @@ public ListSubscribersRequest(Google.Apis.Services.IClientService service, strin InitParameters(); } - /// Optional. Resource name of the account. + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this + /// field empty/unset. + /// [Google.Apis.Util.RequestParameterAttribute("account", Google.Apis.Util.RequestParameterType.Path)] public virtual string Account { get; private set; } + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this + /// field empty/unset. + /// + [Google.Apis.Util.RequestParameterAttribute("integrator", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Integrator { get; set; } + /// /// Optional. The maximum number of service accounts to return. The service may return fewer than this /// value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will @@ -5031,6 +5048,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+$", }); + RequestParameters.Add("integrator", new Google.Apis.Discovery.Parameter + { + Name = "integrator", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", @@ -5193,29 +5218,34 @@ protected override void InitParameters() } /// - /// Registers a service account with subscriber privileges on the Cloud Pub/Sub topic for this Channel Services - /// account. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * - /// PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, - /// or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing - /// or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud - /// Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud - /// Channel support. Return value: The topic name with the registered service email address. + /// Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services + /// account or integrator. After you create a subscriber, you get the events through SubscriberEvent Possible + /// error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account + /// are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request + /// parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the + /// backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the + /// backend. Contact Cloud Channel support. Return value: The topic name with the registered service email + /// address. /// /// The body of the request. - /// Optional. Resource name of the account. + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field + /// empty/unset. + /// public virtual RegisterRequest Register(Google.Apis.Cloudchannel.v1.Data.GoogleCloudChannelV1RegisterSubscriberRequest body, string account) { return new RegisterRequest(this.service, body, account); } /// - /// Registers a service account with subscriber privileges on the Cloud Pub/Sub topic for this Channel Services - /// account. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * - /// PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, - /// or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing - /// or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud - /// Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud - /// Channel support. Return value: The topic name with the registered service email address. + /// Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services + /// account or integrator. After you create a subscriber, you get the events through SubscriberEvent Possible + /// error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account + /// are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request + /// parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the + /// backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the + /// backend. Contact Cloud Channel support. Return value: The topic name with the registered service email + /// address. /// public class RegisterRequest : CloudchannelBaseServiceRequest { @@ -5227,7 +5257,10 @@ public RegisterRequest(Google.Apis.Services.IClientService service, Google.Apis. InitParameters(); } - /// Optional. Resource name of the account. + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this + /// field empty/unset. + /// [Google.Apis.Util.RequestParameterAttribute("account", Google.Apis.Util.RequestParameterType.Path)] public virtual string Account { get; private set; } @@ -5262,33 +5295,38 @@ protected override void InitParameters() } /// - /// Unregisters a service account with subscriber privileges on the Cloud Pub/Sub topic created for this Channel - /// Services account. If there are no service accounts left with subscriber privileges, this deletes the topic. - /// You can call ListSubscribers to check for these accounts. Possible error codes: * PERMISSION_DENIED: The - /// reseller account making the request and the provided reseller account are different, or the impersonated - /// user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * - /// NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in - /// the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in - /// the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email - /// address. Returns a success response if the service email address wasn't registered with the topic. + /// Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel + /// Services account or integrator. If there are no service accounts left with subscriber privileges, this + /// deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * + /// PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, + /// or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing + /// or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a + /// technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a + /// technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that + /// unregistered the service email address. Returns a success response if the service email address wasn't + /// registered with the topic. /// /// The body of the request. - /// Optional. Resource name of the account. + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field + /// empty/unset. + /// public virtual UnregisterRequest Unregister(Google.Apis.Cloudchannel.v1.Data.GoogleCloudChannelV1UnregisterSubscriberRequest body, string account) { return new UnregisterRequest(this.service, body, account); } /// - /// Unregisters a service account with subscriber privileges on the Cloud Pub/Sub topic created for this Channel - /// Services account. If there are no service accounts left with subscriber privileges, this deletes the topic. - /// You can call ListSubscribers to check for these accounts. Possible error codes: * PERMISSION_DENIED: The - /// reseller account making the request and the provided reseller account are different, or the impersonated - /// user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * - /// NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in - /// the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in - /// the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email - /// address. Returns a success response if the service email address wasn't registered with the topic. + /// Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel + /// Services account or integrator. If there are no service accounts left with subscriber privileges, this + /// deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * + /// PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, + /// or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing + /// or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a + /// technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a + /// technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that + /// unregistered the service email address. Returns a success response if the service email address wasn't + /// registered with the topic. /// public class UnregisterRequest : CloudchannelBaseServiceRequest { @@ -5300,7 +5338,10 @@ public UnregisterRequest(Google.Apis.Services.IClientService service, Google.Api InitParameters(); } - /// Optional. Resource name of the account. + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this + /// field empty/unset. + /// [Google.Apis.Util.RequestParameterAttribute("account", Google.Apis.Util.RequestParameterType.Path)] public virtual string Account { get; private set; } @@ -5335,6 +5376,293 @@ protected override void InitParameters() } } + /// The "integrators" collection of methods. + public class IntegratorsResource + { + private const string Resource = "integrators"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public IntegratorsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services + /// account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request + /// and the provided reseller account are different, or the impersonated user is not a super admin. * + /// INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource + /// doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + /// Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + /// Channel support. Return value: A list of service email addresses. + /// + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field + /// empty/unset. + /// + public virtual ListSubscribersRequest ListSubscribers(string integrator) + { + return new ListSubscribersRequest(this.service, integrator); + } + + /// + /// Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services + /// account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request + /// and the provided reseller account are different, or the impersonated user is not a super admin. * + /// INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource + /// doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + /// Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + /// Channel support. Return value: A list of service email addresses. + /// + public class ListSubscribersRequest : CloudchannelBaseServiceRequest + { + /// Constructs a new ListSubscribers request. + public ListSubscribersRequest(Google.Apis.Services.IClientService service, string integrator) : base(service) + { + Integrator = integrator; + InitParameters(); + } + + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this + /// field empty/unset. + /// + [Google.Apis.Util.RequestParameterAttribute("integrator", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Integrator { get; private set; } + + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this + /// field empty/unset. + /// + [Google.Apis.Util.RequestParameterAttribute("account", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Account { get; set; } + + /// + /// Optional. The maximum number of service accounts to return. The service may return fewer than this + /// value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will + /// coerce values above 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. A page token, received from a previous `ListSubscribers` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to `ListSubscribers` must match the call + /// that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "listSubscribers"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+integrator}:listSubscribers"; + + /// Initializes ListSubscribers parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("integrator", new Google.Apis.Discovery.Parameter + { + Name = "integrator", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^integrators/[^/]+$", + }); + RequestParameters.Add("account", new Google.Apis.Discovery.Parameter + { + Name = "account", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services + /// account or integrator. After you create a subscriber, you get the events through SubscriberEvent Possible + /// error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account + /// are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request + /// parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the + /// backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the + /// backend. Contact Cloud Channel support. Return value: The topic name with the registered service email + /// address. + /// + /// The body of the request. + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field + /// empty/unset. + /// + public virtual RegisterSubscriberRequest RegisterSubscriber(Google.Apis.Cloudchannel.v1.Data.GoogleCloudChannelV1RegisterSubscriberRequest body, string integrator) + { + return new RegisterSubscriberRequest(this.service, body, integrator); + } + + /// + /// Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services + /// account or integrator. After you create a subscriber, you get the events through SubscriberEvent Possible + /// error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account + /// are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request + /// parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the + /// backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the + /// backend. Contact Cloud Channel support. Return value: The topic name with the registered service email + /// address. + /// + public class RegisterSubscriberRequest : CloudchannelBaseServiceRequest + { + /// Constructs a new RegisterSubscriber request. + public RegisterSubscriberRequest(Google.Apis.Services.IClientService service, Google.Apis.Cloudchannel.v1.Data.GoogleCloudChannelV1RegisterSubscriberRequest body, string integrator) : base(service) + { + Integrator = integrator; + Body = body; + InitParameters(); + } + + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this + /// field empty/unset. + /// + [Google.Apis.Util.RequestParameterAttribute("integrator", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Integrator { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Cloudchannel.v1.Data.GoogleCloudChannelV1RegisterSubscriberRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "registerSubscriber"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+integrator}:registerSubscriber"; + + /// Initializes RegisterSubscriber parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("integrator", new Google.Apis.Discovery.Parameter + { + Name = "integrator", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^integrators/[^/]+$", + }); + } + } + + /// + /// Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel + /// Services account or integrator. If there are no service accounts left with subscriber privileges, this + /// deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * + /// PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, + /// or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing + /// or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a + /// technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a + /// technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that + /// unregistered the service email address. Returns a success response if the service email address wasn't + /// registered with the topic. + /// + /// The body of the request. + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field + /// empty/unset. + /// + public virtual UnregisterSubscriberRequest UnregisterSubscriber(Google.Apis.Cloudchannel.v1.Data.GoogleCloudChannelV1UnregisterSubscriberRequest body, string integrator) + { + return new UnregisterSubscriberRequest(this.service, body, integrator); + } + + /// + /// Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel + /// Services account or integrator. If there are no service accounts left with subscriber privileges, this + /// deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * + /// PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, + /// or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing + /// or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a + /// technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a + /// technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that + /// unregistered the service email address. Returns a success response if the service email address wasn't + /// registered with the topic. + /// + public class UnregisterSubscriberRequest : CloudchannelBaseServiceRequest + { + /// Constructs a new UnregisterSubscriber request. + public UnregisterSubscriberRequest(Google.Apis.Services.IClientService service, Google.Apis.Cloudchannel.v1.Data.GoogleCloudChannelV1UnregisterSubscriberRequest body, string integrator) : base(service) + { + Integrator = integrator; + Body = body; + InitParameters(); + } + + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this + /// field empty/unset. + /// + [Google.Apis.Util.RequestParameterAttribute("integrator", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Integrator { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Cloudchannel.v1.Data.GoogleCloudChannelV1UnregisterSubscriberRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "unregisterSubscriber"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+integrator}:unregisterSubscriber"; + + /// Initializes UnregisterSubscriber parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("integrator", new Google.Apis.Discovery.Parameter + { + Name = "integrator", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^integrators/[^/]+$", + }); + } + } + } + /// The "operations" collection of methods. public class OperationsResource { @@ -6055,7 +6383,7 @@ public class GoogleCloudChannelV1ChangeOfferRequest : Google.Apis.Requests.IDire public virtual string ETag { get; set; } } - /// Request message for CloudChannelService.ChangeParametersRequest. + /// Request message for CloudChannelService.ChangeParameters. public class GoogleCloudChannelV1ChangeParametersRequest : Google.Apis.Requests.IDirectResponseSchema { /// @@ -7447,8 +7775,8 @@ public class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse : Google.Apis. public virtual System.Collections.Generic.IList BillableSkus { get; set; } /// - /// A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkus.page_token to obtain that - /// page. + /// A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkusRequest.page_token to obtain + /// that page. /// [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } @@ -7461,7 +7789,7 @@ public class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse : Google.Apis. public class GoogleCloudChannelV1ListSkuGroupsResponse : Google.Apis.Requests.IDirectResponseSchema { /// - /// A token to retrieve the next page of results. Pass to ListSkuGroups.page_token to obtain that page. + /// A token to retrieve the next page of results. Pass to ListSkuGroupsRequest.page_token to obtain that page. /// [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } @@ -8137,6 +8465,20 @@ public class GoogleCloudChannelV1QueryEligibleBillingAccountsResponse : Google.A /// Request Message for RegisterSubscriber. public class GoogleCloudChannelV1RegisterSubscriberRequest : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field + /// empty/unset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("account")] + public virtual string Account { get; set; } + + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field + /// empty/unset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("integrator")] + public virtual string Integrator { get; set; } + /// Required. Service account that provides subscriber access to the registered topic. [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] public virtual string ServiceAccount { get; set; } @@ -8845,6 +9187,20 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset /// Request Message for UnregisterSubscriber. public class GoogleCloudChannelV1UnregisterSubscriberRequest : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field + /// empty/unset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("account")] + public virtual string Account { get; set; } + + /// + /// Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field + /// empty/unset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("integrator")] + public virtual string Integrator { get; set; } + /// Required. Service account to unregister from subscriber access to the topic. [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] public virtual string ServiceAccount { get; set; } diff --git a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj index 629fb20d1ff..f7632f2cb88 100644 --- a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj +++ b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Cloudchannel.v1 Client Library - 1.68.0.3580 + 1.68.0.3584 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs index f5d547bc8cc..ad51aa39c89 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs @@ -51245,6 +51245,161 @@ protected override void InitParameters() } } + /// Gets the current list of preconfigured Web Application Firewall (WAF) expressions. + public virtual ListPreconfiguredExpressionSetsRequest ListPreconfiguredExpressionSets() + { + return new ListPreconfiguredExpressionSetsRequest(this.service); + } + + /// Gets the current list of preconfigured Web Application Firewall (WAF) expressions. + public class ListPreconfiguredExpressionSetsRequest : ComputeBaseServiceRequest + { + /// Constructs a new ListPreconfiguredExpressionSets request. + public ListPreconfiguredExpressionSetsRequest(Google.Apis.Services.IClientService service) : base(service) + { + InitParameters(); + } + + /// + /// A filter expression that filters resources listed in the response. Most Compute resources support two + /// types of filter expressions: expressions that support regular expressions and expressions that follow + /// API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. + /// If you want to use AIP-160, your expression must specify the field name, an operator, and the value that + /// you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be + /// either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`. For example, if you are + /// filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying + /// `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For + /// example, to find all objects with `owner` label use: + /// ``` + /// labels.owner:* + /// ``` + /// You can also filter nested + /// fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only + /// if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based + /// on resource labels. To filter on multiple expressions, provide each separate expression within + /// parentheses. For example: + /// ``` + /// (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") + /// ``` + /// By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions + /// explicitly. For example: + /// ``` + /// (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + /// (scheduling.automaticRestart = true) + /// ``` + /// If you want to use a regular expression, use the `eq` (equal) + /// or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or + /// against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq + /// 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne + /// "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. + /// The literal value must match the entire field. For example, to filter for instances that do not end with + /// name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields + /// using regular expressions. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// The maximum number of results per page that should be returned. If the number of available results is + /// larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page + /// of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// + [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxResults { get; set; } + + /// + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on + /// the resource name. You can also sort results in descending order based on the creation timestamp using + /// `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse + /// chronological order (newest result first). Use this to sort resources like operations so that the newest + /// operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list + /// request to get the next page of results. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Parent ID for this request. + [Google.Apis.Util.RequestParameterAttribute("parentId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ParentId { get; set; } + + /// + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. + /// + [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ReturnPartialSuccess { get; set; } + + /// Gets the method name. + public override string MethodName => "listPreconfiguredExpressionSets"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "locations/global/securityPolicies/listPreconfiguredExpressionSets"; + + /// Initializes ListPreconfiguredExpressionSets parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter + { + Name = "maxResults", + IsRequired = false, + ParameterType = "query", + DefaultValue = "500", + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("parentId", new Google.Apis.Discovery.Parameter + { + Name = "parentId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter + { + Name = "returnPartialSuccess", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Moves the specified security policy. /// Name of the security policy to update. public virtual MoveRequest Move(string securityPolicy) @@ -107462,7 +107617,8 @@ public class AttachedDiskInitializeParams : Google.Apis.Requests.IDirectResponse /// }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", /// "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ /// "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - /// logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. + /// logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE + /// logging. /// public class AuditConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -110405,10 +110561,6 @@ public class BgpRouteNetworkLayerReachabilityInformation : Google.Apis.Requests. /// Associates `members`, or principals, with a `role`. public class Binding : Google.Apis.Requests.IDirectResponseSchema { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("bindingId")] - public virtual string BindingId { get; set; } - /// /// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding /// applies to the current request. If the condition evaluates to `false`, then this binding does not apply to @@ -111242,33 +111394,6 @@ public class DataData } } - /// This is deprecated and has no effect. Do not use. - public class Condition : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("iam")] - public virtual string Iam { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("op")] - public virtual string Op { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("svc")] - public virtual string Svc { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("sys")] - public virtual string Sys { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("values")] - public virtual System.Collections.Generic.IList Values { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A set of Confidential Instance options. public class ConfidentialInstanceConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -119131,7 +119256,7 @@ public class InstanceGroupManager : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// Named ports configured for the Instance Groups complementary to this Instance Group Manager. + /// [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. /// [Newtonsoft.Json.JsonPropertyAttribute("namedPorts")] public virtual System.Collections.Generic.IList NamedPorts { get; set; } @@ -126170,81 +126295,6 @@ public class LocationPolicyLocationConstraints : Google.Apis.Requests.IDirectRes public virtual string ETag { get; set; } } - /// This is deprecated and has no effect. Do not use. - public class LogConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("cloudAudit")] - public virtual LogConfigCloudAuditOptions CloudAudit { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("counter")] - public virtual LogConfigCounterOptions Counter { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("dataAccess")] - public virtual LogConfigDataAccessOptions DataAccess { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCloudAuditOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logName")] - public virtual string LogName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCounterOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("customFields")] - public virtual System.Collections.Generic.IList CustomFields { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("field")] - public virtual string Field { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("metric")] - public virtual string Metric { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCounterOptionsCustomField : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigDataAccessOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logMode")] - public virtual string LogMode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Represents a machine image resource. A machine image is a Compute Engine resource that stores all the /// configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) @@ -129535,20 +129585,20 @@ public class NetworkProfileNetworkFeatures : Google.Apis.Requests.IDirectRespons [Newtonsoft.Json.JsonPropertyAttribute("allowVpn")] public virtual string AllowVpn { get; set; } - /// Specifies which subnetwork purposes are supported. - [Newtonsoft.Json.JsonPropertyAttribute("allowedSubnetPurposes")] - public virtual System.Collections.Generic.IList AllowedSubnetPurposes { get; set; } - - /// Specifies which subnetwork stack types are supported. - [Newtonsoft.Json.JsonPropertyAttribute("allowedSubnetStackTypes")] - public virtual System.Collections.Generic.IList AllowedSubnetStackTypes { get; set; } - /// /// If set, limits the interface types that the network supports. If empty, all interface types are supported. /// [Newtonsoft.Json.JsonPropertyAttribute("interfaceTypes")] public virtual System.Collections.Generic.IList InterfaceTypes { get; set; } + /// Specifies which subnetwork purposes are supported. + [Newtonsoft.Json.JsonPropertyAttribute("subnetPurposes")] + public virtual System.Collections.Generic.IList SubnetPurposes { get; set; } + + /// Specifies which subnetwork stack types are supported. + [Newtonsoft.Json.JsonPropertyAttribute("subnetStackTypes")] + public virtual System.Collections.Generic.IList SubnetStackTypes { get; set; } + /// Specifies which type of unicast is supported. [Newtonsoft.Json.JsonPropertyAttribute("unicast")] public virtual string Unicast { get; set; } @@ -132796,10 +132846,6 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("etag")] public virtual string ETag { get; set; } - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } - /// /// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid /// value are rejected. Any operation that affects conditional role bindings must specify version `3`. This @@ -135955,8 +136001,8 @@ public class ReservationBlock : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// [Output Only] The physical topology of the reservation block. - [Newtonsoft.Json.JsonPropertyAttribute("physicalHostTopology")] - public virtual ReservationBlockPhysicalTopology PhysicalHostTopology { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("physicalTopology")] + public virtual ReservationBlockPhysicalTopology PhysicalTopology { get; set; } /// [Output Only] Maintenance information for this reservation block. [Newtonsoft.Json.JsonPropertyAttribute("reservationMaintenance")] @@ -136950,6 +136996,10 @@ public class ResourceStatus : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("physicalHost")] public virtual string PhysicalHost { get; set; } + /// [Output Only] The physical host topology of the host on which the VM is running. + [Newtonsoft.Json.JsonPropertyAttribute("physicalHostTopology")] + public virtual ResourceStatusPhysicalHostTopology PhysicalHostTopology { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("scheduling")] public virtual ResourceStatusScheduling Scheduling { get; set; } @@ -137039,6 +137089,25 @@ public class ResourceStatusLastInstanceTerminationDetails : Google.Apis.Requests public virtual string ETag { get; set; } } + /// Represents the physical host topology of the host on which the VM is running. + public class ResourceStatusPhysicalHostTopology : Google.Apis.Requests.IDirectResponseSchema + { + [Newtonsoft.Json.JsonPropertyAttribute("block")] + public virtual string Block { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("cluster")] + public virtual string Cluster { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("host")] + public virtual string Host { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("subblock")] + public virtual string Subblock { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class ResourceStatusScheduling : Google.Apis.Requests.IDirectResponseSchema { /// @@ -139060,41 +139129,6 @@ public class DataData } } - /// This is deprecated and has no effect. Do not use. - public class Rule : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual string Action { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("conditions")] - public virtual System.Collections.Generic.IList Conditions { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("ins")] - public virtual System.Collections.Generic.IList Ins { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logConfigs")] - public virtual System.Collections.Generic.IList LogConfigs { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("notIns")] - public virtual System.Collections.Generic.IList NotIns { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("permissions")] - public virtual System.Collections.Generic.IList Permissions { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - public class SSLHealthCheck : Google.Apis.Requests.IDirectResponseSchema { /// @@ -139424,6 +139458,15 @@ public class Scheduling : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("provisioningModel")] public virtual string ProvisioningModel { get; set; } + /// + /// Timeout between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off during shutdown operation of VM. For + /// Standard VMs values between 0s and 120s are allowed. For Spot and Preemptible VMs supported values are + /// between 0s and 30s. If no value is specified for shutdownDuration, default values are 90s for Standard VMs + /// and 30s for Spot/Preemptible VMs. + /// + [Newtonsoft.Json.JsonPropertyAttribute("shutdownTimeout")] + public virtual Duration ShutdownTimeout { get; set; } + /// /// Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the /// instance termination action will be performed at the termination time. diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj index 2125554f2f8..7ce81f214a3 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.alpha Client Library - 1.68.0.3568 + 1.68.0.3575 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs index 590b8997105..d7e82e1c6ff 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs @@ -113,6 +113,7 @@ public ComputeService(Google.Apis.Services.BaseClientService.Initializer initial RegionUrlMaps = new RegionUrlMapsResource(this); RegionZones = new RegionZonesResource(this); Regions = new RegionsResource(this); + ReservationBlocks = new ReservationBlocksResource(this); Reservations = new ReservationsResource(this); ResourcePolicies = new ResourcePoliciesResource(this); Routers = new RoutersResource(this); @@ -452,6 +453,9 @@ public static class ScopeConstants /// Gets the Regions resource. public virtual RegionsResource Regions { get; } + /// Gets the ReservationBlocks resource. + public virtual ReservationBlocksResource ReservationBlocks { get; } + /// Gets the Reservations resource. public virtual ReservationsResource Reservations { get; } @@ -46502,6 +46506,161 @@ protected override void InitParameters() } } + /// Gets the current list of preconfigured Web Application Firewall (WAF) expressions. + public virtual ListPreconfiguredExpressionSetsRequest ListPreconfiguredExpressionSets() + { + return new ListPreconfiguredExpressionSetsRequest(this.service); + } + + /// Gets the current list of preconfigured Web Application Firewall (WAF) expressions. + public class ListPreconfiguredExpressionSetsRequest : ComputeBaseServiceRequest + { + /// Constructs a new ListPreconfiguredExpressionSets request. + public ListPreconfiguredExpressionSetsRequest(Google.Apis.Services.IClientService service) : base(service) + { + InitParameters(); + } + + /// + /// A filter expression that filters resources listed in the response. Most Compute resources support two + /// types of filter expressions: expressions that support regular expressions and expressions that follow + /// API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. + /// If you want to use AIP-160, your expression must specify the field name, an operator, and the value that + /// you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be + /// either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`. For example, if you are + /// filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying + /// `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For + /// example, to find all objects with `owner` label use: + /// ``` + /// labels.owner:* + /// ``` + /// You can also filter nested + /// fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only + /// if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based + /// on resource labels. To filter on multiple expressions, provide each separate expression within + /// parentheses. For example: + /// ``` + /// (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") + /// ``` + /// By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions + /// explicitly. For example: + /// ``` + /// (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + /// (scheduling.automaticRestart = true) + /// ``` + /// If you want to use a regular expression, use the `eq` (equal) + /// or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or + /// against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq + /// 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne + /// "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. + /// The literal value must match the entire field. For example, to filter for instances that do not end with + /// name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields + /// using regular expressions. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// The maximum number of results per page that should be returned. If the number of available results is + /// larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page + /// of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// + [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxResults { get; set; } + + /// + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on + /// the resource name. You can also sort results in descending order based on the creation timestamp using + /// `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse + /// chronological order (newest result first). Use this to sort resources like operations so that the newest + /// operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list + /// request to get the next page of results. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Parent ID for this request. + [Google.Apis.Util.RequestParameterAttribute("parentId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ParentId { get; set; } + + /// + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. + /// + [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ReturnPartialSuccess { get; set; } + + /// Gets the method name. + public override string MethodName => "listPreconfiguredExpressionSets"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "locations/global/securityPolicies/listPreconfiguredExpressionSets"; + + /// Initializes ListPreconfiguredExpressionSets parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter + { + Name = "maxResults", + IsRequired = false, + ParameterType = "query", + DefaultValue = "500", + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("parentId", new Google.Apis.Discovery.Parameter + { + Name = "parentId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter + { + Name = "returnPartialSuccess", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Moves the specified security policy. /// Name of the security policy to update. public virtual MoveRequest Move(string securityPolicy) @@ -72526,40 +72685,44 @@ protected override void InitParameters() } } - /// The "reservations" collection of methods. - public class ReservationsResource + /// The "reservationBlocks" collection of methods. + public class ReservationBlocksResource { - private const string Resource = "reservations"; + private const string Resource = "reservationBlocks"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. - public ReservationsResource(Google.Apis.Services.IClientService service) + public ReservationBlocksResource(Google.Apis.Services.IClientService service) { this.service = service; } - /// - /// Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the - /// `returnPartialSuccess` parameter to `true`. - /// + /// Retrieves information about the specified reservation block. /// Project ID for this request. - public virtual AggregatedListRequest AggregatedList(string project) + /// Name of the zone for this request. Zone name should conform to RFC1035. + /// + /// The name of the reservation. Name should conform to RFC1035 or be a resource ID. + /// + /// + /// The name of the reservation block. Name should conform to RFC1035 or be a resource ID. + /// + public virtual GetRequest Get(string project, string zone, string reservation, string reservationBlock) { - return new AggregatedListRequest(this.service, project); + return new GetRequest(this.service, project, zone, reservation, reservationBlock); } - /// - /// Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the - /// `returnPartialSuccess` parameter to `true`. - /// - public class AggregatedListRequest : ComputeBaseServiceRequest + /// Retrieves information about the specified reservation block. + public class GetRequest : ComputeBaseServiceRequest { - /// Constructs a new AggregatedList request. - public AggregatedListRequest(Google.Apis.Services.IClientService service, string project) : base(service) + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string project, string zone, string reservation, string reservationBlock) : base(service) { Project = project; + Zone = zone; + Reservation = reservation; + ReservationBlock = reservationBlock; InitParameters(); } @@ -72567,6 +72730,103 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } + /// Name of the zone for this request. Zone name should conform to RFC1035. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// The name of the reservation. Name should conform to RFC1035 or be a resource ID. + [Google.Apis.Util.RequestParameterAttribute("reservation", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Reservation { get; private set; } + + /// + /// The name of the reservation block. Name should conform to RFC1035 or be a resource ID. + /// + [Google.Apis.Util.RequestParameterAttribute("reservationBlock", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ReservationBlock { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("reservation", new Google.Apis.Discovery.Parameter + { + Name = "reservation", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("reservationBlock", new Google.Apis.Discovery.Parameter + { + Name = "reservationBlock", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Retrieves a list of reservation blocks under a single reservation. + /// Project ID for this request. + /// Name of the zone for this request. Zone name should conform to RFC1035. + /// + /// The name of the reservation. Name should conform to RFC1035 or be a resource ID. + /// + public virtual ListRequest List(string project, string zone, string reservation) + { + return new ListRequest(this.service, project, zone, reservation); + } + + /// Retrieves a list of reservation blocks under a single reservation. + public class ListRequest : ComputeBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string project, string zone, string reservation) : base(service) + { + Project = project; + Zone = zone; + Reservation = reservation; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Name of the zone for this request. Zone name should conform to RFC1035. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// The name of the reservation. Name should conform to RFC1035 or be a resource ID. + [Google.Apis.Util.RequestParameterAttribute("reservation", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Reservation { get; private set; } + /// /// A filter expression that filters resources listed in the response. Most Compute resources support two /// types of filter expressions: expressions that support regular expressions and expressions that follow @@ -72606,16 +72866,210 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } - /// - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in - /// the response. For new resource types added after this field, the flag has no effect as new resource - /// types will always include every visible scope for each scope type in response. For resource types which - /// predate this field, if this flag is omitted or false, only scopes of the scope types where the resource - /// type is expected to be found will be included. - /// - [Google.Apis.Util.RequestParameterAttribute("includeAllScopes", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable IncludeAllScopes { get; set; } - + /// + /// The maximum number of results per page that should be returned. If the number of available results is + /// larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page + /// of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// + [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxResults { get; set; } + + /// + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on + /// the resource name. You can also sort results in descending order based on the creation timestamp using + /// `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse + /// chronological order (newest result first). Use this to sort resources like operations so that the newest + /// operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list + /// request to get the next page of results. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. + /// + [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ReturnPartialSuccess { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("reservation", new Google.Apis.Discovery.Parameter + { + Name = "reservation", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter + { + Name = "maxResults", + IsRequired = false, + ParameterType = "query", + DefaultValue = "500", + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter + { + Name = "returnPartialSuccess", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// The "reservations" collection of methods. + public class ReservationsResource + { + private const string Resource = "reservations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ReservationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// + /// Project ID for this request. + public virtual AggregatedListRequest AggregatedList(string project) + { + return new AggregatedListRequest(this.service, project); + } + + /// + /// Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// + public class AggregatedListRequest : ComputeBaseServiceRequest + { + /// Constructs a new AggregatedList request. + public AggregatedListRequest(Google.Apis.Services.IClientService service, string project) : base(service) + { + Project = project; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// + /// A filter expression that filters resources listed in the response. Most Compute resources support two + /// types of filter expressions: expressions that support regular expressions and expressions that follow + /// API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. + /// If you want to use AIP-160, your expression must specify the field name, an operator, and the value that + /// you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be + /// either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`. For example, if you are + /// filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying + /// `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For + /// example, to find all objects with `owner` label use: + /// ``` + /// labels.owner:* + /// ``` + /// You can also filter nested + /// fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only + /// if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based + /// on resource labels. To filter on multiple expressions, provide each separate expression within + /// parentheses. For example: + /// ``` + /// (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") + /// ``` + /// By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions + /// explicitly. For example: + /// ``` + /// (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + /// (scheduling.automaticRestart = true) + /// ``` + /// If you want to use a regular expression, use the `eq` (equal) + /// or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or + /// against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq + /// 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne + /// "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. + /// The literal value must match the entire field. For example, to filter for instances that do not end with + /// name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields + /// using regular expressions. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in + /// the response. For new resource types added after this field, the flag has no effect as new resource + /// types will always include every visible scope for each scope type in response. For resource types which + /// predate this field, if this flag is omitted or false, only scopes of the scope types where the resource + /// type is expected to be found will be included. + /// + [Google.Apis.Util.RequestParameterAttribute("includeAllScopes", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IncludeAllScopes { get; set; } + /// /// The maximum number of results per page that should be returned. If the number of available results is /// larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page @@ -96837,6 +97291,14 @@ public class AllocationReservationSharingPolicy : Google.Apis.Requests.IDirectRe /// [Output Only] Contains output only fields. public class AllocationResourceStatus : Google.Apis.Requests.IDirectResponseSchema { + /// The number of reservation blocks associated with this reservation. + [Newtonsoft.Json.JsonPropertyAttribute("reservationBlockCount")] + public virtual System.Nullable ReservationBlockCount { get; set; } + + /// Maintenance information for this reservation + [Newtonsoft.Json.JsonPropertyAttribute("reservationMaintenance")] + public virtual GroupMaintenanceInfo ReservationMaintenance { get; set; } + /// Allocation Properties of this reservation. [Newtonsoft.Json.JsonPropertyAttribute("specificSkuAllocation")] public virtual AllocationResourceStatusSpecificSKUAllocation SpecificSkuAllocation { get; set; } @@ -97295,7 +97757,8 @@ public class AttachedDiskInitializeParams : Google.Apis.Requests.IDirectResponse /// }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", /// "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ /// "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - /// logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. + /// logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE + /// logging. /// public class AuditConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -99881,10 +100344,6 @@ public class BgpRouteNetworkLayerReachabilityInformation : Google.Apis.Requests. /// Associates `members`, or principals, with a `role`. public class Binding : Google.Apis.Requests.IDirectResponseSchema { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("bindingId")] - public virtual string BindingId { get; set; } - /// /// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding /// applies to the current request. If the condition evaluates to `false`, then this binding does not apply to @@ -100597,33 +101056,6 @@ public class DataData } } - /// This is deprecated and has no effect. Do not use. - public class Condition : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("iam")] - public virtual string Iam { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("op")] - public virtual string Op { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("svc")] - public virtual string Svc { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("sys")] - public virtual string Sys { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("values")] - public virtual System.Collections.Generic.IList Values { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A set of Confidential Instance options. public class ConfidentialInstanceConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -104022,18 +104454,33 @@ public class FutureReservation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("creationTimestamp")] public virtual string CreationTimestamp { get; set; } + /// Type of the deployment requested as part of future reservation. + [Newtonsoft.Json.JsonPropertyAttribute("deploymentType")] + public virtual string DeploymentType { get; set; } + /// /// An optional description of this resource. Provide this property when you create the future reservation. /// [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// + /// Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the FR by + /// customers, and will be used for reservation and reservation block maintenance . + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableOpportunisticMaintenance")] + public virtual System.Nullable EnableOpportunisticMaintenance { get; set; } + /// /// [Output Only] A unique identifier for this future reservation. The server defines this identifier. /// [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual System.Nullable Id { get; set; } + /// Action to take during reservation termination. + [Newtonsoft.Json.JsonPropertyAttribute("instanceTerminationAction")] + public virtual string InstanceTerminationAction { get; set; } + /// /// [Output Only] Type of the resource. Always compute#futureReservation for future reservations. /// @@ -104062,6 +104509,19 @@ public class FutureReservation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("planningStatus")] public virtual string PlanningStatus { get; set; } + /// + /// Name of reservations where the capacity is provisioned at the time of delivery of future reservations. If + /// the reservation with the given name does not exist already, it is created automatically at the time of + /// Approval with INACTIVE state till specified start-time. Either provide the reservation_name or a + /// name_prefix. + /// + [Newtonsoft.Json.JsonPropertyAttribute("reservationName")] + public virtual string ReservationName { get; set; } + + /// Maintenance information for this reservation + [Newtonsoft.Json.JsonPropertyAttribute("schedulingType")] + public virtual string SchedulingType { get; set; } + /// [Output Only] Server-defined fully-qualified URL for this resource. [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] public virtual string SelfLink { get; set; } @@ -104074,6 +104534,14 @@ public class FutureReservation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("shareSettings")] public virtual ShareSettings ShareSettings { get; set; } + /// + /// Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation. + /// If the field is set, then only VMs that target the reservation by name can consume from the delivered + /// reservation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("specificReservationRequired")] + public virtual System.Nullable SpecificReservationRequired { get; set; } + /// Future Reservation configuration to indicate instance properties and total count. [Newtonsoft.Json.JsonPropertyAttribute("specificSkuProperties")] public virtual FutureReservationSpecificSKUProperties SpecificSkuProperties { get; set; } @@ -104646,6 +105114,42 @@ public class GlobalSetPolicyRequest : Google.Apis.Requests.IDirectResponseSchema public virtual Policy Policy { get; set; } } + /// Maintenance Info for ReservationBlocks. + public class GroupMaintenanceInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// This setting enables or disables opportunistic maintenance. If enabled, maintenance is performed on unused + /// reservations whenever possible. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableOpportunisticMaintenance")] + public virtual System.Nullable EnableOpportunisticMaintenance { get; set; } + + /// + /// Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that + /// have ongoing maintenance. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceOngoingCount")] + public virtual System.Nullable MaintenanceOngoingCount { get; set; } + + /// + /// Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that + /// have pending maintenance. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maintenancePendingCount")] + public virtual System.Nullable MaintenancePendingCount { get; set; } + + /// The type of maintenance for the reservation. + [Newtonsoft.Json.JsonPropertyAttribute("schedulingType")] + public virtual string SchedulingType { get; set; } + + /// Maintenance information on this group of VMs. + [Newtonsoft.Json.JsonPropertyAttribute("upcomingGroupMaintenance")] + public virtual UpcomingMaintenance UpcomingGroupMaintenance { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A guest attributes entry. public class GuestAttributes : Google.Apis.Requests.IDirectResponseSchema { @@ -107825,7 +108329,7 @@ public class InstanceGroupManager : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// Named ports configured for the Instance Groups complementary to this Instance Group Manager. + /// [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. /// [Newtonsoft.Json.JsonPropertyAttribute("namedPorts")] public virtual System.Collections.Generic.IList NamedPorts { get; set; } @@ -113216,81 +113720,6 @@ public class LocationPolicyLocationConstraints : Google.Apis.Requests.IDirectRes public virtual string ETag { get; set; } } - /// This is deprecated and has no effect. Do not use. - public class LogConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("cloudAudit")] - public virtual LogConfigCloudAuditOptions CloudAudit { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("counter")] - public virtual LogConfigCounterOptions Counter { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("dataAccess")] - public virtual LogConfigDataAccessOptions DataAccess { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCloudAuditOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logName")] - public virtual string LogName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCounterOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("customFields")] - public virtual System.Collections.Generic.IList CustomFields { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("field")] - public virtual string Field { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("metric")] - public virtual string Metric { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCounterOptionsCustomField : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigDataAccessOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logMode")] - public virtual string LogMode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Represents a machine image resource. A machine image is a Compute Engine resource that stores all the /// configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) @@ -116228,20 +116657,20 @@ public class NetworkProfileNetworkFeatures : Google.Apis.Requests.IDirectRespons [Newtonsoft.Json.JsonPropertyAttribute("allowVpn")] public virtual string AllowVpn { get; set; } - /// Specifies which subnetwork purposes are supported. - [Newtonsoft.Json.JsonPropertyAttribute("allowedSubnetPurposes")] - public virtual System.Collections.Generic.IList AllowedSubnetPurposes { get; set; } - - /// Specifies which subnetwork stack types are supported. - [Newtonsoft.Json.JsonPropertyAttribute("allowedSubnetStackTypes")] - public virtual System.Collections.Generic.IList AllowedSubnetStackTypes { get; set; } - /// /// If set, limits the interface types that the network supports. If empty, all interface types are supported. /// [Newtonsoft.Json.JsonPropertyAttribute("interfaceTypes")] public virtual System.Collections.Generic.IList InterfaceTypes { get; set; } + /// Specifies which subnetwork purposes are supported. + [Newtonsoft.Json.JsonPropertyAttribute("subnetPurposes")] + public virtual System.Collections.Generic.IList SubnetPurposes { get; set; } + + /// Specifies which subnetwork stack types are supported. + [Newtonsoft.Json.JsonPropertyAttribute("subnetStackTypes")] + public virtual System.Collections.Generic.IList SubnetStackTypes { get; set; } + /// Specifies which type of unicast is supported. [Newtonsoft.Json.JsonPropertyAttribute("unicast")] public virtual string Unicast { get; set; } @@ -119215,10 +119644,6 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("etag")] public virtual string ETag { get; set; } - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } - /// /// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid /// value are rejected. Any operation that affects conditional role bindings must specify version `3`. This @@ -121542,6 +121967,10 @@ public class Reservation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("deleteAtTime")] public virtual string DeleteAtTime { get; set; } + /// Specifies the deployment strategy for this reservation. + [Newtonsoft.Json.JsonPropertyAttribute("deploymentType")] + public virtual string DeploymentType { get; set; } + /// /// An optional description of this resource. Provide this property when you create the resource. /// @@ -121554,6 +121983,13 @@ public class Reservation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual System.Nullable Id { get; set; } + /// + /// Instance termination action is invoked when the reservation is deleted. This only applies to reservations + /// with a Deployment type. + /// + [Newtonsoft.Json.JsonPropertyAttribute("instanceTerminationAction")] + public virtual string InstanceTerminationAction { get; set; } + /// [Output Only] Type of the resource. Always compute#reservations for reservations. [Newtonsoft.Json.JsonPropertyAttribute("kind")] public virtual string Kind { get; set; } @@ -121743,6 +122179,171 @@ public class DataData } } + /// Represents a reservation block resource. + public class ReservationBlock : Google.Apis.Requests.IDirectResponseSchema + { + /// [Output Only] The number of resources that are allocated in this reservation block. + [Newtonsoft.Json.JsonPropertyAttribute("count")] + public virtual System.Nullable Count { get; set; } + + /// [Output Only] Creation timestamp in RFC3339 text format. + [Newtonsoft.Json.JsonPropertyAttribute("creationTimestamp")] + public virtual string CreationTimestamp { get; set; } + + /// + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual System.Nullable Id { get; set; } + + /// + /// [Output Only] The number of instances that are currently in use on this reservation block. + /// + [Newtonsoft.Json.JsonPropertyAttribute("inUseCount")] + public virtual System.Nullable InUseCount { get; set; } + + /// + /// [Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks. + /// + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// + /// [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 + /// characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// [Output Only] The physical topology of the reservation block. + [Newtonsoft.Json.JsonPropertyAttribute("physicalTopology")] + public virtual ReservationBlockPhysicalTopology PhysicalTopology { get; set; } + + /// [Output Only] Maintenance information for this reservation block. + [Newtonsoft.Json.JsonPropertyAttribute("reservationMaintenance")] + public virtual GroupMaintenanceInfo ReservationMaintenance { get; set; } + + /// [Output Only] Server-defined fully-qualified URL for this resource. + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + + /// [Output Only] Server-defined URL for this resource with the resource id. + [Newtonsoft.Json.JsonPropertyAttribute("selfLinkWithId")] + public virtual string SelfLinkWithId { get; set; } + + /// [Output Only] Status of the reservation block. + [Newtonsoft.Json.JsonPropertyAttribute("status")] + public virtual string Status { get; set; } + + /// [Output Only] Zone in which the reservation block resides. + [Newtonsoft.Json.JsonPropertyAttribute("zone")] + public virtual string Zone { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class ReservationBlockPhysicalTopology : Google.Apis.Requests.IDirectResponseSchema + { + /// The hash of the capacity block within the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("block")] + public virtual string Block { get; set; } + + /// The cluster name of the reservation block. + [Newtonsoft.Json.JsonPropertyAttribute("cluster")] + public virtual string Cluster { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class ReservationBlocksGetResponse : Google.Apis.Requests.IDirectResponseSchema + { + [Newtonsoft.Json.JsonPropertyAttribute("resource")] + public virtual ReservationBlock Resource { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A list of reservation blocks under a single reservation. + public class ReservationBlocksListResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Unique identifier for the resource; defined by the server. + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual string Id { get; set; } + + /// A list of reservation block resources. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// Type of the resource. Always compute#reservationBlock for a list of reservation blocks. + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// + /// This token allows you to get the next page of results for list requests. If the number of results is larger + /// than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list + /// request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Server-defined URL for this resource. + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + + /// Informational warning message. + [Newtonsoft.Json.JsonPropertyAttribute("warning")] + public virtual WarningData Warning { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + + /// Informational warning message. + public class WarningData + { + /// + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if + /// there are no results in the response. + /// + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual string Code { get; set; } + + /// + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", + /// "value": "zones/us-east1-d" } + /// + [Newtonsoft.Json.JsonPropertyAttribute("data")] + public virtual System.Collections.Generic.IList Data { get; set; } + + /// [Output Only] A human-readable description of the warning code. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", + /// "value": "zones/us-east1-d" } + /// + public class DataData + { + /// + /// [Output Only] A key that provides more detail on the warning being returned. For example, for + /// warnings where there are no results in a list request for a particular zone, this key might be scope + /// and the key value might be the zone name. Other examples might be a key indicating a deprecated + /// resource and a suggested replacement, or a warning about invalid network settings (for example, if + /// an instance attempts to perform IP forwarding but is not enabled for IP forwarding). + /// + [Newtonsoft.Json.JsonPropertyAttribute("key")] + public virtual string Key { get; set; } + + /// [Output Only] A warning data value corresponding to the key. + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + } + } + } + public class ReservationList : Google.Apis.Requests.IDirectResponseSchema { /// @@ -124335,41 +124936,6 @@ public class DataData } } - /// This is deprecated and has no effect. Do not use. - public class Rule : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual string Action { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("conditions")] - public virtual System.Collections.Generic.IList Conditions { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("ins")] - public virtual System.Collections.Generic.IList Ins { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logConfigs")] - public virtual System.Collections.Generic.IList LogConfigs { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("notIns")] - public virtual System.Collections.Generic.IList NotIns { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("permissions")] - public virtual System.Collections.Generic.IList Permissions { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - public class SSLHealthCheck : Google.Apis.Requests.IDirectResponseSchema { /// diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj index ea0f8d07543..06908da857e 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.beta Client Library - 1.68.0.3568 + 1.68.0.3575 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs index 9a7cc885966..988809fd6db 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs @@ -86573,7 +86573,8 @@ public class AttachedDiskInitializeParams : Google.Apis.Requests.IDirectResponse /// }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", /// "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ /// "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - /// logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. + /// logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE + /// logging. /// public class AuditConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -88982,10 +88983,6 @@ public class BfdStatusPacketCounts : Google.Apis.Requests.IDirectResponseSchema /// Associates `members`, or principals, with a `role`. public class Binding : Google.Apis.Requests.IDirectResponseSchema { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("bindingId")] - public virtual string BindingId { get; set; } - /// /// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding /// applies to the current request. If the condition evaluates to `false`, then this binding does not apply to @@ -89680,33 +89677,6 @@ public class DataData } } - /// This is deprecated and has no effect. Do not use. - public class Condition : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("iam")] - public virtual string Iam { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("op")] - public virtual string Op { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("svc")] - public virtual string Svc { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("sys")] - public virtual string Sys { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("values")] - public virtual System.Collections.Generic.IList Values { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A set of Confidential Instance options. public class ConfidentialInstanceConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -96123,6 +96093,13 @@ public class InstanceGroupManager : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual System.Nullable Id { get; set; } + /// + /// Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility + /// configuration on MIG overrides instance template configuration. + /// + [Newtonsoft.Json.JsonPropertyAttribute("instanceFlexibilityPolicy")] + public virtual InstanceGroupManagerInstanceFlexibilityPolicy InstanceFlexibilityPolicy { get; set; } + /// [Output Only] The URL of the Instance Group resource. [Newtonsoft.Json.JsonPropertyAttribute("instanceGroup")] public virtual string InstanceGroup { get; set; } @@ -96159,7 +96136,7 @@ public class InstanceGroupManager : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// Named ports configured for the Instance Groups complementary to this Instance Group Manager. + /// [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. /// [Newtonsoft.Json.JsonPropertyAttribute("namedPorts")] public virtual System.Collections.Generic.IList NamedPorts { get; set; } @@ -96451,6 +96428,36 @@ public class InstanceGroupManagerAutoHealingPolicy : Google.Apis.Requests.IDirec public virtual string ETag { get; set; } } + public class InstanceGroupManagerInstanceFlexibilityPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Named instance selections configuring properties that the group will use when creating new VMs. + /// + [Newtonsoft.Json.JsonPropertyAttribute("instanceSelections")] + public virtual System.Collections.Generic.IDictionary InstanceSelections { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection : Google.Apis.Requests.IDirectResponseSchema + { + /// Full machine-type names, e.g. "n1-standard-16". + [Newtonsoft.Json.JsonPropertyAttribute("machineTypes")] + public virtual System.Collections.Generic.IList MachineTypes { get; set; } + + /// + /// Preference of this instance selection. Lower number means higher preference. MIG will first try to create a + /// VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types + /// and instance selections with the same rank have the same preference. + /// + [Newtonsoft.Json.JsonPropertyAttribute("rank")] + public virtual System.Nullable Rank { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class InstanceGroupManagerInstanceLifecyclePolicy : Google.Apis.Requests.IDirectResponseSchema { /// @@ -101138,81 +101145,6 @@ public class LocationPolicyLocationConstraints : Google.Apis.Requests.IDirectRes public virtual string ETag { get; set; } } - /// This is deprecated and has no effect. Do not use. - public class LogConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("cloudAudit")] - public virtual LogConfigCloudAuditOptions CloudAudit { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("counter")] - public virtual LogConfigCounterOptions Counter { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("dataAccess")] - public virtual LogConfigDataAccessOptions DataAccess { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCloudAuditOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logName")] - public virtual string LogName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCounterOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("customFields")] - public virtual System.Collections.Generic.IList CustomFields { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("field")] - public virtual string Field { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("metric")] - public virtual string Metric { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigCounterOptionsCustomField : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// This is deprecated and has no effect. Do not use. - public class LogConfigDataAccessOptions : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logMode")] - public virtual string LogMode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Represents a machine image resource. A machine image is a Compute Engine resource that stores all the /// configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) @@ -101806,6 +101738,12 @@ public class ManagedInstance : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("preservedStateFromPolicy")] public virtual PreservedState PreservedStateFromPolicy { get; set; } + /// + /// [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy. + /// + [Newtonsoft.Json.JsonPropertyAttribute("propertiesFromFlexibilityPolicy")] + public virtual ManagedInstancePropertiesFromFlexibilityPolicy PropertiesFromFlexibilityPolicy { get; set; } + /// [Output Only] Intended version of this instance. [Newtonsoft.Json.JsonPropertyAttribute("version")] public virtual ManagedInstanceVersion Version { get; set; } @@ -101896,6 +101834,16 @@ public class ErrorDetailsData } } + public class ManagedInstancePropertiesFromFlexibilityPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// The machine type to be used for this instance. + [Newtonsoft.Json.JsonPropertyAttribute("machineType")] + public virtual string MachineType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class ManagedInstanceVersion : Google.Apis.Requests.IDirectResponseSchema { /// @@ -106542,10 +106490,6 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("etag")] public virtual string ETag { get; set; } - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } - /// /// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid /// value are rejected. Any operation that affects conditional role bindings must specify version `3`. This @@ -111097,41 +111041,6 @@ public class DataData } } - /// This is deprecated and has no effect. Do not use. - public class Rule : Google.Apis.Requests.IDirectResponseSchema - { - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual string Action { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("conditions")] - public virtual System.Collections.Generic.IList Conditions { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("ins")] - public virtual System.Collections.Generic.IList Ins { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("logConfigs")] - public virtual System.Collections.Generic.IList LogConfigs { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("notIns")] - public virtual System.Collections.Generic.IList NotIns { get; set; } - - /// This is deprecated and has no effect. Do not use. - [Newtonsoft.Json.JsonPropertyAttribute("permissions")] - public virtual System.Collections.Generic.IList Permissions { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - public class SSLHealthCheck : Google.Apis.Requests.IDirectResponseSchema { /// diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj index a205681ebd9..697185cb647 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.v1 Client Library - 1.68.0.3568 + 1.68.0.3575 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.cs b/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.cs index 5c56be300ea..123e16dc8f5 100644 --- a/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.cs +++ b/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.cs @@ -1230,6 +1230,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Optional. Flag to indicate if schema should be returned as string or not + [Google.Apis.Util.RequestParameterAttribute("schemaAsString", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable SchemaAsString { get; set; } + /// Gets the method name. public override string MethodName => "list"; @@ -1275,6 +1279,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("schemaAsString", new Google.Apis.Discovery.Parameter + { + Name = "schemaAsString", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } } @@ -6501,6 +6513,10 @@ public class ConnectorInfraConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("connectionRatelimitWindowSeconds")] public virtual System.Nullable ConnectionRatelimitWindowSeconds { get; set; } + /// Indicate whether connector versioning is enabled. + [Newtonsoft.Json.JsonPropertyAttribute("connectorVersioningEnabled")] + public virtual System.Nullable ConnectorVersioningEnabled { get; set; } + /// Indicate whether connector is deployed on GKE/CloudRun [Newtonsoft.Json.JsonPropertyAttribute("deploymentModel")] public virtual string DeploymentModel { get; set; } @@ -9992,6 +10008,10 @@ public class RuntimeActionSchema : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("inputParameters")] public virtual System.Collections.Generic.IList InputParameters { get; set; } + /// Output only. Input schema as string. + [Newtonsoft.Json.JsonPropertyAttribute("inputSchemaAsString")] + public virtual string InputSchemaAsString { get; set; } + /// Output only. JsonSchema representation of this action's result metadata [Newtonsoft.Json.JsonPropertyAttribute("resultJsonSchema")] public virtual JsonSchema ResultJsonSchema { get; set; } @@ -10000,6 +10020,10 @@ public class RuntimeActionSchema : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("resultMetadata")] public virtual System.Collections.Generic.IList ResultMetadata { get; set; } + /// Output only. Result schema as string. + [Newtonsoft.Json.JsonPropertyAttribute("resultSchemaAsString")] + public virtual string ResultSchemaAsString { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -10486,23 +10510,26 @@ public class TestIamPermissionsResponse : Google.Apis.Requests.IDirectResponseSc public class TimeOfDay : Google.Apis.Requests.IDirectResponseSchema { /// - /// Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for - /// scenarios like business closing time. + /// Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or + /// equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. /// [Newtonsoft.Json.JsonPropertyAttribute("hours")] public virtual System.Nullable Hours { get; set; } - /// Minutes of hour of day. Must be from 0 to 59. + /// Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. [Newtonsoft.Json.JsonPropertyAttribute("minutes")] public virtual System.Nullable Minutes { get; set; } - /// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + /// + /// Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to + /// 999,999,999. + /// [Newtonsoft.Json.JsonPropertyAttribute("nanos")] public virtual System.Nullable Nanos { get; set; } /// - /// Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows - /// leap-seconds. + /// Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An + /// API may allow the value 60 if it allows leap-seconds. /// [Newtonsoft.Json.JsonPropertyAttribute("seconds")] public virtual System.Nullable Seconds { get; set; } diff --git a/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.csproj b/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.csproj index 0fe804efaf2..8e919a5a000 100644 --- a/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.csproj +++ b/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Connectors.v1 Client Library - 1.68.0.3554 + 1.68.0.3575 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.cs b/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.cs index 2055b108dca..e0add8356cf 100644 --- a/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.cs +++ b/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.cs @@ -2876,23 +2876,26 @@ public class SloMetadata : Google.Apis.Requests.IDirectResponseSchema public class TimeOfDay : Google.Apis.Requests.IDirectResponseSchema { /// - /// Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for - /// scenarios like business closing time. + /// Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or + /// equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. /// [Newtonsoft.Json.JsonPropertyAttribute("hours")] public virtual System.Nullable Hours { get; set; } - /// Minutes of hour of day. Must be from 0 to 59. + /// Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. [Newtonsoft.Json.JsonPropertyAttribute("minutes")] public virtual System.Nullable Minutes { get; set; } - /// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + /// + /// Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to + /// 999,999,999. + /// [Newtonsoft.Json.JsonPropertyAttribute("nanos")] public virtual System.Nullable Nanos { get; set; } /// - /// Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows - /// leap-seconds. + /// Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An + /// API may allow the value 60 if it allows leap-seconds. /// [Newtonsoft.Json.JsonPropertyAttribute("seconds")] public virtual System.Nullable Seconds { get; set; } diff --git a/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.csproj b/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.csproj index fa59d0d1712..3ef9f6056fd 100644 --- a/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.csproj +++ b/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Connectors.v2 Client Library - 1.68.0.3497 + 1.68.0.3575 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs index 6a2c9f41400..074ea78edb0 100644 --- a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs +++ b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs @@ -11331,7 +11331,7 @@ public class GoogleCloudContactcenterinsightsV1QaAnswer : Google.Apis.Requests.I /// /// The maximum potential score of the question. If the question was answered using `na_value`, this field will - /// be zero. + /// be zero. Deprecated: Use AnswerValue.potential_score instead. /// [Newtonsoft.Json.JsonPropertyAttribute("potentialScore")] public virtual System.Nullable PotentialScore { get; set; } @@ -11393,11 +11393,22 @@ public class GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue : Google.Apis [Newtonsoft.Json.JsonPropertyAttribute("naValue")] public virtual System.Nullable NaValue { get; set; } + /// + /// Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != + /// 0 else 0 + /// + [Newtonsoft.Json.JsonPropertyAttribute("normalizedScore")] + public virtual System.Nullable NormalizedScore { get; set; } + /// Numerical value. [Newtonsoft.Json.JsonPropertyAttribute("numValue")] public virtual System.Nullable NumValue { get; set; } - /// Numerical score of the answer. + /// Output only. The maximum potential score of the question. + [Newtonsoft.Json.JsonPropertyAttribute("potentialScore")] + public virtual System.Nullable PotentialScore { get; set; } + + /// Output only. Numerical score of the answer. [Newtonsoft.Json.JsonPropertyAttribute("score")] public virtual System.Nullable Score { get; set; } @@ -16115,7 +16126,7 @@ public class GoogleCloudContactcenterinsightsV1alpha1QaAnswer : Google.Apis.Requ /// /// The maximum potential score of the question. If the question was answered using `na_value`, this field will - /// be zero. + /// be zero. Deprecated: Use AnswerValue.potential_score instead. /// [Newtonsoft.Json.JsonPropertyAttribute("potentialScore")] public virtual System.Nullable PotentialScore { get; set; } @@ -16177,11 +16188,22 @@ public class GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue : Googl [Newtonsoft.Json.JsonPropertyAttribute("naValue")] public virtual System.Nullable NaValue { get; set; } + /// + /// Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != + /// 0 else 0 + /// + [Newtonsoft.Json.JsonPropertyAttribute("normalizedScore")] + public virtual System.Nullable NormalizedScore { get; set; } + /// Numerical value. [Newtonsoft.Json.JsonPropertyAttribute("numValue")] public virtual System.Nullable NumValue { get; set; } - /// Numerical score of the answer. + /// Output only. The maximum potential score of the question. + [Newtonsoft.Json.JsonPropertyAttribute("potentialScore")] + public virtual System.Nullable PotentialScore { get; set; } + + /// Output only. Numerical score of the answer. [Newtonsoft.Json.JsonPropertyAttribute("score")] public virtual System.Nullable Score { get; set; } diff --git a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj index ac1fbcf7aa9..495cb90681e 100644 --- a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj +++ b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Contactcenterinsights.v1 Client Library - 1.68.0.3575 + 1.68.0.3581 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs index af59e4f0a50..ca15c8088b7 100644 --- a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs +++ b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs @@ -12768,8 +12768,8 @@ public class GooglePrivacyDlpV2BigQueryTable : Google.Apis.Requests.IDirectRespo public virtual string DatasetId { get; set; } /// - /// The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred - /// from the API call. + /// The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the + /// API call. /// [Newtonsoft.Json.JsonPropertyAttribute("projectId")] public virtual string ProjectId { get; set; } diff --git a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj index a89802a414a..4f1fa65b40d 100644 --- a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj +++ b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DLP.v2 Client Library - 1.68.0.3566 + 1.68.0.3580 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.cs b/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.cs index 9e1d88102a3..685fca875b4 100644 --- a/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.cs +++ b/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.cs @@ -36,6 +36,7 @@ public DataCatalogService(Google.Apis.Services.BaseClientService.Initializer ini { Catalog = new CatalogResource(this); Entries = new EntriesResource(this); + Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); BaseUri = GetEffectiveUri(BaseUriOverride, "https://datacatalog.googleapis.com/"); BatchUri = GetEffectiveUri(null, "https://datacatalog.googleapis.com/batch"); @@ -85,6 +86,9 @@ public static class ScopeConstants /// Gets the Entries resource. public virtual EntriesResource Entries { get; } + /// Gets the Organizations resource. + public virtual OrganizationsResource Organizations { get; } + /// Gets the Projects resource. public virtual ProjectsResource Projects { get; } } @@ -478,6 +482,203 @@ protected override void InitParameters() } } + /// The "organizations" collection of methods. + public class OrganizationsResource + { + private const string Resource = "organizations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OrganizationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Locations = new LocationsResource(service); + } + + /// Gets the Locations resource. + public virtual LocationsResource Locations { get; } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Retrieves the configuration related to the migration from Data Catalog to Dataplex for a specific + /// organization, including all the projects under it which have a separate configuration set. + /// + /// Required. The organization whose config is being retrieved. + public virtual RetrieveConfigRequest RetrieveConfig(string name) + { + return new RetrieveConfigRequest(this.service, name); + } + + /// + /// Retrieves the configuration related to the migration from Data Catalog to Dataplex for a specific + /// organization, including all the projects under it which have a separate configuration set. + /// + public class RetrieveConfigRequest : DataCatalogBaseServiceRequest + { + /// Constructs a new RetrieveConfig request. + public RetrieveConfigRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The organization whose config is being retrieved. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "retrieveConfig"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:retrieveConfig"; + + /// Initializes RetrieveConfig parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+$", + }); + } + } + + /// + /// Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a + /// specific organization or project. If there is no specific configuration set for the resource, the + /// setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource + /// itself. + /// + /// Required. The resource whose effective config is being retrieved. + public virtual RetrieveEffectiveConfigRequest RetrieveEffectiveConfig(string name) + { + return new RetrieveEffectiveConfigRequest(this.service, name); + } + + /// + /// Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a + /// specific organization or project. If there is no specific configuration set for the resource, the + /// setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource + /// itself. + /// + public class RetrieveEffectiveConfigRequest : DataCatalogBaseServiceRequest + { + /// Constructs a new RetrieveEffectiveConfig request. + public RetrieveEffectiveConfigRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The resource whose effective config is being retrieved. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "retrieveEffectiveConfig"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:retrieveEffectiveConfig"; + + /// Initializes RetrieveEffectiveConfig parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+$", + }); + } + } + + /// + /// Sets the configuration related to the migration to Dataplex for an organization or project. + /// + /// The body of the request. + /// Required. The organization or project whose config is being specified. + public virtual SetConfigRequest SetConfig(Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1SetConfigRequest body, string name) + { + return new SetConfigRequest(this.service, body, name); + } + + /// + /// Sets the configuration related to the migration to Dataplex for an organization or project. + /// + public class SetConfigRequest : DataCatalogBaseServiceRequest + { + /// Constructs a new SetConfig request. + public SetConfigRequest(Google.Apis.Services.IClientService service, Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1SetConfigRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Required. The organization or project whose config is being specified. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1SetConfigRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setConfig"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:setConfig"; + + /// Initializes SetConfig parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+$", + }); + } + } + } + } + /// The "projects" collection of methods. public class ProjectsResource { @@ -5122,6 +5323,118 @@ protected override void InitParameters() } } } + + /// + /// Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a + /// specific organization or project. If there is no specific configuration set for the resource, the + /// setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource + /// itself. + /// + /// Required. The resource whose effective config is being retrieved. + public virtual RetrieveEffectiveConfigRequest RetrieveEffectiveConfig(string name) + { + return new RetrieveEffectiveConfigRequest(this.service, name); + } + + /// + /// Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a + /// specific organization or project. If there is no specific configuration set for the resource, the + /// setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource + /// itself. + /// + public class RetrieveEffectiveConfigRequest : DataCatalogBaseServiceRequest + { + /// Constructs a new RetrieveEffectiveConfig request. + public RetrieveEffectiveConfigRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The resource whose effective config is being retrieved. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "retrieveEffectiveConfig"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:retrieveEffectiveConfig"; + + /// Initializes RetrieveEffectiveConfig parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } + + /// + /// Sets the configuration related to the migration to Dataplex for an organization or project. + /// + /// The body of the request. + /// Required. The organization or project whose config is being specified. + public virtual SetConfigRequest SetConfig(Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1SetConfigRequest body, string name) + { + return new SetConfigRequest(this.service, body, name); + } + + /// + /// Sets the configuration related to the migration to Dataplex for an organization or project. + /// + public class SetConfigRequest : DataCatalogBaseServiceRequest + { + /// Constructs a new SetConfig request. + public SetConfigRequest(Google.Apis.Services.IClientService service, Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1SetConfigRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Required. The organization or project whose config is being specified. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1SetConfigRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setConfig"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:setConfig"; + + /// Initializes SetConfig parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } } } } @@ -6015,6 +6328,14 @@ public class GoogleCloudDatacatalogV1EntryGroup : Google.Apis.Requests.IDirectRe [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Optional. When set to [true], it means DataCatalog EntryGroup was transferred to Dataplex Catalog Service. + /// It makes EntryGroup and its Entries to be read-only in DataCatalog. However, new Tags on EntryGroup and its + /// Entries can be created. After setting the flag to [true] it cannot be unset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("transferredToDataplex")] + public virtual System.Nullable TransferredToDataplex { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -6362,6 +6683,24 @@ public class GoogleCloudDatacatalogV1LookerSystemSpec : Google.Apis.Requests.IDi public virtual string ETag { get; set; } } + /// + /// The configuration related to the migration to Dataplex applied to an organization or project. It is the response + /// message for SetConfig and RetrieveEffectiveConfig. + /// + public class GoogleCloudDatacatalogV1MigrationConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Opt-in status for the UI switch to Dataplex. + [Newtonsoft.Json.JsonPropertyAttribute("catalogUiExperience")] + public virtual string CatalogUiExperience { get; set; } + + /// Opt-in status for the migration of Tag Templates to Dataplex. + [Newtonsoft.Json.JsonPropertyAttribute("tagTemplateMigration")] + public virtual string TagTemplateMigration { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Specification that applies to a model. Valid only for entries with the `MODEL` type. public class GoogleCloudDatacatalogV1ModelSpec : Google.Apis.Requests.IDirectResponseSchema { @@ -6395,6 +6734,23 @@ public class GoogleCloudDatacatalogV1ModifyEntryOverviewRequest : Google.Apis.Re public virtual string ETag { get; set; } } + /// + /// The configuration related to the migration from Data Catalog to Dataplex that has been applied to an + /// organization and any projects under it. It is the response message for RetrieveConfig. + /// + public class GoogleCloudDatacatalogV1OrganizationConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Map of organizations and project resource names and their configuration. The format for the map keys is + /// `organizations/{organizationId}` or `projects/{projectId}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("config")] + public virtual System.Collections.Generic.IDictionary Config { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Entry metadata relevant only to the user and private to them. public class GoogleCloudDatacatalogV1PersonalDetails : Google.Apis.Requests.IDirectResponseSchema { @@ -7057,6 +7413,21 @@ public class GoogleCloudDatacatalogV1ServiceSpec : Google.Apis.Requests.IDirectR public virtual string ETag { get; set; } } + /// Request message for SetConfig. + public class GoogleCloudDatacatalogV1SetConfigRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Opt-in status for the UI switch to Dataplex. + [Newtonsoft.Json.JsonPropertyAttribute("catalogUiExperience")] + public virtual string CatalogUiExperience { get; set; } + + /// Opt-in status for the migration of Tag Templates to Dataplex. + [Newtonsoft.Json.JsonPropertyAttribute("tagTemplateMigration")] + public virtual string TagTemplateMigration { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type) /// @@ -7279,6 +7650,10 @@ public class GoogleCloudDatacatalogV1Tag : Google.Apis.Requests.IDirectResponseS [Newtonsoft.Json.JsonPropertyAttribute("column")] public virtual string Column { get; set; } + /// Output only. Denotes the transfer status of the Tag Template. + [Newtonsoft.Json.JsonPropertyAttribute("dataplexTransferStatus")] + public virtual string DataplexTransferStatus { get; set; } + /// /// Required. Maps the ID of a tag field to its value and additional information about that field. Tag template /// defines valid field IDs. A tag must have at least 1 field and at most 500 fields. diff --git a/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.csproj b/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.csproj index 4eded12b1c1..fc6c832d050 100644 --- a/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.csproj +++ b/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DataCatalog.v1 Client Library - 1.68.0.3452 + 1.68.0.3581 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.cs b/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.cs index f9d25732d4c..2221690ce4a 100644 --- a/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.cs +++ b/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.cs @@ -5904,6 +5904,10 @@ public class GoogleCloudDatacatalogV1Tag : Google.Apis.Requests.IDirectResponseS [Newtonsoft.Json.JsonPropertyAttribute("column")] public virtual string Column { get; set; } + /// Output only. Denotes the transfer status of the Tag Template. + [Newtonsoft.Json.JsonPropertyAttribute("dataplexTransferStatus")] + public virtual string DataplexTransferStatus { get; set; } + /// /// Required. Maps the ID of a tag field to its value and additional information about that field. Tag template /// defines valid field IDs. A tag must have at least 1 field and at most 500 fields. diff --git a/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.csproj b/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.csproj index ae4892d2c76..b45c077f474 100644 --- a/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.csproj +++ b/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.DataCatalog.v1beta1 Client Library - 1.68.0.3452 + 1.68.0.3581 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj index e28f6fc7437..06b05c45b92 100644 --- a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj +++ b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DatabaseMigrationService.v1 Client Library - 1.68.0.3575 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs index 83184e15164..59a6ee3ff90 100644 --- a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs +++ b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs @@ -1058,7 +1058,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Optional. Page token received from a previous `ListCompilationResults` call. Provide this to /// retrieve the subsequent page. When paginating, all other parameters provided to - /// `ListCompilationResults` must match the call that provided the page token. + /// `ListCompilationResults`, with the exception of `page_size`, must match the call that + /// provided the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -1157,7 +1158,8 @@ public QueryRequest(Google.Apis.Services.IClientService service, string name) : /// /// Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide /// this to retrieve the subsequent page. When paginating, all other parameters provided to - /// `QueryCompilationResultActions` must match the call that provided the page token. + /// `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that + /// provided the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -1429,7 +1431,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to /// retrieve the subsequent page. When paginating, all other parameters provided to - /// `ListReleaseConfigs` must match the call that provided the page token. + /// `ListReleaseConfigs`, with the exception of `page_size`, must match the call that provided + /// the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -1761,7 +1764,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to /// retrieve the subsequent page. When paginating, all other parameters provided to - /// `ListWorkflowConfigs` must match the call that provided the page token. + /// `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that provided + /// the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -2142,7 +2146,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this /// to retrieve the subsequent page. When paginating, all other parameters provided to - /// `ListWorkflowInvocations` must match the call that provided the page token. + /// `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that + /// provided the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -2234,7 +2239,8 @@ public QueryRequest(Google.Apis.Services.IClientService service, string name) : /// /// Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide /// this to retrieve the subsequent page. When paginating, all other parameters provided to - /// `QueryWorkflowInvocationActions` must match the call that provided the page token. + /// `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call + /// that provided the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -2860,7 +2866,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Optional. Page token received from a previous `ListWorkspaces` call. Provide this to /// retrieve the subsequent page. When paginating, all other parameters provided to - /// `ListWorkspaces` must match the call that provided the page token. + /// `ListWorkspaces`, with the exception of `page_size`, must match the call that provided the + /// page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -3221,7 +3228,8 @@ public QueryDirectoryContentsRequest(Google.Apis.Services.IClientService service /// /// Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to /// retrieve the subsequent page. When paginating, all other parameters provided to - /// `QueryDirectoryContents` must match the call that provided the page token. + /// `QueryDirectoryContents`, with the exception of `page_size`, must match the call that + /// provided the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -3552,7 +3560,8 @@ public SearchFilesRequest(Google.Apis.Services.IClientService service, string wo /// /// Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to /// retrieve the subsequent page. When paginating, all other parameters provided to - /// `SearchFilesRequest` must match the call that provided the page token. + /// `SearchFilesRequest`, with the exception of `page_size`, must match the call that provided + /// the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -4072,7 +4081,8 @@ public FetchHistoryRequest(Google.Apis.Services.IClientService service, string n /// /// Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to /// retrieve the subsequent page. When paginating, all other parameters provided to - /// `FetchRepositoryHistory` must match the call that provided the page token. + /// `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided + /// the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -4334,8 +4344,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve - /// the subsequent page. When paginating, all other parameters provided to `ListRepositories` must - /// match the call that provided the page token. + /// the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with + /// the exception of `page_size`, must match the call that provided the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -4508,7 +4518,8 @@ public QueryDirectoryContentsRequest(Google.Apis.Services.IClientService service /// /// Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide /// this to retrieve the subsequent page. When paginating, all other parameters provided to - /// `QueryRepositoryDirectoryContents` must match the call that provided the page token. + /// `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that + /// provided the page token. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -5517,10 +5528,6 @@ public class CompilationResultAction : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("canonicalTarget")] public virtual Target CanonicalTarget { get; set; } - /// The data preparation executed by this action. - [Newtonsoft.Json.JsonPropertyAttribute("dataPreparation")] - public virtual DataPreparation DataPreparation { get; set; } - /// The declaration declared by this action. [Newtonsoft.Json.JsonPropertyAttribute("declaration")] public virtual Declaration Declaration { get; set; } @@ -5590,29 +5597,6 @@ public class DataEncryptionState : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Defines a compiled Data Preparation entity - public class DataPreparation : Google.Apis.Requests.IDirectResponseSchema - { - /// The data preparation definition, stored as a binary encoded proto. - [Newtonsoft.Json.JsonPropertyAttribute("contents")] - public virtual string Contents { get; set; } - - /// A list of actions that this action depends on. - [Newtonsoft.Json.JsonPropertyAttribute("dependencyTargets")] - public virtual System.Collections.Generic.IList DependencyTargets { get; set; } - - /// Whether this action is disabled (i.e. should not be run). - [Newtonsoft.Json.JsonPropertyAttribute("disabled")] - public virtual System.Nullable Disabled { get; set; } - - /// Arbitrary, user-defined tags on this action. - [Newtonsoft.Json.JsonPropertyAttribute("tags")] - public virtual System.Collections.Generic.IList Tags { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions. /// @@ -6784,7 +6768,7 @@ public class ReleaseConfig : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of + /// Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of /// `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule. /// [Newtonsoft.Json.JsonPropertyAttribute("recentScheduledReleaseRecords")] @@ -6894,7 +6878,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the /// repository and all child resources. It is not possible to add or update the encryption key after the /// repository is created. Example: - /// `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]` + /// `projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}` /// [Newtonsoft.Json.JsonPropertyAttribute("kmsKeyName")] public virtual string KmsKeyName { get; set; } @@ -7286,7 +7270,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string Name { get; set; } /// - /// Output only. Records of the 10 most recent scheduled execution attempts, ordered in in descending order of + /// Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of /// `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by /// cron_schedule. /// @@ -7441,6 +7425,43 @@ public class WorkflowInvocationAction : Google.Apis.Requests.IDirectResponseSche /// Represents a Dataform Git workspace. public class Workspace : Google.Apis.Requests.IDirectResponseSchema { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp of when the workspace was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key. /// diff --git a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj index efd64acd70b..7144efd6d8f 100644 --- a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataform.v1beta1 Client Library - 1.68.0.3523 + 1.68.0.3580 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs index ce222739ca4..6ffb42b7e91 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs @@ -28920,6 +28920,12 @@ public class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConf [Newtonsoft.Json.JsonPropertyAttribute("contextFilterSettings")] public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings ContextFilterSettings { get; set; } + /// + /// Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST. + /// + [Newtonsoft.Json.JsonPropertyAttribute("contextSize")] + public virtual System.Nullable ContextSize { get; set; } + /// Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST. [Newtonsoft.Json.JsonPropertyAttribute("dialogflowQuerySource")] public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource DialogflowQuerySource { get; set; } @@ -29447,6 +29453,10 @@ public class GoogleCloudDialogflowV2InputAudioConfig : Google.Apis.Requests.IDir [Newtonsoft.Json.JsonPropertyAttribute("phraseHints")] public virtual System.Collections.Generic.IList PhraseHints { get; set; } + /// A collection of phrase set resources to use for speech adaptation. + [Newtonsoft.Json.JsonPropertyAttribute("phraseSets")] + public virtual System.Collections.Generic.IList PhraseSets { get; set; } + /// /// Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API /// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. @@ -30448,6 +30458,10 @@ public class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerati /// Snippet Source for a Generative Prediction. public class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata of the document. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// Text taken from that URI. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } @@ -31521,6 +31535,10 @@ public class GoogleCloudDialogflowV2SearchKnowledgeAnswer : Google.Apis.Requests /// The sources of the answers. public class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata associated with the article. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// The relevant snippet of the article. [Newtonsoft.Json.JsonPropertyAttribute("snippet")] public virtual string Snippet { get; set; } @@ -31554,6 +31572,22 @@ public class GoogleCloudDialogflowV2SearchKnowledgeRequest : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("conversationProfile")] public virtual string ConversationProfile { get; set; } + /// + /// Optional. Information about the end-user to improve the relevance and accuracy of generative answers. This + /// will be interpreted and used by a language model, so, for good results, the data should be self-descriptive, + /// and in a simple structure. Example: + /// ``` + /// json { "subscription plan": "Business Premium Plus", "devices owned": + /// [ {"model": "Google Pixel 7"}, {"model": "Google Pixel Tablet"} ] } + /// ``` + /// + [Newtonsoft.Json.JsonPropertyAttribute("endUserMetadata")] + public virtual System.Collections.Generic.IDictionary EndUserMetadata { get; set; } + + /// Optional. Whether to search the query exactly without query rewrite. + [Newtonsoft.Json.JsonPropertyAttribute("exactSearch")] + public virtual System.Nullable ExactSearch { get; set; } + /// /// Optional. The name of the latest conversation message when the request is triggered. Format: /// `projects//locations//conversations//messages/`. @@ -31572,6 +31606,14 @@ public class GoogleCloudDialogflowV2SearchKnowledgeRequest : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("query")] public virtual GoogleCloudDialogflowV2TextInput Query { get; set; } + /// Optional. The source of the query in the request. + [Newtonsoft.Json.JsonPropertyAttribute("querySource")] + public virtual string QuerySource { get; set; } + + /// Optional. Configuration specific to search queries with data stores. + [Newtonsoft.Json.JsonPropertyAttribute("searchConfig")] + public virtual GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig SearchConfig { get; set; } + /// /// Required. The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved /// from conversation profile or on its own to identify a search session. The search history of the same session @@ -31586,6 +31628,175 @@ public class GoogleCloudDialogflowV2SearchKnowledgeRequest : Google.Apis.Request public virtual string ETag { get; set; } } + /// Configuration specific to search queries with data stores. + public class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Boost specifications for data stores. + [Newtonsoft.Json.JsonPropertyAttribute("boostSpecs")] + public virtual System.Collections.Generic.IList BoostSpecs { get; set; } + + /// Optional. Filter specification for data store queries. + [Newtonsoft.Json.JsonPropertyAttribute("filterSpecs")] + public virtual System.Collections.Generic.IList FilterSpecs { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Boost specifications for data stores. + public class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data + /// stores. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` + /// `projects/{project}/locations/{location}/dataStores/{data_store} + /// + [Newtonsoft.Json.JsonPropertyAttribute("dataStores")] + public virtual System.Collections.Generic.IList DataStores { get; set; } + + /// Optional. A list of boosting specifications. + [Newtonsoft.Json.JsonPropertyAttribute("spec")] + public virtual System.Collections.Generic.IList Spec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field + /// documentation is available at + /// https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec + /// + public class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Condition boost specifications. If a document 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. + /// + [Newtonsoft.Json.JsonPropertyAttribute("conditionBoostSpecs")] + public virtual System.Collections.Generic.IList ConditionBoostSpecs { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Boost applies to documents which match a condition. + public class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. + /// Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean + /// that the boosted document will be the top result at all times, nor that other documents will be excluded. + /// Results could still be shown even when none of them matches the condition. And results that are + /// significantly more relevant to the search query can still trump your heavily favored but irrelevant + /// documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant + /// might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not + /// blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. + /// + [Newtonsoft.Json.JsonPropertyAttribute("boost")] + public virtual System.Nullable Boost { get; set; } + + /// + /// Optional. Complex specification for custom ranking based on customer defined attribute value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("boostControlSpec")] + public virtual GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec BoostControlSpec { get; set; } + + /// + /// Optional. An expression which specifies a boost condition. The syntax and supported fields are the same as a + /// filter expression. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or + /// "Blue": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) + /// + [Newtonsoft.Json.JsonPropertyAttribute("condition")] + public virtual string Condition { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Specification for custom ranking based on customer specified attribute value. It provides more controls for + /// customized ranking than the simple (condition, boost) combination above. + /// + public class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived + /// from the field value of the specified field_name. In the case of numerical it is straightforward i.e. + /// attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - + /// datetime_field_value). + /// + [Newtonsoft.Json.JsonPropertyAttribute("attributeType")] + public virtual string AttributeType { get; set; } + + /// + /// Optional. The control points used to define the curve. The monotonic function (defined through the + /// interpolation_type above) passes through the control points listed here. + /// + [Newtonsoft.Json.JsonPropertyAttribute("controlPoints")] + public virtual System.Collections.Generic.IList ControlPoints { get; set; } + + /// Optional. The name of the field whose value will be used to determine the boost amount. + [Newtonsoft.Json.JsonPropertyAttribute("fieldName")] + public virtual string FieldName { get; set; } + + /// + /// Optional. The interpolation type to be applied to connect the control points listed below. + /// + [Newtonsoft.Json.JsonPropertyAttribute("interpolationType")] + public virtual string InterpolationType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// The control points used to define the curve. The curve defined through these control points can only be + /// monotonically increasing or decreasing(constant values are acceptable). + /// + public class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be + /// formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern + /// for this is: `nDnM]`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("attributeValue")] + public virtual string AttributeValue { get; set; } + + /// + /// Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the + /// value specified above. + /// + [Newtonsoft.Json.JsonPropertyAttribute("boostAmount")] + public virtual System.Nullable BoostAmount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Filter specification for data store queries. + public class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The data store where the filter configuration is applied. Full resource name of data store, such + /// as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dataStores")] + public virtual System.Collections.Generic.IList DataStores { get; set; } + + /// + /// Optional. The filter expression to be applied. Expression syntax is documented at + /// https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax + /// + [Newtonsoft.Json.JsonPropertyAttribute("filter")] + public virtual string Filter { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The response message for Conversations.SearchKnowledge. public class GoogleCloudDialogflowV2SearchKnowledgeResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -31911,6 +32122,10 @@ public class GoogleCloudDialogflowV2SpeechToTextConfig : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("model")] public virtual string Model { get; set; } + /// List of names of Cloud Speech phrase sets that are used for transcription. + [Newtonsoft.Json.JsonPropertyAttribute("phraseSets")] + public virtual System.Collections.Generic.IList PhraseSets { get; set; } + /// /// Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API /// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. @@ -34616,6 +34831,10 @@ public class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGen /// Snippet Source for a Generative Prediction. public class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata of the document. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// Text taken from that URI. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj index d6a8d1a3b90..69eb50e8ec1 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v2 Client Library - 1.68.0.3578 + 1.68.0.3579 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs index 7d6810cc26d..7c64bf30364 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs @@ -26735,6 +26735,10 @@ public class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerati /// Snippet Source for a Generative Prediction. public class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata of the document. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// Text taken from that URI. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } @@ -30360,6 +30364,12 @@ public class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQuer [Newtonsoft.Json.JsonPropertyAttribute("contextFilterSettings")] public virtual GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings ContextFilterSettings { get; set; } + /// + /// Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST. + /// + [Newtonsoft.Json.JsonPropertyAttribute("contextSize")] + public virtual System.Nullable ContextSize { get; set; } + /// Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST, ENTITY_EXTRACTION. [Newtonsoft.Json.JsonPropertyAttribute("dialogflowQuerySource")] public virtual GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource DialogflowQuerySource { get; set; } @@ -30814,6 +30824,10 @@ public class GoogleCloudDialogflowV2beta1InputAudioConfig : Google.Apis.Requests [Newtonsoft.Json.JsonPropertyAttribute("phraseHints")] public virtual System.Collections.Generic.IList PhraseHints { get; set; } + /// A collection of phrase set resources to use for speech adaptation. + [Newtonsoft.Json.JsonPropertyAttribute("phraseSets")] + public virtual System.Collections.Generic.IList PhraseSets { get; set; } + /// /// Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API /// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. @@ -32195,6 +32209,10 @@ public class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGen /// Snippet Source for a Generative Prediction. public class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata of the document. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// Text taken from that URI. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } @@ -33386,6 +33404,10 @@ public class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer : Google.Apis.Req /// The sources of the answers. public class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata associated with the article. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// The relevant snippet of the article. [Newtonsoft.Json.JsonPropertyAttribute("snippet")] public virtual string Snippet { get; set; } @@ -33419,6 +33441,22 @@ public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest : Google.Apis.Re [Newtonsoft.Json.JsonPropertyAttribute("conversationProfile")] public virtual string ConversationProfile { get; set; } + /// + /// Optional. Information about the end-user to improve the relevance and accuracy of generative answers. This + /// will be interpreted and used by a language model, so, for good results, the data should be self-descriptive, + /// and in a simple structure. Example: + /// ``` + /// json { "subscription plan": "Business Premium Plus", "devices owned": + /// [ {"model": "Google Pixel 7"}, {"model": "Google Pixel Tablet"} ] } + /// ``` + /// + [Newtonsoft.Json.JsonPropertyAttribute("endUserMetadata")] + public virtual System.Collections.Generic.IDictionary EndUserMetadata { get; set; } + + /// Optional. Whether to search the query exactly without query rewrite. + [Newtonsoft.Json.JsonPropertyAttribute("exactSearch")] + public virtual System.Nullable ExactSearch { get; set; } + /// /// Optional. The name of the latest conversation message when the request is triggered. Format: /// `projects//locations//conversations//messages/`. @@ -33437,6 +33475,14 @@ public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest : Google.Apis.Re [Newtonsoft.Json.JsonPropertyAttribute("query")] public virtual GoogleCloudDialogflowV2beta1TextInput Query { get; set; } + /// Optional. The source of the query in the request. + [Newtonsoft.Json.JsonPropertyAttribute("querySource")] + public virtual string QuerySource { get; set; } + + /// Optional. Configuration specific to search queries with data stores. + [Newtonsoft.Json.JsonPropertyAttribute("searchConfig")] + public virtual GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig SearchConfig { get; set; } + /// /// Required. The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved /// from conversation profile or on its own to identify a search session. The search history of the same session @@ -33451,6 +33497,175 @@ public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest : Google.Apis.Re public virtual string ETag { get; set; } } + /// Configuration specific to search queries with data stores. + public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Boost specifications for data stores. + [Newtonsoft.Json.JsonPropertyAttribute("boostSpecs")] + public virtual System.Collections.Generic.IList BoostSpecs { get; set; } + + /// Optional. Filter specification for data store queries. + [Newtonsoft.Json.JsonPropertyAttribute("filterSpecs")] + public virtual System.Collections.Generic.IList FilterSpecs { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Boost specifications for data stores. + public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data + /// stores. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` + /// `projects/{project}/locations/{location}/dataStores/{data_store} + /// + [Newtonsoft.Json.JsonPropertyAttribute("dataStores")] + public virtual System.Collections.Generic.IList DataStores { get; set; } + + /// Optional. A list of boosting specifications. + [Newtonsoft.Json.JsonPropertyAttribute("spec")] + public virtual System.Collections.Generic.IList Spec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field + /// documentation is available at + /// https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec + /// + public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Condition boost specifications. If a document 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. + /// + [Newtonsoft.Json.JsonPropertyAttribute("conditionBoostSpecs")] + public virtual System.Collections.Generic.IList ConditionBoostSpecs { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Boost applies to documents which match a condition. + public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. + /// Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean + /// that the boosted document will be the top result at all times, nor that other documents will be excluded. + /// Results could still be shown even when none of them matches the condition. And results that are + /// significantly more relevant to the search query can still trump your heavily favored but irrelevant + /// documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant + /// might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not + /// blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. + /// + [Newtonsoft.Json.JsonPropertyAttribute("boost")] + public virtual System.Nullable Boost { get; set; } + + /// + /// Optional. Complex specification for custom ranking based on customer defined attribute value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("boostControlSpec")] + public virtual GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec BoostControlSpec { get; set; } + + /// + /// Optional. An expression which specifies a boost condition. The syntax and supported fields are the same as a + /// filter expression. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or + /// "Blue": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) + /// + [Newtonsoft.Json.JsonPropertyAttribute("condition")] + public virtual string Condition { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Specification for custom ranking based on customer specified attribute value. It provides more controls for + /// customized ranking than the simple (condition, boost) combination above. + /// + public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived + /// from the field value of the specified field_name. In the case of numerical it is straightforward i.e. + /// attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - + /// datetime_field_value). + /// + [Newtonsoft.Json.JsonPropertyAttribute("attributeType")] + public virtual string AttributeType { get; set; } + + /// + /// Optional. The control points used to define the curve. The monotonic function (defined through the + /// interpolation_type above) passes through the control points listed here. + /// + [Newtonsoft.Json.JsonPropertyAttribute("controlPoints")] + public virtual System.Collections.Generic.IList ControlPoints { get; set; } + + /// Optional. The name of the field whose value will be used to determine the boost amount. + [Newtonsoft.Json.JsonPropertyAttribute("fieldName")] + public virtual string FieldName { get; set; } + + /// + /// Optional. The interpolation type to be applied to connect the control points listed below. + /// + [Newtonsoft.Json.JsonPropertyAttribute("interpolationType")] + public virtual string InterpolationType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// The control points used to define the curve. The curve defined through these control points can only be + /// monotonically increasing or decreasing(constant values are acceptable). + /// + public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be + /// formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern + /// for this is: `nDnM]`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("attributeValue")] + public virtual string AttributeValue { get; set; } + + /// + /// Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the + /// value specified above. + /// + [Newtonsoft.Json.JsonPropertyAttribute("boostAmount")] + public virtual System.Nullable BoostAmount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Filter specification for data store queries. + public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The data store where the filter configuration is applied. Full resource name of data store, such + /// as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dataStores")] + public virtual System.Collections.Generic.IList DataStores { get; set; } + + /// + /// Optional. The filter expression to be applied. Expression syntax is documented at + /// https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax + /// + [Newtonsoft.Json.JsonPropertyAttribute("filter")] + public virtual string Filter { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The response message for Conversations.SearchKnowledge. public class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -33723,6 +33938,10 @@ public class GoogleCloudDialogflowV2beta1SpeechToTextConfig : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("model")] public virtual string Model { get; set; } + /// List of names of Cloud Speech phrase sets that are used for transcription. + [Newtonsoft.Json.JsonPropertyAttribute("phraseSets")] + public virtual System.Collections.Generic.IList PhraseSets { get; set; } + /// /// Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API /// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. diff --git a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj index 13b1dcdf328..007e89080f2 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v2beta1 Client Library - 1.68.0.3578 + 1.68.0.3579 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs index 4d25b08e368..6629d4b05ba 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs @@ -21480,6 +21480,10 @@ public class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerati /// Snippet Source for a Generative Prediction. public class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata of the document. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// Text taken from that URI. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } @@ -24108,6 +24112,10 @@ public class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGen /// Snippet Source for a Generative Prediction. public class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata of the document. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// Text taken from that URI. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } diff --git a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj index 4d4125533ea..f268813eb40 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v3 Client Library - 1.68.0.3554 + 1.68.0.3579 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs index 8a102ac8acf..b89f2438a1d 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs @@ -24443,6 +24443,10 @@ public class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerati /// Snippet Source for a Generative Prediction. public class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata of the document. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// Text taken from that URI. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } @@ -27071,6 +27075,10 @@ public class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGen /// Snippet Source for a Generative Prediction. public class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata of the document. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// Text taken from that URI. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } diff --git a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj index 30e43081fb7..330f7b7b867 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v3beta1 Client Library - 1.68.0.3554 + 1.68.0.3579 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.cs b/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.cs index 08e96fd9611..9b9b908546a 100644 --- a/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.cs +++ b/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.cs @@ -22182,10 +22182,10 @@ public class AdUrl : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Details of Adloox settings. + /// Details of Adloox brand safety settings. public class Adloox : Google.Apis.Requests.IDirectResponseSchema { - /// Adloox's brand safety settings. + /// Adloox categories to exclude. [Newtonsoft.Json.JsonPropertyAttribute("excludedAdlooxCategories")] public virtual System.Collections.Generic.IList ExcludedAdlooxCategories { get; set; } @@ -22204,7 +22204,7 @@ public class Advertiser : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] public virtual System.Nullable AdvertiserId { get; set; } - /// Optional. Required. Billing related settings of the advertiser. + /// Required. Billing related settings of the advertiser. [Newtonsoft.Json.JsonPropertyAttribute("billingConfig")] public virtual AdvertiserBillingConfig BillingConfig { get; set; } @@ -22324,7 +22324,7 @@ public class AdvertiserAdServerConfig : Google.Apis.Requests.IDirectResponseSche /// Billing related settings of an advertiser. public class AdvertiserBillingConfig : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. The ID of a billing profile assigned to the advertiser. + /// Required. The ID of a billing profile assigned to the advertiser. [Newtonsoft.Json.JsonPropertyAttribute("billingProfileId")] public virtual System.Nullable BillingProfileId { get; set; } diff --git a/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.csproj b/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.csproj index f6cc8e602c8..1b8f116b3d8 100644 --- a/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.csproj +++ b/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DisplayVideo.v2 Client Library - 1.68.0.3577 + 1.68.0.3584 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.cs b/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.cs index 33a970616c4..9b053c22471 100644 --- a/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.cs +++ b/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.cs @@ -22215,70 +22215,105 @@ public class AdUrl : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Details of Adloox settings. + /// Details of Adloox brand safety settings. public class Adloox : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. Adult explicit sexual content. + /// + /// Optional. Adult and Explicit Sexual Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk + /// ranges to exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("adultExplicitSexualContent")] public virtual string AdultExplicitSexualContent { get; set; } - /// Optional. Arms ammunition content. + /// + /// Optional. Arms and Ammunition Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to + /// exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("armsAmmunitionContent")] public virtual string ArmsAmmunitionContent { get; set; } - /// Optional. Crime harmful acts to individuals society human rights violations content. + /// + /// Optional. Crime and Harmful Acts Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges + /// to exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent")] public virtual string CrimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent { get; set; } - /// Optional. Death injury military conflict content. + /// + /// Optional. Death, Injury, or Military Conflict Content [GARM](https://wfanet.org/leadership/garm/about-garm) + /// risk ranges to exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("deathInjuryMilitaryConflictContent")] public virtual string DeathInjuryMilitaryConflictContent { get; set; } - /// Optional. Debated sensitive social issue content. + /// + /// Optional. Debated Sensitive Social Issue Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk + /// ranges to exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("debatedSensitiveSocialIssueContent")] public virtual string DebatedSensitiveSocialIssueContent { get; set; } - /// Optional. Display IAB viewability. + /// Optional. IAB viewability threshold for display ads. [Newtonsoft.Json.JsonPropertyAttribute("displayIabViewability")] public virtual string DisplayIabViewability { get; set; } - /// Adloox's brand safety settings. + /// Adloox categories to exclude. [Newtonsoft.Json.JsonPropertyAttribute("excludedAdlooxCategories")] public virtual System.Collections.Generic.IList ExcludedAdlooxCategories { get; set; } - /// Optional. Adloox's fraud IVT MFA settings. + /// Optional. Adloox's fraud IVT MFA categories to exclude. [Newtonsoft.Json.JsonPropertyAttribute("excludedFraudIvtMfaCategories")] public virtual System.Collections.Generic.IList ExcludedFraudIvtMfaCategories { get; set; } - /// Optional. Hate speech acts of aggression content. + /// + /// Optional. Hate Speech and Acts of Aggression Content [GARM](https://wfanet.org/leadership/garm/about-garm) + /// risk ranges to exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("hateSpeechActsAggressionContent")] public virtual string HateSpeechActsAggressionContent { get; set; } - /// Optional. Illegal drugs tobacco ecigarettes vaping alcohol content. + /// + /// Optional. Illegal Drugs/Alcohol Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to + /// exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("illegalDrugsTobaccoEcigarettesVapingAlcoholContent")] public virtual string IllegalDrugsTobaccoEcigarettesVapingAlcoholContent { get; set; } - /// Optional. Misinformation content. + /// + /// Optional. Misinformation Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to + /// exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("misinformationContent")] public virtual string MisinformationContent { get; set; } - /// Optional. Obscenity profanity content. + /// + /// Optional. Obscenity and Profanity Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges + /// to exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("obscenityProfanityContent")] public virtual string ObscenityProfanityContent { get; set; } - /// Optional. Online piracy content. + /// + /// Optional. Online Piracy Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to + /// exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("onlinePiracyContent")] public virtual string OnlinePiracyContent { get; set; } - /// Optional. Spam harmful content. + /// + /// Optional. Spam or Harmful Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to + /// exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("spamHarmfulContent")] public virtual string SpamHarmfulContent { get; set; } - /// Optional. Terrorism content. + /// + /// Optional. Terrorism Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude. + /// [Newtonsoft.Json.JsonPropertyAttribute("terrorismContent")] public virtual string TerrorismContent { get; set; } - /// Optional. Video IAB viewability. + /// Optional. IAB viewability threshold for video ads. [Newtonsoft.Json.JsonPropertyAttribute("videoIabViewability")] public virtual string VideoIabViewability { get; set; } @@ -22297,7 +22332,7 @@ public class Advertiser : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] public virtual System.Nullable AdvertiserId { get; set; } - /// Optional. Required. Billing related settings of the advertiser. + /// Required. Billing related settings of the advertiser. [Newtonsoft.Json.JsonPropertyAttribute("billingConfig")] public virtual AdvertiserBillingConfig BillingConfig { get; set; } @@ -22417,7 +22452,7 @@ public class AdvertiserAdServerConfig : Google.Apis.Requests.IDirectResponseSche /// Billing related settings of an advertiser. public class AdvertiserBillingConfig : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. The ID of a billing profile assigned to the advertiser. + /// Required. The ID of a billing profile assigned to the advertiser. [Newtonsoft.Json.JsonPropertyAttribute("billingProfileId")] public virtual System.Nullable BillingProfileId { get; set; } diff --git a/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.csproj b/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.csproj index 4a5a5438a67..4733d9a1cd6 100644 --- a/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.csproj +++ b/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.DisplayVideo.v3 Client Library - 1.68.0.3577 + 1.68.0.3584 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.cs b/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.cs index 29e09f1625a..af25f8c0f9c 100644 --- a/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.cs +++ b/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.cs @@ -1388,78 +1388,80 @@ public EnrollmentsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// - /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and - /// does not have a policy set. - /// - /// - /// 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. - /// - public virtual GetIamPolicyRequest GetIamPolicy(string resource) + /// Create a new Enrollment in a particular project and location. + /// The body of the request. + /// Required. The parent collection in which to add this enrollment. + public virtual CreateRequest Create(Google.Apis.Eventarc.v1.Data.Enrollment body, string parent) { - return new GetIamPolicyRequest(this.service, resource); + return new CreateRequest(this.service, body, parent); } - /// - /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and - /// does not have a policy set. - /// - public class GetIamPolicyRequest : EventarcBaseServiceRequest + /// Create a new Enrollment in a particular project and location. + public class CreateRequest : EventarcBaseServiceRequest { - /// Constructs a new GetIamPolicy request. - public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.Enrollment body, string parent) : base(service) { - Resource = resource; + Parent = parent; + Body = body; InitParameters(); } + /// Required. The parent collection in which to add this enrollment. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + /// - /// 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. + /// Required. The user-provided ID to be assigned to the Enrollment. It should match the format + /// (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). /// - [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("enrollmentId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string EnrollmentId { get; set; } /// - /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, - /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any - /// conditional role bindings must specify version 3. Policies with no conditional role bindings may - /// specify any valid value or leave the field unset. The policy in the response might use the - /// policy version that you specified, or it might use a lower policy version. For example, if you - /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. - /// To learn which resources support conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// Optional. If set, validate the request and preview the review, but do not post it. /// - [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.Enrollment Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; /// Gets the method name. - public override string MethodName => "getIamPolicy"; + public override string MethodName => "create"; /// Gets the HTTP method. - public override string HttpMethod => "GET"; + public override string HttpMethod => "POST"; /// Gets the REST path. - public override string RestPath => "v1/{+resource}:getIamPolicy"; + public override string RestPath => "v1/{+parent}/enrollments"; - /// Initializes GetIamPolicy parameter list. + /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter { - Name = "resource", + Name = "parent", IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+$", }); - RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + RequestParameters.Add("enrollmentId", new Google.Apis.Discovery.Parameter { - Name = "options.requestedPolicyVersion", + Name = "enrollmentId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1468,136 +1470,132 @@ protected override void InitParameters() } } - /// - /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return - /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - /// - /// The body of the request. - /// - /// 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. - /// - public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest body, string resource) + /// Delete a single Enrollment. + /// Required. The name of the Enrollment to be deleted. + public virtual DeleteRequest Delete(string name) { - return new SetIamPolicyRequest(this.service, body, resource); + return new DeleteRequest(this.service, name); } - /// - /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return - /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - /// - public class SetIamPolicyRequest : EventarcBaseServiceRequest + /// Delete a single Enrollment. + public class DeleteRequest : EventarcBaseServiceRequest { - /// Constructs a new SetIamPolicy request. - public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest body, string resource) : base(service) + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) { - Resource = resource; - Body = body; + Name = name; InitParameters(); } + /// Required. The name of the Enrollment to be deleted. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + /// - /// 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. + /// Optional. If set to true, and the Enrollment is not found, the request will succeed but no + /// action will be taken on the server. /// - [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("allowMissing", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AllowMissing { get; set; } - /// Gets or sets the body of this request. - Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest Body { get; set; } + /// + /// Optional. If provided, the Enrollment will only be deleted if the etag matches the current etag + /// on the resource. + /// + [Google.Apis.Util.RequestParameterAttribute("etag", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Etag { get; set; } - /// Returns the body of the request. - protected override object GetBody() => Body; + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } /// Gets the method name. - public override string MethodName => "setIamPolicy"; + public override string MethodName => "delete"; /// Gets the HTTP method. - public override string HttpMethod => "POST"; + public override string HttpMethod => "DELETE"; /// Gets the REST path. - public override string RestPath => "v1/{+resource}:setIamPolicy"; + public override string RestPath => "v1/{+name}"; - /// Initializes SetIamPolicy parameter list. + /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter { - Name = "resource", + Name = "name", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", }); + RequestParameters.Add("allowMissing", new Google.Apis.Discovery.Parameter + { + Name = "allowMissing", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("etag", new Google.Apis.Discovery.Parameter + { + Name = "etag", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } - /// - /// Returns permissions that a caller has on the specified resource. If the resource does not exist, - /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is - /// designed to be used for building permission-aware UIs and command-line tools, not for authorization - /// checking. This operation may "fail open" without warning. - /// - /// The body of the request. - /// - /// 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. - /// - public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest body, string resource) + /// Get a single Enrollment. + /// Required. The name of the Enrollment to get. + public virtual GetRequest Get(string name) { - return new TestIamPermissionsRequest(this.service, body, resource); + return new GetRequest(this.service, name); } - /// - /// Returns permissions that a caller has on the specified resource. If the resource does not exist, - /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is - /// designed to be used for building permission-aware UIs and command-line tools, not for authorization - /// checking. This operation may "fail open" without warning. - /// - public class TestIamPermissionsRequest : EventarcBaseServiceRequest + /// Get a single Enrollment. + public class GetRequest : EventarcBaseServiceRequest { - /// Constructs a new TestIamPermissions request. - public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest body, string resource) : base(service) + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) { - Resource = resource; - Body = body; + Name = name; InitParameters(); } - /// - /// 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. - /// - [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Resource { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; + /// Required. The name of the Enrollment to get. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } /// Gets the method name. - public override string MethodName => "testIamPermissions"; + public override string MethodName => "get"; /// Gets the HTTP method. - public override string HttpMethod => "POST"; + public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "v1/{+resource}:testIamPermissions"; + public override string RestPath => "v1/{+name}"; - /// Initializes TestIamPermissions parameter list. + /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter { - Name = "resource", + Name = "name", IsRequired = true, ParameterType = "path", DefaultValue = null, @@ -1605,24 +1603,6 @@ protected override void InitParameters() }); } } - } - - /// Gets the GoogleApiSources resource. - public virtual GoogleApiSourcesResource GoogleApiSources { get; } - - /// The "googleApiSources" collection of methods. - public class GoogleApiSourcesResource - { - private const string Resource = "googleApiSources"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public GoogleApiSourcesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } /// /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and @@ -1691,7 +1671,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", }); RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter { @@ -1704,234 +1684,209 @@ protected override void InitParameters() } } - /// - /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return - /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - /// - /// The body of the request. - /// - /// 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. - /// - public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest body, string resource) + /// List Enrollments. + /// Required. The parent collection to list triggers on. + public virtual ListRequest List(string parent) { - return new SetIamPolicyRequest(this.service, body, resource); + return new ListRequest(this.service, parent); } - /// - /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return - /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - /// - public class SetIamPolicyRequest : EventarcBaseServiceRequest + /// List Enrollments. + public class ListRequest : EventarcBaseServiceRequest { - /// Constructs a new SetIamPolicy request. - public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest body, string resource) : base(service) + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) { - Resource = resource; - Body = body; + Parent = parent; InitParameters(); } + /// Required. The parent collection to list triggers on. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + /// - /// 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. + /// Optional. The filter field that the list request will filter on. Possible filtersare described + /// in https://google.aip.dev/160. /// - [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } - /// Gets or sets the body of this request. - Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest Body { get; set; } + /// + /// Optional. The sorting order of the resources returned. Value should be a comma-separated list of + /// fields. The default sorting order is ascending. To specify descending order for a field, append + /// a `desc` suffix; for example: `name desc, update_time`. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } - /// Returns the body of the request. - protected override object GetBody() => Body; + /// + /// Optional. The maximum number of results to return on each page. Note: The service may send + /// fewer. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. The page token; provide the value from the `next_page_token` field in a previous call + /// to retrieve the subsequent page. When paginating, all other parameters provided must match the + /// previous call that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } /// Gets the method name. - public override string MethodName => "setIamPolicy"; + public override string MethodName => "list"; /// Gets the HTTP method. - public override string HttpMethod => "POST"; + public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "v1/{+resource}:setIamPolicy"; + public override string RestPath => "v1/{+parent}/enrollments"; - /// Initializes SetIamPolicy parameter list. + /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter { - Name = "resource", + Name = "parent", IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, }); } } - /// - /// Returns permissions that a caller has on the specified resource. If the resource does not exist, - /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is - /// designed to be used for building permission-aware UIs and command-line tools, not for authorization - /// checking. This operation may "fail open" without warning. - /// + /// Update a single Enrollment. /// The body of the request. - /// - /// 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. + /// + /// Identifier. Resource name of the form + /// projects/{project}/locations/{location}/enrollments/{enrollment} /// - public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest body, string resource) + public virtual PatchRequest Patch(Google.Apis.Eventarc.v1.Data.Enrollment body, string name) { - return new TestIamPermissionsRequest(this.service, body, resource); + return new PatchRequest(this.service, body, name); } - /// - /// Returns permissions that a caller has on the specified resource. If the resource does not exist, - /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is - /// designed to be used for building permission-aware UIs and command-line tools, not for authorization - /// checking. This operation may "fail open" without warning. - /// - public class TestIamPermissionsRequest : EventarcBaseServiceRequest + /// Update a single Enrollment. + public class PatchRequest : EventarcBaseServiceRequest { - /// Constructs a new TestIamPermissions request. - public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest body, string resource) : base(service) + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.Enrollment body, string name) : base(service) { - Resource = resource; + Name = name; Body = body; InitParameters(); } /// - /// 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. + /// Identifier. Resource name of the form + /// projects/{project}/locations/{location}/enrollments/{enrollment} /// - [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. If set to true, and the Enrollment is not found, a new Enrollment will be created. In + /// this situation, `update_mask` is ignored. + /// + [Google.Apis.Util.RequestParameterAttribute("allowMissing", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AllowMissing { get; set; } + + /// + /// Optional. The fields to be updated; only fields explicitly provided are updated. If no field + /// mask is provided, all provided fields in the request are updated. To update all fields, provide + /// a field mask of "*". + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } /// Gets or sets the body of this request. - Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest Body { get; set; } + Google.Apis.Eventarc.v1.Data.Enrollment Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. - public override string MethodName => "testIamPermissions"; + public override string MethodName => "patch"; /// Gets the HTTP method. - public override string HttpMethod => "POST"; + public override string HttpMethod => "PATCH"; /// Gets the REST path. - public override string RestPath => "v1/{+resource}:testIamPermissions"; + public override string RestPath => "v1/{+name}"; - /// Initializes TestIamPermissions parameter list. + /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter { - Name = "resource", + Name = "name", IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", }); - } - } - } - - /// Gets the MessageBuses resource. - public virtual MessageBusesResource MessageBuses { get; } - - /// The "messageBuses" collection of methods. - public class MessageBusesResource - { - private const string Resource = "messageBuses"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public MessageBusesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and - /// does not have a policy set. - /// - /// - /// 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. - /// - public virtual GetIamPolicyRequest GetIamPolicy(string resource) - { - return new GetIamPolicyRequest(this.service, resource); - } - - /// - /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and - /// does not have a policy set. - /// - public class GetIamPolicyRequest : EventarcBaseServiceRequest - { - /// Constructs a new GetIamPolicy request. - public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) - { - Resource = resource; - InitParameters(); - } - - /// - /// 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. - /// - [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Resource { get; private set; } - - /// - /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, - /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any - /// conditional role bindings must specify version 3. Policies with no conditional role bindings may - /// specify any valid value or leave the field unset. The policy in the response might use the - /// policy version that you specified, or it might use a lower policy version. For example, if you - /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. - /// To learn which resources support conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - /// - [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } - - /// Gets the method name. - public override string MethodName => "getIamPolicy"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/{+resource}:getIamPolicy"; - - /// Initializes GetIamPolicy parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + RequestParameters.Add("allowMissing", new Google.Apis.Discovery.Parameter { - Name = "resource", - IsRequired = true, - ParameterType = "path", + Name = "allowMissing", + IsRequired = false, + ParameterType = "query", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + Pattern = null, }); - RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { - Name = "options.requestedPolicyVersion", + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2002,7 +1957,7 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", }); } } @@ -2073,82 +2028,1837 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", }); } } } - /// Gets the Operations resource. - public virtual OperationsResource Operations { get; } + /// Gets the GoogleApiSources resource. + public virtual GoogleApiSourcesResource GoogleApiSources { get; } - /// The "operations" collection of methods. - public class OperationsResource + /// The "googleApiSources" collection of methods. + public class GoogleApiSourcesResource { - private const string Resource = "operations"; + private const string Resource = "googleApiSources"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. - public OperationsResource(Google.Apis.Services.IClientService service) + public GoogleApiSourcesResource(Google.Apis.Services.IClientService service) { this.service = service; } + /// Create a new GoogleApiSource in a particular project and location. + /// The body of the request. + /// Required. The parent collection in which to add this google api source. + public virtual CreateRequest Create(Google.Apis.Eventarc.v1.Data.GoogleApiSource body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Create a new GoogleApiSource in a particular project and location. + public class CreateRequest : EventarcBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.GoogleApiSource body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// Required. The parent collection in which to add this google api source. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format + /// (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). + /// + [Google.Apis.Util.RequestParameterAttribute("googleApiSourceId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string GoogleApiSourceId { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.GoogleApiSource Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/googleApiSources"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("googleApiSourceId", new Google.Apis.Discovery.Parameter + { + Name = "googleApiSourceId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Delete a single GoogleApiSource. + /// Required. The name of the GoogleApiSource to be deleted. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Delete a single GoogleApiSource. + public class DeleteRequest : EventarcBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The name of the GoogleApiSource to be deleted. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. If set to true, and the MessageBus is not found, the request will succeed but no + /// action will be taken on the server. + /// + [Google.Apis.Util.RequestParameterAttribute("allowMissing", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AllowMissing { get; set; } + + /// + /// Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag + /// on the resource. + /// + [Google.Apis.Util.RequestParameterAttribute("etag", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Etag { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + }); + RequestParameters.Add("allowMissing", new Google.Apis.Discovery.Parameter + { + Name = "allowMissing", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("etag", new Google.Apis.Discovery.Parameter + { + Name = "etag", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Get a single GoogleApiSource. + /// Required. The name of the google api source to get. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Get a single GoogleApiSource. + public class GetRequest : EventarcBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The name of the google api source to get. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + }); + } + } + /// - /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to - /// cancel the operation, but success is not guaranteed. If the server doesn't support this method, it - /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to - /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On - /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an - /// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. /// - /// The body of the request. - /// The name of the operation resource to be cancelled. - public virtual CancelRequest Cancel(Google.Apis.Eventarc.v1.Data.GoogleLongrunningCancelOperationRequest body, string name) + /// + /// 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. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) { - return new CancelRequest(this.service, body, name); + return new GetIamPolicyRequest(this.service, resource); } /// - /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to - /// cancel the operation, but success is not guaranteed. If the server doesn't support this method, it - /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to - /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On - /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an - /// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. /// - public class CancelRequest : EventarcBaseServiceRequest + public class GetIamPolicyRequest : EventarcBaseServiceRequest { - /// Constructs a new Cancel request. - public CancelRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.GoogleLongrunningCancelOperationRequest body, string name) : base(service) + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// 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. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, + /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any + /// conditional role bindings must specify version 3. Policies with no conditional role bindings may + /// specify any valid value or leave the field unset. The policy in the response might use the + /// policy version that you specified, or it might use a lower policy version. For example, if you + /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. + /// To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// List GoogleApiSources. + /// Required. The parent collection to list GoogleApiSources on. + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// List GoogleApiSources. + public class ListRequest : EventarcBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// Required. The parent collection to list GoogleApiSources on. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Optional. The filter field that the list request will filter on. Possible filtersare described + /// in https://google.aip.dev/160. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. The sorting order of the resources returned. Value should be a comma-separated list of + /// fields. The default sorting order is ascending. To specify descending order for a field, append + /// a `desc` suffix; for example: `name desc, update_time`. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Optional. The maximum number of results to return on each page. Note: The service may send + /// fewer. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. The page token; provide the value from the `next_page_token` field in a previous call + /// to retrieve the subsequent page. When paginating, all other parameters provided must match the + /// previous call that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/googleApiSources"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Update a single GoogleApiSource. + /// The body of the request. + /// + /// Identifier. Resource name of the form + /// projects/{project}/locations/{location}/googleApiSources/{google_api_source} + /// + public virtual PatchRequest Patch(Google.Apis.Eventarc.v1.Data.GoogleApiSource body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Update a single GoogleApiSource. + public class PatchRequest : EventarcBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.GoogleApiSource body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Identifier. Resource name of the form + /// projects/{project}/locations/{location}/googleApiSources/{google_api_source} + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. If set to true, and the GoogleApiSource is not found, a new GoogleApiSource will be + /// created. In this situation, `update_mask` is ignored. + /// + [Google.Apis.Util.RequestParameterAttribute("allowMissing", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AllowMissing { get; set; } + + /// + /// Optional. The fields to be updated; only fields explicitly provided are updated. If no field + /// mask is provided, all provided fields in the request are updated. To update all fields, provide + /// a field mask of "*". + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.GoogleApiSource Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + }); + RequestParameters.Add("allowMissing", new Google.Apis.Discovery.Parameter + { + Name = "allowMissing", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// 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. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(this.service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : EventarcBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// 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. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// 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. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(this.service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : EventarcBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// 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. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", + }); + } + } + } + + /// Gets the MessageBuses resource. + public virtual MessageBusesResource MessageBuses { get; } + + /// The "messageBuses" collection of methods. + public class MessageBusesResource + { + private const string Resource = "messageBuses"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public MessageBusesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Create a new MessageBus in a particular project and location. + /// The body of the request. + /// Required. The parent collection in which to add this message bus. + public virtual CreateRequest Create(Google.Apis.Eventarc.v1.Data.MessageBus body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Create a new MessageBus in a particular project and location. + public class CreateRequest : EventarcBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.MessageBus body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// Required. The parent collection in which to add this message bus. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The user-provided ID to be assigned to the MessageBus. It should match the format + /// (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) + /// + [Google.Apis.Util.RequestParameterAttribute("messageBusId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string MessageBusId { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.MessageBus Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/messageBuses"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("messageBusId", new Google.Apis.Discovery.Parameter + { + Name = "messageBusId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Delete a single message bus. + /// Required. The name of the MessageBus to be deleted. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Delete a single message bus. + public class DeleteRequest : EventarcBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The name of the MessageBus to be deleted. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. If set to true, and the MessageBus is not found, the request will succeed but no + /// action will be taken on the server. + /// + [Google.Apis.Util.RequestParameterAttribute("allowMissing", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AllowMissing { get; set; } + + /// + /// Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag + /// on the resource. + /// + [Google.Apis.Util.RequestParameterAttribute("etag", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Etag { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + }); + RequestParameters.Add("allowMissing", new Google.Apis.Discovery.Parameter + { + Name = "allowMissing", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("etag", new Google.Apis.Discovery.Parameter + { + Name = "etag", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Get a single MessageBus. + /// Required. The name of the message bus to get. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Get a single MessageBus. + public class GetRequest : EventarcBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The name of the message bus to get. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + }); + } + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + /// + /// 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. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(this.service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + public class GetIamPolicyRequest : EventarcBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// 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. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, + /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any + /// conditional role bindings must specify version 3. Policies with no conditional role bindings may + /// specify any valid value or leave the field unset. The policy in the response might use the + /// policy version that you specified, or it might use a lower policy version. For example, if you + /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. + /// To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// List message buses. + /// Required. The parent collection to list triggers on. + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// List message buses. + public class ListRequest : EventarcBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// Required. The parent collection to list triggers on. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Optional. The filter field that the list request will filter on. Possible filtersare described + /// in https://google.aip.dev/160. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. The sorting order of the resources returned. Value should be a comma-separated list of + /// fields. The default sorting order is ascending. To specify descending order for a field, append + /// a `desc` suffix; for example: `name desc, update_time`. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Optional. The maximum number of results to return on each page. Note: The service may send + /// fewer. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. The page token; provide the value from the `next_page_token` field in a previous call + /// to retrieve the subsequent page. When paginating, all other parameters provided must match the + /// previous call that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/messageBuses"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// List message bus enrollments. + /// Required. The parent message bus to list enrollments on. + public virtual ListEnrollmentsRequest ListEnrollments(string parent) + { + return new ListEnrollmentsRequest(this.service, parent); + } + + /// List message bus enrollments. + public class ListEnrollmentsRequest : EventarcBaseServiceRequest + { + /// Constructs a new ListEnrollments request. + public ListEnrollmentsRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// Required. The parent message bus to list enrollments on. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Optional. The maximum number of results to return on each page. Note: The service may send + /// fewer. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. The page token; provide the value from the `next_page_token` field in a previous call + /// to retrieve the subsequent page. When paginating, all other parameters provided must match the + /// previous call that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "listEnrollments"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}:listEnrollments"; + + /// Initializes ListEnrollments parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Update a single message bus. + /// The body of the request. + /// + /// Identifier. Resource name of the form + /// projects/{project}/locations/{location}/messageBuses/{message_bus} + /// + public virtual PatchRequest Patch(Google.Apis.Eventarc.v1.Data.MessageBus body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Update a single message bus. + public class PatchRequest : EventarcBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.MessageBus body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Identifier. Resource name of the form + /// projects/{project}/locations/{location}/messageBuses/{message_bus} + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. If set to true, and the MessageBus is not found, a new MessageBus will be created. In + /// this situation, `update_mask` is ignored. + /// + [Google.Apis.Util.RequestParameterAttribute("allowMissing", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AllowMissing { get; set; } + + /// + /// Optional. The fields to be updated; only fields explicitly provided are updated. If no field + /// mask is provided, all provided fields in the request are updated. To update all fields, provide + /// a field mask of "*". + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.MessageBus Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + }); + RequestParameters.Add("allowMissing", new Google.Apis.Discovery.Parameter + { + Name = "allowMissing", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// 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. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(this.service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : EventarcBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// 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. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// 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. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(this.service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : EventarcBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// 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. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", + }); + } + } + } + + /// Gets the Operations resource. + public virtual OperationsResource Operations { get; } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to + /// cancel the operation, but success is not guaranteed. If the server doesn't support this method, it + /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to + /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On + /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + /// + /// The body of the request. + /// The name of the operation resource to be cancelled. + public virtual CancelRequest Cancel(Google.Apis.Eventarc.v1.Data.GoogleLongrunningCancelOperationRequest body, string name) + { + return new CancelRequest(this.service, body, name); + } + + /// + /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to + /// cancel the operation, but success is not guaranteed. If the server doesn't support this method, it + /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to + /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On + /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + /// + public class CancelRequest : EventarcBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.GoogleLongrunningCancelOperationRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// The name of the operation resource to be cancelled. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.GoogleLongrunningCancelOperationRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "cancel"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:cancel"; + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + }); + } + } + + /// + /// Deletes a long-running operation. This method indicates that the client is no longer interested in + /// the operation result. It does not cancel the operation. If the server doesn't support this method, + /// it returns `google.rpc.Code.UNIMPLEMENTED`. + /// + /// The name of the operation resource to be deleted. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// + /// Deletes a long-running operation. This method indicates that the client is no longer interested in + /// the operation result. It does not cancel the operation. If the server doesn't support this method, + /// it returns `google.rpc.Code.UNIMPLEMENTED`. + /// + public class DeleteRequest : EventarcBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation resource to be deleted. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + }); + } + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation + /// result at intervals as recommended by the API service. + /// + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation + /// result at intervals as recommended by the API service. + /// + public class GetRequest : EventarcBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + }); + } + } + + /// + /// Lists operations that match the specified filter in the request. If the server doesn't support this + /// method, it returns `UNIMPLEMENTED`. + /// + /// The name of the operation's parent resource. + public virtual ListRequest List(string name) + { + return new ListRequest(this.service, name); + } + + /// + /// Lists operations that match the specified filter in the request. If the server doesn't support this + /// method, it returns `UNIMPLEMENTED`. + /// + public class ListRequest : EventarcBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation's parent resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}/operations"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Gets the Pipelines resource. + public virtual PipelinesResource Pipelines { get; } + + /// The "pipelines" collection of methods. + public class PipelinesResource + { + private const string Resource = "pipelines"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public PipelinesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Create a new Pipeline in a particular project and location. + /// The body of the request. + /// Required. The parent collection in which to add this pipeline. + public virtual CreateRequest Create(Google.Apis.Eventarc.v1.Data.Pipeline body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Create a new Pipeline in a particular project and location. + public class CreateRequest : EventarcBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.Pipeline body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// Required. The parent collection in which to add this pipeline. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Required. The user-provided ID to be assigned to the Pipeline. + [Google.Apis.Util.RequestParameterAttribute("pipelineId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PipelineId { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.Pipeline Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/pipelines"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("pipelineId", new Google.Apis.Discovery.Parameter + { + Name = "pipelineId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Delete a single pipeline. + /// Required. The name of the Pipeline to be deleted. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Delete a single pipeline. + public class DeleteRequest : EventarcBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) { Name = name; - Body = body; InitParameters(); } - /// The name of the operation resource to be cancelled. + /// Required. The name of the Pipeline to be deleted. [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Gets or sets the body of this request. - Google.Apis.Eventarc.v1.Data.GoogleLongrunningCancelOperationRequest Body { get; set; } + /// + /// Optional. If set to true, and the Pipeline is not found, the request will succeed but no action + /// will be taken on the server. + /// + [Google.Apis.Util.RequestParameterAttribute("allowMissing", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AllowMissing { get; set; } - /// Returns the body of the request. - protected override object GetBody() => Body; + /// + /// Optional. If provided, the Pipeline will only be deleted if the etag matches the current etag on + /// the resource. + /// + [Google.Apis.Util.RequestParameterAttribute("etag", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Etag { get; set; } + + /// + /// Optional. If set, validate the request and preview the review, but do not post it. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } /// Gets the method name. - public override string MethodName => "cancel"; + public override string MethodName => "delete"; /// Gets the HTTP method. - public override string HttpMethod => "POST"; + public override string HttpMethod => "DELETE"; /// Gets the REST path. - public override string RestPath => "v1/{+name}:cancel"; + public override string RestPath => "v1/{+name}"; - /// Initializes Cancel parameter list. + /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); @@ -2158,50 +3868,66 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", + }); + RequestParameters.Add("allowMissing", new Google.Apis.Discovery.Parameter + { + Name = "allowMissing", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("etag", new Google.Apis.Discovery.Parameter + { + Name = "etag", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, }); } } - /// - /// Deletes a long-running operation. This method indicates that the client is no longer interested in - /// the operation result. It does not cancel the operation. If the server doesn't support this method, - /// it returns `google.rpc.Code.UNIMPLEMENTED`. - /// - /// The name of the operation resource to be deleted. - public virtual DeleteRequest Delete(string name) + /// Get a single Pipeline. + /// Required. The name of the pipeline to get. + public virtual GetRequest Get(string name) { - return new DeleteRequest(this.service, name); + return new GetRequest(this.service, name); } - /// - /// Deletes a long-running operation. This method indicates that the client is no longer interested in - /// the operation result. It does not cancel the operation. If the server doesn't support this method, - /// it returns `google.rpc.Code.UNIMPLEMENTED`. - /// - public class DeleteRequest : EventarcBaseServiceRequest + /// Get a single Pipeline. + public class GetRequest : EventarcBaseServiceRequest { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) { Name = name; InitParameters(); } - /// The name of the operation resource to be deleted. + /// Required. The name of the pipeline to get. [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } /// Gets the method name. - public override string MethodName => "delete"; + public override string MethodName => "get"; /// Gets the HTTP method. - public override string HttpMethod => "DELETE"; + public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/{+name}"; - /// Initializes Delete parameter list. + /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); @@ -2211,98 +3937,139 @@ protected override void InitParameters() IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", }); } } /// - /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation - /// result at intervals as recommended by the API service. + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. /// - /// The name of the operation resource. - public virtual GetRequest Get(string name) + /// + /// 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. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) { - return new GetRequest(this.service, name); + return new GetIamPolicyRequest(this.service, resource); } /// - /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation - /// result at intervals as recommended by the API service. + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. /// - public class GetRequest : EventarcBaseServiceRequest + public class GetIamPolicyRequest : EventarcBaseServiceRequest { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) { - Name = name; + Resource = resource; InitParameters(); } - /// The name of the operation resource. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } + /// + /// 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. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, + /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any + /// conditional role bindings must specify version 3. Policies with no conditional role bindings may + /// specify any valid value or leave the field unset. The policy in the response might use the + /// policy version that you specified, or it might use a lower policy version. For example, if you + /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. + /// To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } /// Gets the method name. - public override string MethodName => "get"; + public override string MethodName => "getIamPolicy"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "v1/{+name}"; + public override string RestPath => "v1/{+resource}:getIamPolicy"; - /// Initializes Get parameter list. + /// Initializes GetIamPolicy parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter { - Name = "name", + Name = "resource", IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + Pattern = @"^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, }); } } - /// - /// Lists operations that match the specified filter in the request. If the server doesn't support this - /// method, it returns `UNIMPLEMENTED`. - /// - /// The name of the operation's parent resource. - public virtual ListRequest List(string name) + /// List pipelines. + /// Required. The parent collection to list pipelines on. + public virtual ListRequest List(string parent) { - return new ListRequest(this.service, name); + return new ListRequest(this.service, parent); } - /// - /// Lists operations that match the specified filter in the request. If the server doesn't support this - /// method, it returns `UNIMPLEMENTED`. - /// - public class ListRequest : EventarcBaseServiceRequest + /// List pipelines. + public class ListRequest : EventarcBaseServiceRequest { /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) { - Name = name; + Parent = parent; InitParameters(); } - /// The name of the operation's parent resource. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } + /// Required. The parent collection to list pipelines on. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } - /// The standard list filter. + /// + /// Optional. The filter field that the list request will filter on. Possible filters are described + /// in https://google.aip.dev/160. + /// [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } - /// The standard list page size. + /// + /// Optional. The sorting order of the resources returned. Value should be a comma-separated list of + /// fields. The default sorting order is ascending. To specify descending order for a field, append + /// a `desc` suffix; for example: `name desc, update_time`. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Optional. The maximum number of results to return on each page. Note: The service may send + /// fewer. + /// [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// The standard list page token. + /// + /// Optional. The page token; provide the value from the `next_page_token` field in a previous call + /// to retrieve the subsequent page. When paginating, all other parameters provided must match the + /// previous call that provided the page token. + /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -2313,15 +4080,15 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "v1/{+name}/operations"; + public override string RestPath => "v1/{+parent}/pipelines"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter { - Name = "name", + Name = "parent", IsRequired = true, ParameterType = "path", DefaultValue = null, @@ -2335,6 +4102,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", @@ -2353,97 +4128,103 @@ protected override void InitParameters() }); } } - } - - /// Gets the Pipelines resource. - public virtual PipelinesResource Pipelines { get; } - - /// The "pipelines" collection of methods. - public class PipelinesResource - { - private const string Resource = "pipelines"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public PipelinesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - /// - /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and - /// does not have a policy set. - /// - /// - /// 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. + /// Update a single pipeline. + /// The body of the request. + /// + /// Identifier. The resource name of the Pipeline. Must be unique within the location of the project and + /// must be in `projects/{project}/locations/{location}/pipelines/{pipeline}` format. /// - public virtual GetIamPolicyRequest GetIamPolicy(string resource) + public virtual PatchRequest Patch(Google.Apis.Eventarc.v1.Data.Pipeline body, string name) { - return new GetIamPolicyRequest(this.service, resource); + return new PatchRequest(this.service, body, name); } - /// - /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and - /// does not have a policy set. - /// - public class GetIamPolicyRequest : EventarcBaseServiceRequest + /// Update a single pipeline. + public class PatchRequest : EventarcBaseServiceRequest { - /// Constructs a new GetIamPolicy request. - public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Eventarc.v1.Data.Pipeline body, string name) : base(service) { - Resource = resource; + Name = name; + Body = body; InitParameters(); } /// - /// 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. + /// Identifier. The resource name of the Pipeline. Must be unique within the location of the project + /// and must be in `projects/{project}/locations/{location}/pipelines/{pipeline}` format. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this + /// situation, `update_mask` is ignored. + /// + [Google.Apis.Util.RequestParameterAttribute("allowMissing", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AllowMissing { get; set; } + + /// + /// Optional. The fields to be updated; only fields explicitly provided are updated. If no field + /// mask is provided, all provided fields in the request are updated. To update all fields, provide + /// a field mask of "*". /// - [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } /// - /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, - /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any - /// conditional role bindings must specify version 3. Policies with no conditional role bindings may - /// specify any valid value or leave the field unset. The policy in the response might use the - /// policy version that you specified, or it might use a lower policy version. For example, if you - /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. - /// To learn which resources support conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// Optional. If set, validate the request and preview the review, but do not post it. /// - [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Eventarc.v1.Data.Pipeline Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; /// Gets the method name. - public override string MethodName => "getIamPolicy"; + public override string MethodName => "patch"; /// Gets the HTTP method. - public override string HttpMethod => "GET"; + public override string HttpMethod => "PATCH"; /// Gets the REST path. - public override string RestPath => "v1/{+resource}:getIamPolicy"; + public override string RestPath => "v1/{+name}"; - /// Initializes GetIamPolicy parameter list. + /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter { - Name = "resource", + Name = "name", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", }); - RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + RequestParameters.Add("allowMissing", new Google.Apis.Discovery.Parameter { - Name = "options.requestedPolicyVersion", + Name = "allowMissing", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -4132,6 +5913,137 @@ public class Empty : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// An enrollment represents a subscription for messages on a particular message bus. It defines a matching criteria + /// for messages on the bus and the subscriber endpoint where matched messages should be delivered. + /// + public class Enrollment : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Resource annotations. + [Newtonsoft.Json.JsonPropertyAttribute("annotations")] + public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + + /// Required. A CEL expression identifying which messages this enrollment applies to. + [Newtonsoft.Json.JsonPropertyAttribute("celMatch")] + public virtual string CelMatch { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The creation time. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to the full + /// resource name of a Pipeline. Format: "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)" + /// + [Newtonsoft.Json.JsonPropertyAttribute("destination")] + public virtual string Destination { get; set; } + + /// Optional. Resource display name. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Output only. This checksum is computed by the server based on the value of other fields, and might be sent + /// only on update and delete requests to ensure that the client has an up-to-date value before proceeding. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// Optional. Resource labels. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// + /// Required. Resource name of the message bus identifying the source of the messages. It matches the form + /// projects/{project}/locations/{location}/messageBuses/{messageBus}. + /// + [Newtonsoft.Json.JsonPropertyAttribute("messageBus")] + public virtual string MessageBus { get; set; } + + /// + /// Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment} + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed + /// to remain unchanged until the resource is deleted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uid")] + public virtual string Uid { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The last-modified time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + } + /// Filters events based on exact matches on the CloudEvents attributes. public class EventFilter : Google.Apis.Requests.IDirectResponseSchema { @@ -4295,12 +6207,142 @@ public class GKE : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("path")] public virtual string Path { get; set; } - /// Required. Name of the GKE service. - [Newtonsoft.Json.JsonPropertyAttribute("service")] - public virtual string Service { get; set; } + /// Required. Name of the GKE service. + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A GoogleApiSource represents a subscription of 1P events from a MessageBus. + public class GoogleApiSource : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Resource annotations. + [Newtonsoft.Json.JsonPropertyAttribute("annotations")] + public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The creation time. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. + /// It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] + public virtual string CryptoKeyName { get; set; } + + /// + /// Required. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the + /// full resource name of a MessageBus. Format: + /// "projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID) + /// + [Newtonsoft.Json.JsonPropertyAttribute("destination")] + public virtual string Destination { get; set; } + + /// Optional. Resource display name. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Output only. This checksum is computed by the server based on the value of other fields, and might be sent + /// only on update and delete requests to ensure that the client has an up-to-date value before proceeding. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// Optional. Resource labels. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// Optional. Config to control Platform logging for the GoogleApiSource. + [Newtonsoft.Json.JsonPropertyAttribute("loggingConfig")] + public virtual LoggingConfig LoggingConfig { get; set; } + + /// + /// Identifier. Resource name of the form + /// projects/{project}/locations/{location}/googleApiSources/{google_api_source} + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed + /// to remain unchanged until the resource is deleted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uid")] + public virtual string Uid { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The last-modified time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } - /// The ETag of the item. - public virtual string ETag { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } } /// @@ -4365,6 +6407,336 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Represents a target of an invocation over HTTP. + public class GoogleCloudEventarcV1PipelineDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. An authentication config used to authenticate message requests, such that destinations can verify + /// the source. For example, this can be used with private GCP destinations that require GCP credentials to + /// access like Cloud Run. This field is optional and should be set only by users interested in authenticated + /// push + /// + [Newtonsoft.Json.JsonPropertyAttribute("authenticationConfig")] + public virtual GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig AuthenticationConfig { get; set; } + + /// + /// Optional. An HTTP endpoint destination described by an URI. If a DNS FQDN is provided as the endpoint, + /// Pipeline will create a peering zone to the consumer VPC and forward DNS requests to the VPC specified by + /// network config to resolve the service endpoint. See: + /// https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones + /// + [Newtonsoft.Json.JsonPropertyAttribute("httpEndpoint")] + public virtual GoogleCloudEventarcV1PipelineDestinationHttpEndpoint HttpEndpoint { get; set; } + + /// + /// Optional. The resource name of the Message Bus to which events should be published. The Message Bus resource + /// should exist in the same project as the Pipeline. Format: + /// `projects/{project}/locations/{location}/messageBuses/{message_bus}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("messageBus")] + public virtual string MessageBus { get; set; } + + /// + /// Optional. Network config is used to configure how Pipeline resolves and connects to a destination. + /// + [Newtonsoft.Json.JsonPropertyAttribute("networkConfig")] + public virtual GoogleCloudEventarcV1PipelineDestinationNetworkConfig NetworkConfig { get; set; } + + /// + /// Optional. The message format before it is delivered to the destination. If not set, the message will be + /// delivered in the format it was originally delivered to the Pipeline. This field can only be set if + /// Pipeline.input_payload_format is also set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("outputPayloadFormat")] + public virtual GoogleCloudEventarcV1PipelineMessagePayloadFormat OutputPayloadFormat { get; set; } + + /// + /// Optional. The resource name of the Pub/Sub topic to which events should be published. Format: + /// `projects/{project}/locations/{location}/topics/{topic}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("topic")] + public virtual string Topic { get; set; } + + /// + /// Optional. The resource name of the Workflow whose Executions are triggered by the events. The Workflow + /// resource should be deployed in the same project as the Pipeline. Format: + /// `projects/{project}/locations/{location}/workflows/{workflow}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("workflow")] + public virtual string Workflow { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a config used to authenticate message requests. + public class GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. This authenticate method will apply Google OIDC tokens signed by a GCP service account to the + /// requests. + /// + [Newtonsoft.Json.JsonPropertyAttribute("googleOidc")] + public virtual GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken GoogleOidc { get; set; } + + /// + /// Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be + /// generated and attached as an `Authorization` header in the HTTP request. This type of authorization should + /// generally only be used when calling Google APIs hosted on *.googleapis.com. + /// + [Newtonsoft.Json.JsonPropertyAttribute("oauthToken")] + public virtual GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken OauthToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Contains information needed for generating an [OAuth + /// token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally + /// only be used when calling Google APIs hosted on *.googleapis.com. + /// + public class GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. OAuth scope to be used for generating OAuth access token. If not specified, + /// "https://www.googleapis.com/auth/cloud-platform" will be used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("scope")] + public virtual string Scope { get; set; } + + /// + /// Required. Service account email used to generate the [OAuth + /// token](https://developers.google.com/identity/protocols/OAuth2). The principal who calls this API must have + /// iam.serviceAccounts.actAs permission in the service account. See + /// https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. + /// Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow Pipeline to + /// create OAuth2 tokens for authenticated requests. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] + public virtual string ServiceAccount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Represents a config used to authenticate with a Google OIDC token using a GCP service account. Use this + /// authentication method to invoke your Cloud Run and Cloud Functions destinations or HTTP endpoints that support + /// Google OIDC. + /// + public class GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Audience to be used to generate the OIDC Token. The audience claim identifies the recipient that + /// the JWT is intended for. If unspecified, the destination URI will be used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("audience")] + public virtual string Audience { get; set; } + + /// + /// Required. Service account email used to generate the OIDC Token. The principal who calls this API must have + /// iam.serviceAccounts.actAs permission in the service account. See + /// https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. + /// Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow the Pipeline to + /// create OpenID tokens for authenticated requests. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] + public virtual string ServiceAccount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a HTTP endpoint destination. + public class GoogleCloudEventarcV1PipelineDestinationHttpEndpoint : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The CEL expression used to construct a new HTTP request to be sent to the final destination. The + /// result of the CEL expression must be a map of key/value pairs such that: - If a map named `headers` exists + /// on the result of the expression, then its key/value pairs are directly mapped to the HTTP request headers. + /// The headers values are constructed from the corresponding value type’s canonical representation. If the + /// `headers` field doesn’t exist then the resulting HTTP request will be without headers. - If a field named + /// `body` exists on the result of the expression then its value is directly mapped to the body of the request. + /// If the value of the `body` field is of type bytes or string then it is used for the HTTP request body as-is, + /// with no conversion. If the body field is of any other type then it is converted to a JSON string. If the + /// body field doesn’t exist then the resulting HTTP request will be without a body. - Any other fields in the + /// resulting expression will be ignored. The CEL expression may access the incoming CloudEvent message in its + /// definition, as follows: - The `data` field of the incoming CloudEvent message can be accessed using the + /// `message.data` value. - Each attribute of the incoming CloudEvent message can be accessed using the + /// `message.` value, where is replaced with the name of the attribute. Headers added to the request by previous + /// filters in the chain can be accessed in the CEL expression using the `headers` variable. The `headers` + /// variable defines a map of key/value pairs corresponding to the HTTP headers added by previous mediation + /// steps and not the headers present on the original incoming request. For example, the following CEL + /// expression can be used to construct a Headers-only HTTP request by adding an additional header to the + /// headers added by previous mediations in the Pipeline: + /// ``` + /// {"headers": headers.merge({"new-header-key": + /// "new-header-value"})} + /// ``` + /// Additionally, the following CEL extension functions are provided for use in this + /// CEL expression: - toBase64Url: map.toBase64Url() -&gt; string - Converts a CelValue to a base64url + /// encoded string - toJsonString: map.toJsonString() -&gt; string - Converts a CelValue to a JSON string - + /// merge: map1.merge(map2) -&gt; map3 - Merges the passed CEL map with the existing CEL map the function is + /// applied to. - If the same key exists in both maps, if the key's value is type map both maps are merged else + /// the value from the passed map is used. - toMap: list(map).toMap() -&gt; map - Converts a CEL list of CEL + /// maps to a single CEL map - toDestinationPayloadFormat(): message.data.toDestinationPayloadFormat() -&gt; + /// string or bytes - Converts the message data to the destination payload format specified in + /// Pipeline.Destination.output_payload_format - This function is meant to be applied to the message.data field. + /// - If the destination payload format is not set, the function will return the message data unchanged. - + /// toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat() -&gt; map - Converts a + /// message to the corresponding structure of JSON format for CloudEvents - This function applies + /// toDestinationPayloadFormat() to the message data. It also sets the corresponding datacontenttype of the + /// CloudEvent, as indicated by Pipeline.Destination.output_payload_format. If no output_payload_format is set + /// it will use the existing datacontenttype on the CloudEvent if present, else leave datacontenttype absent. - + /// This function expects that the content of the message will adhere to the standard CloudEvent format. If it + /// doesn’t then this function will fail. - The result is a CEL map that corresponds to the JSON representation + /// of the CloudEvent. To convert that data to a JSON string it can be chained with the toJsonString function. + /// If a binding is not specified here, by default the message is treated as a CloudEvent and is mapped to the + /// HTTP request according to the CloudEvent HTTP Protocol Binding Binary Content Mode. The Pipeline converts + /// the data field of the message to the format provided in Pipeline.Destination.output_payload_format and maps + /// it to the body field of the result. It also sets the corresponding Content-Type header to the + /// output_payload_format type. If the Pipeline.Destination.output_payload_format is not set, then the Pipeline + /// will treat the data field of the message as opaque binary data and attach it to the request body as bytes. + /// In this case the Content-type header will be set to the value of the datacontenttype attribute set on the + /// incoming CloudEvent message if present and the `application/octet-stream` MIME type otherwise. The Pipeline + /// expects that the content of the message will adhere to the standard CloudEvent format. If it doesn’t then + /// the outgoing message request may fail with a persistent error. + /// + [Newtonsoft.Json.JsonPropertyAttribute("messageBindingTemplate")] + public virtual string MessageBindingTemplate { get; set; } + + /// + /// Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: + /// `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are + /// supported. The host can be either a static IP addressable from the VPC specified by the network config, or + /// an internal DNS hostname of the service resolvable via Cloud DNS. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a network config to be used for destination resolution and connectivity. + public class GoogleCloudEventarcV1PipelineDestinationNetworkConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. Name of the NetworkAttachment that allows access to the consumer VPC. Format: + /// `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("networkAttachment")] + public virtual string NetworkAttachment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Mediation defines different ways to modify the Pipeline. + public class GoogleCloudEventarcV1PipelineMediation : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. How the Pipeline is to transform messages + [Newtonsoft.Json.JsonPropertyAttribute("transformation")] + public virtual GoogleCloudEventarcV1PipelineMediationTransformation Transformation { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Transformation defines the way to transform an incoming message. + public class GoogleCloudEventarcV1PipelineMediationTransformation : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The template to apply to transform messages. + [Newtonsoft.Json.JsonPropertyAttribute("transformationTemplate")] + public virtual string TransformationTemplate { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the format of message data. + public class GoogleCloudEventarcV1PipelineMessagePayloadFormat : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Avro format. + [Newtonsoft.Json.JsonPropertyAttribute("avro")] + public virtual GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat Avro { get; set; } + + /// Optional. JSON format. + [Newtonsoft.Json.JsonPropertyAttribute("json")] + public virtual GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat Json { get; set; } + + /// Optional. Protobuf format. + [Newtonsoft.Json.JsonPropertyAttribute("protobuf")] + public virtual GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat Protobuf { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The format of an AVRO message payload. + public class GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The entire schema definition is stored in this field. + [Newtonsoft.Json.JsonPropertyAttribute("schemaDefinition")] + public virtual string SchemaDefinition { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The format of a JSON message payload. + public class GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The format of a Protobuf message payload. + public class GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The entire schema definition is stored in this field. + [Newtonsoft.Json.JsonPropertyAttribute("schemaDefinition")] + public virtual string SchemaDefinition { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// The retry policy configuration for the Pipeline. The pipeline exponentially backs off in case the destination is + /// non responsive or returns a retryable error code. The default semantics are as follows: The backoff starts with + /// a 5 second delay and doubles the delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.). The + /// delay is capped at 60 seconds by default. Please note that if you set the min_retry_delay and max_retry_delay + /// fields to the same value this will make the duration between retries constant. + /// + public class GoogleCloudEventarcV1PipelineRetryPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The maximum number of delivery attempts for any message. The value must be between 1 and 100. The + /// default value for this field is 5. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxAttempts")] + public virtual System.Nullable MaxAttempts { get; set; } + + /// + /// Optional. The maximum amount of seconds to wait between retry attempts. The value must be between 0 and 600. + /// The default value for this field is 60. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxRetryDelay")] + public virtual object MaxRetryDelay { get; set; } + + /// + /// Optional. The minimum amount of seconds to wait between retry attempts. The value must be between 0 and 600. + /// The default value for this field is 5. + /// + [Newtonsoft.Json.JsonPropertyAttribute("minRetryDelay")] + public virtual object MinRetryDelay { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The request message for Operations.CancelOperation. public class GoogleLongrunningCancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -4519,6 +6891,50 @@ public class ListChannelsResponse : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The response message for the `ListEnrollments` method. + public class ListEnrollmentsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The requested Enrollments, up to the number specified in `page_size`. + [Newtonsoft.Json.JsonPropertyAttribute("enrollments")] + public virtual System.Collections.Generic.IList Enrollments { get; set; } + + /// + /// A page token that can be sent to `ListEnrollments` to request the next page. If this is empty, then there + /// are no more pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Unreachable resources, if any. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for the `ListGoogleApiSources` method. + public class ListGoogleApiSourcesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The requested GoogleApiSources, up to the number specified in `page_size`. + [Newtonsoft.Json.JsonPropertyAttribute("googleApiSources")] + public virtual System.Collections.Generic.IList GoogleApiSources { get; set; } + + /// + /// A page token that can be sent to `ListMessageBusEnrollments` to request the next page. If this is empty, + /// then there are no more pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Unreachable resources, if any. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The response message for Locations.ListLocations. public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -4526,10 +6942,76 @@ public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("locations")] public virtual System.Collections.Generic.IList Locations { get; set; } - /// The standard List next-page token. + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for the `ListMessageBusEnrollments` method.` + public class ListMessageBusEnrollmentsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The requested enrollments, up to the number specified in `page_size`. + [Newtonsoft.Json.JsonPropertyAttribute("enrollments")] + public virtual System.Collections.Generic.IList Enrollments { get; set; } + + /// + /// A page token that can be sent to `ListMessageBusEnrollments` to request the next page. If this is empty, + /// then there are no more pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Unreachable resources, if any. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for the `ListMessageBuses` method. + public class ListMessageBusesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The requested message buses, up to the number specified in `page_size`. + [Newtonsoft.Json.JsonPropertyAttribute("messageBuses")] + public virtual System.Collections.Generic.IList MessageBuses { get; set; } + + /// + /// A page token that can be sent to `ListMessageBuses` to request the next page. If this is empty, then there + /// are no more pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Unreachable resources, if any. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for the ListPipelines method. + public class ListPipelinesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A page token that can be sent to `ListPipelines` to request the next page. If this is empty, then there are + /// no more pages. + /// [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } + /// The requested pipelines, up to the number specified in `page_size`. + [Newtonsoft.Json.JsonPropertyAttribute("pipelines")] + public virtual System.Collections.Generic.IList Pipelines { get; set; } + + /// Unreachable resources, if any. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -4610,6 +7092,148 @@ public class Location : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. + public class LoggingConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at + /// severitiy ≥ this value will be sent, unless it is NONE. + /// + [Newtonsoft.Json.JsonPropertyAttribute("logSeverity")] + public virtual string LogSeverity { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// MessageBus for the messages flowing through the system. The admin has visibility and control over the messages + /// being published and consumed and can restrict publishers and subscribers to only a subset of data available in + /// the system by defining authorization policies. + /// + public class MessageBus : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Resource annotations. + [Newtonsoft.Json.JsonPropertyAttribute("annotations")] + public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The creation time. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. + /// It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] + public virtual string CryptoKeyName { get; set; } + + /// Optional. Resource display name. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Output only. This checksum is computed by the server based on the value of other fields, and might be sent + /// only on update and delete requests to ensure that the client has an up-to-date value before proceeding. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// Optional. Resource labels. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// + /// Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the + /// Message Bus itself, and all the Enrollments attached to it. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loggingConfig")] + public virtual LoggingConfig LoggingConfig { get; set; } + + /// + /// Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus} + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed + /// to remain unchanged until the resource is deleted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uid")] + public virtual string Uid { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The last-modified time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + } + /// Network Configuration that can be inherited by other protos. public class NetworkConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -4729,6 +7353,166 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } + /// A representation of the Pipeline resource. + public class Pipeline : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. User-defined annotations. See https://google.aip.dev/128#annotations. + [Newtonsoft.Json.JsonPropertyAttribute("annotations")] + public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// + /// Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up + /// to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". + /// + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If + /// not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern + /// "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}". + /// + [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] + public virtual string CryptoKeyName { get; set; } + + /// + /// Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is + /// supported per Pipeline. + /// + [Newtonsoft.Json.JsonPropertyAttribute("destinations")] + public virtual System.Collections.Generic.IList Destinations { get; set; } + + /// Optional. Display name of resource. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Output only. This checksum is computed by the server based on the value of other fields, and might be sent + /// only on create requests to ensure that the client has an up-to-date value before proceeding. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// + /// Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is + /// set then any messages not matching this format will be treated as persistent errors. If input_payload_format + /// is not set, then the message data will be treated as an opaque binary and no output format can be set on the + /// Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that + /// involve access to the data field will fail as persistent errors. + /// + [Newtonsoft.Json.JsonPropertyAttribute("inputPayloadFormat")] + public virtual GoogleCloudEventarcV1PipelineMessagePayloadFormat InputPayloadFormat { get; set; } + + /// + /// Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a + /// list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. + /// + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// Optional. Config to control Platform Logging for Pipelines. + [Newtonsoft.Json.JsonPropertyAttribute("loggingConfig")] + public virtual LoggingConfig LoggingConfig { get; set; } + + /// + /// Optional. List of mediation operations to be performed on the message. Currently, only one Transformation + /// operation is allowed in each Pipeline. + /// + [Newtonsoft.Json.JsonPropertyAttribute("mediations")] + public virtual System.Collections.Generic.IList Mediations { get; set; } + + /// + /// Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be + /// in `projects/{project}/locations/{location}/pipelines/{pipeline}` format. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The retry policy to use in the pipeline. + [Newtonsoft.Json.JsonPropertyAttribute("retryPolicy")] + public virtual GoogleCloudEventarcV1PipelineRetryPolicy RetryPolicy { get; set; } + + /// + /// Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed + /// to remain unchanged until the resource is deleted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uid")] + public virtual string Uid { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// + /// Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution + /// and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". + /// + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + } + /// /// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A /// `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single diff --git a/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.csproj b/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.csproj index 407ea181023..84458b9c3be 100644 --- a/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.csproj +++ b/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Eventarc.v1 Client Library - 1.68.0.3543 + 1.68.0.3581 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs index 9652bf8707e..9f40ee207f2 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs +++ b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs @@ -849,9 +849,9 @@ public class GoogleCloudAiplatformV1beta1FunctionCallingConfig : Google.Apis.Req /// /// Structured representation of a function declaration as defined by the [OpenAPI 3.0 - /// specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and - /// parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the - /// model and executed by the client. + /// specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, + /// description, parameters and response type. This FunctionDeclaration is a representation of a block of code that + /// can be used as a `Tool` by the model and executed by the client. /// public class GoogleCloudAiplatformV1beta1FunctionDeclaration : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj index 2908f51fe2e..9b34ae769ca 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj +++ b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseML.v2beta Client Library - 1.68.0.3581 + 1.68.0.3584 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.cs b/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.cs index dad29c85317..078f3dda40d 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.cs @@ -5646,7 +5646,9 @@ public class ConfigManagementConfigSync : Google.Apis.Requests.IDirectResponseSc /// The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud /// Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric /// Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace - /// `config-management-monitoring` should be bound to the GSA. + /// `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for + /// GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: + /// https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. /// [Newtonsoft.Json.JsonPropertyAttribute("metricsGcpServiceAccountEmail")] public virtual string MetricsGcpServiceAccountEmail { get; set; } @@ -5731,6 +5733,10 @@ public class ConfigManagementConfigSyncState : Google.Apis.Requests.IDirectRespo [Newtonsoft.Json.JsonPropertyAttribute("clusterLevelStopSyncingState")] public virtual string ClusterLevelStopSyncingState { get; set; } + /// Output only. The number of RootSync and RepoSync CRs in the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("crCount")] + public virtual System.Nullable CrCount { get; set; } + /// /// Information about the deployment of ConfigSync, including the version of the various Pods deployed /// @@ -8015,6 +8021,10 @@ public class Membership : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("authority")] public virtual Authority Authority { get; set; } + /// Output only. The tier of the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("clusterTier")] + public virtual string ClusterTier { get; set; } + private string _createTimeRaw; private object _createTime; diff --git a/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.csproj b/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.csproj index 08a980f9f6d..e818a4872d8 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1 Client Library - 1.68.0.3570 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs index 419ad812e1a..d7a8909c595 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs @@ -6194,7 +6194,9 @@ public class ConfigManagementConfigSync : Google.Apis.Requests.IDirectResponseSc /// The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud /// Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric /// Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace - /// `config-management-monitoring` should be bound to the GSA. + /// `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for + /// GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: + /// https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. /// [Newtonsoft.Json.JsonPropertyAttribute("metricsGcpServiceAccountEmail")] public virtual string MetricsGcpServiceAccountEmail { get; set; } @@ -6279,6 +6281,10 @@ public class ConfigManagementConfigSyncState : Google.Apis.Requests.IDirectRespo [Newtonsoft.Json.JsonPropertyAttribute("clusterLevelStopSyncingState")] public virtual string ClusterLevelStopSyncingState { get; set; } + /// Output only. The number of RootSync and RepoSync CRs in the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("crCount")] + public virtual System.Nullable CrCount { get; set; } + /// /// Information about the deployment of ConfigSync, including the version of the various Pods deployed /// @@ -8633,6 +8639,10 @@ public class Membership : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("authority")] public virtual Authority Authority { get; set; } + /// Output only. The tier of the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("clusterTier")] + public virtual string ClusterTier { get; set; } + private string _createTimeRaw; private object _createTime; diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj index 51b580dcb82..b76cc5e0b13 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1alpha Client Library - 1.68.0.3570 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs index a4a77edc919..b2f9b57c1ec 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs @@ -5720,7 +5720,9 @@ public class ConfigManagementConfigSync : Google.Apis.Requests.IDirectResponseSc /// The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud /// Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric /// Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace - /// `config-management-monitoring` should be bound to the GSA. + /// `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for + /// GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: + /// https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. /// [Newtonsoft.Json.JsonPropertyAttribute("metricsGcpServiceAccountEmail")] public virtual string MetricsGcpServiceAccountEmail { get; set; } @@ -5805,6 +5807,10 @@ public class ConfigManagementConfigSyncState : Google.Apis.Requests.IDirectRespo [Newtonsoft.Json.JsonPropertyAttribute("clusterLevelStopSyncingState")] public virtual string ClusterLevelStopSyncingState { get; set; } + /// Output only. The number of RootSync and RepoSync CRs in the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("crCount")] + public virtual System.Nullable CrCount { get; set; } + /// /// Information about the deployment of ConfigSync, including the version of the various Pods deployed /// @@ -8099,6 +8105,10 @@ public class Membership : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("authority")] public virtual Authority Authority { get; set; } + /// Output only. The tier of the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("clusterTier")] + public virtual string ClusterTier { get; set; } + private string _createTimeRaw; private object _createTime; diff --git a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj index bc654bd03d1..04acd2cc3f6 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1beta Client Library - 1.68.0.3570 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.GKEHub.v2/Google.Apis.GKEHub.v2.cs b/Src/Generated/Google.Apis.GKEHub.v2/Google.Apis.GKEHub.v2.cs index cfa4f29c17d..bce1da2b795 100644 --- a/Src/Generated/Google.Apis.GKEHub.v2/Google.Apis.GKEHub.v2.cs +++ b/Src/Generated/Google.Apis.GKEHub.v2/Google.Apis.GKEHub.v2.cs @@ -1375,7 +1375,9 @@ public class ConfigManagementConfigSync : Google.Apis.Requests.IDirectResponseSc /// The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud /// Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric /// Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace - /// `config-management-monitoring` should be bound to the GSA. + /// `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for + /// GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: + /// https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. /// [Newtonsoft.Json.JsonPropertyAttribute("metricsGcpServiceAccountEmail")] public virtual string MetricsGcpServiceAccountEmail { get; set; } @@ -1460,6 +1462,10 @@ public class ConfigManagementConfigSyncState : Google.Apis.Requests.IDirectRespo [Newtonsoft.Json.JsonPropertyAttribute("clusterLevelStopSyncingState")] public virtual string ClusterLevelStopSyncingState { get; set; } + /// Output only. The number of RootSync and RepoSync CRs in the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("crCount")] + public virtual System.Nullable CrCount { get; set; } + /// /// Information about the deployment of ConfigSync, including the version. of the various Pods deployed /// diff --git a/Src/Generated/Google.Apis.GKEHub.v2/Google.Apis.GKEHub.v2.csproj b/Src/Generated/Google.Apis.GKEHub.v2/Google.Apis.GKEHub.v2.csproj index 70a00365d89..e48309380dd 100644 --- a/Src/Generated/Google.Apis.GKEHub.v2/Google.Apis.GKEHub.v2.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v2/Google.Apis.GKEHub.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v2 Client Library - 1.68.0.3570 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.cs b/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.cs index 5cad4ac4b8c..02ee50f54b9 100644 --- a/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.cs +++ b/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.cs @@ -1375,7 +1375,9 @@ public class ConfigManagementConfigSync : Google.Apis.Requests.IDirectResponseSc /// The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud /// Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric /// Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace - /// `config-management-monitoring` should be bound to the GSA. + /// `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for + /// GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: + /// https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. /// [Newtonsoft.Json.JsonPropertyAttribute("metricsGcpServiceAccountEmail")] public virtual string MetricsGcpServiceAccountEmail { get; set; } @@ -1460,6 +1462,10 @@ public class ConfigManagementConfigSyncState : Google.Apis.Requests.IDirectRespo [Newtonsoft.Json.JsonPropertyAttribute("clusterLevelStopSyncingState")] public virtual string ClusterLevelStopSyncingState { get; set; } + /// Output only. The number of RootSync and RepoSync CRs in the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("crCount")] + public virtual System.Nullable CrCount { get; set; } + /// /// Information about the deployment of ConfigSync, including the version. of the various Pods deployed /// diff --git a/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.csproj b/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.csproj index f123cf54144..5d3aa73cb99 100644 --- a/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v2alpha Client Library - 1.68.0.3570 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.GKEHub.v2beta/Google.Apis.GKEHub.v2beta.cs b/Src/Generated/Google.Apis.GKEHub.v2beta/Google.Apis.GKEHub.v2beta.cs index a818544e76f..31d6057cfd8 100644 --- a/Src/Generated/Google.Apis.GKEHub.v2beta/Google.Apis.GKEHub.v2beta.cs +++ b/Src/Generated/Google.Apis.GKEHub.v2beta/Google.Apis.GKEHub.v2beta.cs @@ -1375,7 +1375,9 @@ public class ConfigManagementConfigSync : Google.Apis.Requests.IDirectResponseSc /// The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud /// Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric /// Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace - /// `config-management-monitoring` should be bound to the GSA. + /// `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for + /// GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: + /// https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. /// [Newtonsoft.Json.JsonPropertyAttribute("metricsGcpServiceAccountEmail")] public virtual string MetricsGcpServiceAccountEmail { get; set; } @@ -1460,6 +1462,10 @@ public class ConfigManagementConfigSyncState : Google.Apis.Requests.IDirectRespo [Newtonsoft.Json.JsonPropertyAttribute("clusterLevelStopSyncingState")] public virtual string ClusterLevelStopSyncingState { get; set; } + /// Output only. The number of RootSync and RepoSync CRs in the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("crCount")] + public virtual System.Nullable CrCount { get; set; } + /// /// Information about the deployment of ConfigSync, including the version. of the various Pods deployed /// diff --git a/Src/Generated/Google.Apis.GKEHub.v2beta/Google.Apis.GKEHub.v2beta.csproj b/Src/Generated/Google.Apis.GKEHub.v2beta/Google.Apis.GKEHub.v2beta.csproj index a284afad670..0b86c391982 100644 --- a/Src/Generated/Google.Apis.GKEHub.v2beta/Google.Apis.GKEHub.v2beta.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v2beta/Google.Apis.GKEHub.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v2beta Client Library - 1.68.0.3570 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs index bcb614a3a97..3100363d4fc 100644 --- a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs +++ b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs @@ -5038,6 +5038,14 @@ public class GoogleAppsCardV1Button : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } + /// + /// Optional. The type of a button. If unset, button type defaults to `OUTLINED`. If the `color` field is set, + /// the button type is forced to `FILLED` and any value set for this field is ignored. [Google Chat + /// apps](https://developers.google.com/workspace/chat): + /// + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -5236,6 +5244,97 @@ public class GoogleAppsCardV1CardHeader : Google.Apis.Requests.IDirectResponseSc public virtual string ETag { get; set; } } + /// + /// A text, icon, or text and icon chip that users can click. [Google Chat + /// apps](https://developers.google.com/workspace/chat): + /// + public class GoogleAppsCardV1Chip : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip + /// does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google + /// Chat developer documentation at https://developers.google.com/workspace/chat". + /// + [Newtonsoft.Json.JsonPropertyAttribute("altText")] + public virtual string AltText { get; set; } + + /// Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// + /// Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use + /// `disabled` instead. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The icon image. If both `icon` and `text` are set, then the icon appears before the text. + [Newtonsoft.Json.JsonPropertyAttribute("icon")] + public virtual GoogleAppsCardV1Icon Icon { get; set; } + + /// The text displayed inside the chip. + [Newtonsoft.Json.JsonPropertyAttribute("label")] + public virtual string Label { get; set; } + + /// + /// Optional. The action to perform when a user clicks the chip, such as opening a hyperlink or running a custom + /// function. + /// + [Newtonsoft.Json.JsonPropertyAttribute("onClick")] + public virtual GoogleAppsCardV1OnClick OnClick { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google + /// Chat apps](https://developers.google.com/workspace/chat): + /// + public class GoogleAppsCardV1ChipList : Google.Apis.Requests.IDirectResponseSchema + { + /// An array of chips. + [Newtonsoft.Json.JsonPropertyAttribute("chips")] + public virtual System.Collections.Generic.IList Chips { get; set; } + + /// Specified chip list layout. + [Newtonsoft.Json.JsonPropertyAttribute("layout")] + public virtual string Layout { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Represent an expand and collapse control. [Google Chat apps](https://developers.google.com/workspace/chat): + /// + public class GoogleAppsCardV1CollapseControl : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Define a customizable button to collapse the section. Both expand_button and collapse_button field + /// must be set. Only one field set will not take into effect. If this field isn't set, the default button is + /// used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("collapseButton")] + public virtual GoogleAppsCardV1Button CollapseButton { get; set; } + + /// + /// Optional. Define a customizable button to expand the section. Both expand_button and collapse_button field + /// must be set. Only one field set will not take into effect. If this field isn't set, the default button is + /// used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("expandButton")] + public virtual GoogleAppsCardV1Button ExpandButton { get; set; } + + /// The horizontal alignment of the expand and collapse button. + [Newtonsoft.Json.JsonPropertyAttribute("horizontalAlignment")] + public virtual string HorizontalAlignment { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A column. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend) /// @@ -5732,6 +5831,13 @@ public class GoogleAppsCardV1OnClick : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("openLink")] public virtual GoogleAppsCardV1OpenLink OpenLink { get; set; } + /// + /// If specified, this `onClick` opens an overflow menu. [Google Chat + /// apps](https://developers.google.com/workspace/chat): + /// + [Newtonsoft.Json.JsonPropertyAttribute("overflowMenu")] + public virtual GoogleAppsCardV1OverflowMenu OverflowMenu { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -5763,6 +5869,51 @@ public class GoogleAppsCardV1OpenLink : Google.Apis.Requests.IDirectResponseSche public virtual string ETag { get; set; } } + /// + /// A widget that presents a pop-up menu with one or more actions that users can invoke. For example, showing + /// non-primary actions in a card. You can use this widget when actions don't fit in the available space. To use, + /// specify this widget in the `OnClick` action of widgets that support it. For example, in a `Button`. [Google Chat + /// apps](https://developers.google.com/workspace/chat): + /// + public class GoogleAppsCardV1OverflowMenu : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The list of menu options. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// An option that users can invoke in an overflow menu. [Google Chat + /// apps](https://developers.google.com/workspace/chat): + /// + public class GoogleAppsCardV1OverflowMenuItem : Google.Apis.Requests.IDirectResponseSchema + { + /// Whether the menu option is disabled. Defaults to false. + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// + /// Required. The action invoked when a menu option is selected. This `OnClick` cannot contain an + /// `OverflowMenu`, any specified `OverflowMenu` is dropped and the menu item disabled. + /// + [Newtonsoft.Json.JsonPropertyAttribute("onClick")] + public virtual GoogleAppsCardV1OnClick OnClick { get; set; } + + /// The icon displayed in front of the text. + [Newtonsoft.Json.JsonPropertyAttribute("startIcon")] + public virtual GoogleAppsCardV1Icon StartIcon { get; set; } + + /// Required. The text that identifies or describes the item to users. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// For a `SelectionInput` widget that uses a multiselect menu, a data source from Google Workspace. Used to /// populate items in a multiselect menu. [Google Chat apps](https://developers.google.com/workspace/chat): @@ -5793,6 +5944,14 @@ public class GoogleAppsCardV1PlatformDataSource : Google.Apis.Requests.IDirectRe /// public class GoogleAppsCardV1Section : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. Define the expand and collapse button of the section. This button will be shown only if the + /// section is collapsible. If this field isn't set, the default button is used. [Google Chat + /// apps](https://developers.google.com/workspace/chat): + /// + [Newtonsoft.Json.JsonPropertyAttribute("collapseControl")] + public virtual GoogleAppsCardV1CollapseControl CollapseControl { get; set; } + /// /// Indicates whether this section is collapsible. Collapsible sections hide some or all widgets, but users can /// expand the section to reveal the hidden widgets by clicking **Show more**. Users can hide the widgets again @@ -6124,6 +6283,16 @@ public class GoogleAppsCardV1TextInput : Google.Apis.Requests.IDirectResponseSch /// public class GoogleAppsCardV1TextParagraph : Google.Apis.Requests.IDirectResponseSchema { + /// + /// The maximum number of lines of text that are displayed in the widget. If the text exceeds the specified + /// maximum number of lines, the excess content is concealed behind a **show more** button. If the text is equal + /// or shorter than the specified maximum number of lines, a **show more** button isn't displayed. The default + /// value is 0, in which case all context is displayed. Negative values are ignored. [Google Chat + /// apps](https://developers.google.com/workspace/chat): + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxLines")] + public virtual System.Nullable MaxLines { get; set; } + /// The text that's shown in the widget. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } @@ -6150,6 +6319,20 @@ public class GoogleAppsCardV1Widget : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("buttonList")] public virtual GoogleAppsCardV1ButtonList ButtonList { get; set; } + /// + /// A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second + /// is an icon chip that opens a link: + /// ``` + /// "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { + /// "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": + /// "https://example.com/calendar" } } } ] } + /// ``` + /// [Google Chat + /// apps](https://developers.google.com/workspace/chat): + /// + [Newtonsoft.Json.JsonPropertyAttribute("chipList")] + public virtual GoogleAppsCardV1ChipList ChipList { get; set; } + /// /// Displays up to 2 columns. To include more than 2 columns, or to use rows, use the `Grid` widget. For /// example, the following JSON creates 2 columns that each contain text paragraphs: @@ -6286,6 +6469,10 @@ public class GoogleAppsCardV1Widgets : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("buttonList")] public virtual GoogleAppsCardV1ButtonList ButtonList { get; set; } + /// ChipList widget. [Google Chat apps](https://developers.google.com/workspace/chat): + [Newtonsoft.Json.JsonPropertyAttribute("chipList")] + public virtual GoogleAppsCardV1ChipList ChipList { get; set; } + /// DateTimePicker widget. [Newtonsoft.Json.JsonPropertyAttribute("dateTimePicker")] public virtual GoogleAppsCardV1DateTimePicker DateTimePicker { get; set; } diff --git a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj index 23d43aac49b..0fdad447f6d 100644 --- a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj +++ b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.HangoutsChat.v1 Client Library - 1.68.0.3568 + 1.68.0.3580 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs index fb13700fca1..736b1a57015 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs @@ -23402,7 +23402,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// /// Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more /// views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can - /// include a maximum of 50 projects and a maximum of 100 resources in total. + /// include a maximum of 5 projects and a maximum of 100 resources in total. /// [Newtonsoft.Json.JsonPropertyAttribute("resourceNames")] public virtual System.Collections.Generic.IList ResourceNames { get; set; } diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj index 1829a9f3f6a..b601d8a1fff 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Logging.v2 Client Library - 1.68.0.3570 + 1.68.0.3578 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs index 6a21cc89863..755e3343c38 100644 --- a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs +++ b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs @@ -769,13 +769,16 @@ public class GoogleMapsPlacesV1AddressDescriptorLandmark : Google.Apis.Requests. [Newtonsoft.Json.JsonPropertyAttribute("spatialRelationship")] public virtual string SpatialRelationship { get; set; } - /// The straight line distance in meters between the target location and the landmark. + /// + /// The straight line distance, in meters, between the center point of the target and the center point of the + /// landmark. In some situations, this value can be longer than `travel_distance_meters`. + /// [Newtonsoft.Json.JsonPropertyAttribute("straightLineDistanceMeters")] public virtual System.Nullable StraightLineDistanceMeters { get; set; } /// - /// The travel distance in meters along the road network if known. This does not take into account the mode of - /// transportation (walking/driving). + /// The travel distance, in meters, along the road network from the target to the landmark, if known. This value + /// does not take into account the mode of transportation, such as walking, driving, or biking. /// [Newtonsoft.Json.JsonPropertyAttribute("travelDistanceMeters")] public virtual System.Nullable TravelDistanceMeters { get; set; } diff --git a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj index bd147f50a90..67424b92c38 100644 --- a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj +++ b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MapsPlaces.v1 Client Library - 1.68.0.3575 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs index 960ab1cbd23..cad98621a58 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs @@ -521,7 +521,11 @@ public UpdateBusinessIdentityRequest(Google.Apis.Services.IClientService service [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Required. List of fields being updated. + /// + /// Optional. List of fields being updated. The following fields are supported (in both `snake_case` and + /// `lowerCamelCase`): - `black_owned` - `latino_owned` - `promotions_consent` - `small_business` - + /// `veteran_owned` - `women_owned` + /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -657,7 +661,10 @@ public UpdateBusinessInfoRequest(Google.Apis.Services.IClientService service, Go [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Required. List of fields being updated. + /// + /// Optional. List of fields being updated. The following fields are supported (in both `snake_case` and + /// `lowerCamelCase`): - `address` - `customer_service` - `korean_business_registration_number` + /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -816,7 +823,10 @@ public UpdateEmailPreferencesRequest(Google.Apis.Services.IClientService service [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Required. List of fields being updated. + /// + /// Required. List of fields being updated. The following fields are supported (in both `snake_case` and + /// `lowerCamelCase`): - `news_and_tips` + /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -1082,7 +1092,10 @@ public UpdateHomepageRequest(Google.Apis.Services.IClientService service, Google [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Required. List of fields being updated. + /// + /// Optional. List of fields being updated. The following fields are supported (in both `snake_case` and + /// `lowerCamelCase`): - `uri` + /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -2596,7 +2609,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Mer [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Required. List of fields being updated. + /// + /// Optional. List of fields being updated. The following fields are supported (in both `snake_case` and + /// `lowerCamelCase`): - `access_rights` + /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -3007,7 +3023,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Mer [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Required. List of fields being updated. + /// + /// Optional. List of fields being updated. The following fields are supported (in both `snake_case` and + /// `lowerCamelCase`): - `account_name` - `adult_content` - `language_code` - `time_zone` + /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -4617,6 +4636,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj index 8a6cb5aa964..39578e81b9f 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.accounts_v1beta Client Library - 1.68.0.3576 + 1.68.0.3583 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.conversions_v1beta/Google.Apis.Merchant.conversions_v1beta.cs b/Src/Generated/Google.Apis.Merchant.conversions_v1beta/Google.Apis.Merchant.conversions_v1beta.cs index d76233d2aad..401bd5d46fc 100644 --- a/Src/Generated/Google.Apis.Merchant.conversions_v1beta/Google.Apis.Merchant.conversions_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.conversions_v1beta/Google.Apis.Merchant.conversions_v1beta.cs @@ -588,7 +588,7 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Mer [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Required. List of fields being updated. + /// Optional. List of fields being updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -937,6 +937,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.conversions_v1beta/Google.Apis.Merchant.conversions_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.conversions_v1beta/Google.Apis.Merchant.conversions_v1beta.csproj index 0bf6b6a8eb1..a8a73965b23 100644 --- a/Src/Generated/Google.Apis.Merchant.conversions_v1beta/Google.Apis.Merchant.conversions_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.conversions_v1beta/Google.Apis.Merchant.conversions_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.conversions_v1beta Client Library - 1.68.0.3561 + 1.68.0.3583 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.datasources_v1beta/Google.Apis.Merchant.datasources_v1beta.cs b/Src/Generated/Google.Apis.Merchant.datasources_v1beta/Google.Apis.Merchant.datasources_v1beta.cs index cb80c9693cd..ca40348deb8 100644 --- a/Src/Generated/Google.Apis.Merchant.datasources_v1beta/Google.Apis.Merchant.datasources_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.datasources_v1beta/Google.Apis.Merchant.datasources_v1beta.cs @@ -1239,6 +1239,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.datasources_v1beta/Google.Apis.Merchant.datasources_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.datasources_v1beta/Google.Apis.Merchant.datasources_v1beta.csproj index e709838c7f5..6221964cfab 100644 --- a/Src/Generated/Google.Apis.Merchant.datasources_v1beta/Google.Apis.Merchant.datasources_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.datasources_v1beta/Google.Apis.Merchant.datasources_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.datasources_v1beta Client Library - 1.68.0.3576 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.cs b/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.cs index 043afaf19b2..da010f9594c 100644 --- a/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.cs @@ -1083,6 +1083,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.csproj index ea3ece9d779..e166c361429 100644 --- a/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.inventories_v1beta Client Library - 1.68.0.3526 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.lfp_v1beta/Google.Apis.Merchant.lfp_v1beta.cs b/Src/Generated/Google.Apis.Merchant.lfp_v1beta/Google.Apis.Merchant.lfp_v1beta.cs index 03c71f05dcf..563d4b9c272 100644 --- a/Src/Generated/Google.Apis.Merchant.lfp_v1beta/Google.Apis.Merchant.lfp_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.lfp_v1beta/Google.Apis.Merchant.lfp_v1beta.cs @@ -1105,6 +1105,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.lfp_v1beta/Google.Apis.Merchant.lfp_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.lfp_v1beta/Google.Apis.Merchant.lfp_v1beta.csproj index 12dc0dc35c6..d6e177be521 100644 --- a/Src/Generated/Google.Apis.Merchant.lfp_v1beta/Google.Apis.Merchant.lfp_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.lfp_v1beta/Google.Apis.Merchant.lfp_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.lfp_v1beta Client Library - 1.68.0.3526 + 1.68.0.3583 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.notifications_v1beta/Google.Apis.Merchant.notifications_v1beta.cs b/Src/Generated/Google.Apis.Merchant.notifications_v1beta/Google.Apis.Merchant.notifications_v1beta.cs index 1e769dc6d13..08e63fa6a45 100644 --- a/Src/Generated/Google.Apis.Merchant.notifications_v1beta/Google.Apis.Merchant.notifications_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.notifications_v1beta/Google.Apis.Merchant.notifications_v1beta.cs @@ -719,6 +719,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.notifications_v1beta/Google.Apis.Merchant.notifications_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.notifications_v1beta/Google.Apis.Merchant.notifications_v1beta.csproj index e4b3daf350a..7f8fe504442 100644 --- a/Src/Generated/Google.Apis.Merchant.notifications_v1beta/Google.Apis.Merchant.notifications_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.notifications_v1beta/Google.Apis.Merchant.notifications_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.notifications_v1beta Client Library - 1.68.0.3560 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.cs b/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.cs index 08a1e3e23af..2c925b4f538 100644 --- a/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.cs @@ -2011,6 +2011,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.csproj index d7e847fd8b7..9ecca456343 100644 --- a/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.products_v1beta Client Library - 1.68.0.3575 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.promotions_v1beta/Google.Apis.Merchant.promotions_v1beta.cs b/Src/Generated/Google.Apis.Merchant.promotions_v1beta/Google.Apis.Merchant.promotions_v1beta.cs index e71af5d014e..84a878b6fb6 100644 --- a/Src/Generated/Google.Apis.Merchant.promotions_v1beta/Google.Apis.Merchant.promotions_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.promotions_v1beta/Google.Apis.Merchant.promotions_v1beta.cs @@ -1042,6 +1042,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.promotions_v1beta/Google.Apis.Merchant.promotions_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.promotions_v1beta/Google.Apis.Merchant.promotions_v1beta.csproj index afe708633bd..27bcf157f61 100644 --- a/Src/Generated/Google.Apis.Merchant.promotions_v1beta/Google.Apis.Merchant.promotions_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.promotions_v1beta/Google.Apis.Merchant.promotions_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.promotions_v1beta Client Library - 1.68.0.3575 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.quota_v1beta/Google.Apis.Merchant.quota_v1beta.cs b/Src/Generated/Google.Apis.Merchant.quota_v1beta/Google.Apis.Merchant.quota_v1beta.cs index 0415577193f..376bce258d2 100644 --- a/Src/Generated/Google.Apis.Merchant.quota_v1beta/Google.Apis.Merchant.quota_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.quota_v1beta/Google.Apis.Merchant.quota_v1beta.cs @@ -456,6 +456,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.quota_v1beta/Google.Apis.Merchant.quota_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.quota_v1beta/Google.Apis.Merchant.quota_v1beta.csproj index ff1b86d8478..d7c632a8674 100644 --- a/Src/Generated/Google.Apis.Merchant.quota_v1beta/Google.Apis.Merchant.quota_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.quota_v1beta/Google.Apis.Merchant.quota_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.quota_v1beta Client Library - 1.68.0.3526 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.reports_v1beta/Google.Apis.Merchant.reports_v1beta.cs b/Src/Generated/Google.Apis.Merchant.reports_v1beta/Google.Apis.Merchant.reports_v1beta.cs index 1440c6b10a4..36aad3bc8b4 100644 --- a/Src/Generated/Google.Apis.Merchant.reports_v1beta/Google.Apis.Merchant.reports_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.reports_v1beta/Google.Apis.Merchant.reports_v1beta.cs @@ -1430,6 +1430,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.reports_v1beta/Google.Apis.Merchant.reports_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.reports_v1beta/Google.Apis.Merchant.reports_v1beta.csproj index c2512760ef9..e894e51ff63 100644 --- a/Src/Generated/Google.Apis.Merchant.reports_v1beta/Google.Apis.Merchant.reports_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.reports_v1beta/Google.Apis.Merchant.reports_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.reports_v1beta Client Library - 1.68.0.3526 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Merchant.reviews_v1beta/Google.Apis.Merchant.reviews_v1beta.cs b/Src/Generated/Google.Apis.Merchant.reviews_v1beta/Google.Apis.Merchant.reviews_v1beta.cs index 7838819fe37..910e0e7ed5f 100644 --- a/Src/Generated/Google.Apis.Merchant.reviews_v1beta/Google.Apis.Merchant.reviews_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.reviews_v1beta/Google.Apis.Merchant.reviews_v1beta.cs @@ -1632,6 +1632,45 @@ public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("changes")] public virtual System.Collections.Generic.IList Changes { get; set; } + private string _expirationTimeRaw; + + private object _expirationTime; + + /// The product expiration time. + [Newtonsoft.Json.JsonPropertyAttribute("expirationTime")] + public virtual string ExpirationTimeRaw + { + get => _expirationTimeRaw; + set + { + _expirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")] + public virtual object ExpirationTime + { + get => _expirationTime; + set + { + _expirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpirationTimeRaw); + set => ExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// The account that manages the merchant's account. can be the same as merchant id if it is standalone account. /// Format : `accounts/{service_provider_id}` diff --git a/Src/Generated/Google.Apis.Merchant.reviews_v1beta/Google.Apis.Merchant.reviews_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.reviews_v1beta/Google.Apis.Merchant.reviews_v1beta.csproj index 386dd03f61e..09a88461c1a 100644 --- a/Src/Generated/Google.Apis.Merchant.reviews_v1beta/Google.Apis.Merchant.reviews_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.reviews_v1beta/Google.Apis.Merchant.reviews_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.reviews_v1beta Client Library - 1.68.0.3575 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj index 11e99f55943..0f90d9b246d 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MigrationCenterAPI.v1 Client Library - 1.68.0.3561 + 1.68.0.3574 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj index 170c0c0e1ce..6bc8b078a73 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.MigrationCenterAPI.v1alpha1 Client Library - 1.68.0.3561 + 1.68.0.3574 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.cs b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.cs index 9f9e082db88..5b81bbbc34b 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.cs +++ b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.cs @@ -4538,45 +4538,6 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on - /// its behalf. - /// - public class AssetLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing - /// resource metadata. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ccfeRmsPath")] - public virtual string CcfeRmsPath { get; set; } - - /// - /// Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of - /// asset creation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("expected")] - public virtual IsolationExpectations Expected { get; set; } - - /// Defines extra parameters required for specific asset types. - [Newtonsoft.Json.JsonPropertyAttribute("extraParameters")] - public virtual System.Collections.Generic.IList ExtraParameters { get; set; } - - /// Contains all kinds of physical location definitions for this asset. - [Newtonsoft.Json.JsonPropertyAttribute("locationData")] - public virtual System.Collections.Generic.IList LocationData { get; set; } - - /// - /// Defines parents assets if any in order to allow later generation of child_asset_location data via child - /// assets. - /// - [Newtonsoft.Json.JsonPropertyAttribute("parentAsset")] - public virtual System.Collections.Generic.IList ParentAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A NetApp Backup. public class Backup : Google.Apis.Requests.IDirectResponseSchema { @@ -4865,19 +4826,6 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Policy ID that identified data placement in Blobstore as per - /// go/blobstore-user-guide#data-metadata-placement-and-failure-domains - /// - public class BlobstoreLocation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("policyId")] - public virtual System.Collections.Generic.IList PolicyId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The request message for Operations.CancelOperation. public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -4885,27 +4833,6 @@ public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class CloudAsset : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("assetName")] - public virtual string AssetName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("assetType")] - public virtual string AssetType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class CloudAssetComposition : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("childAsset")] - public virtual System.Collections.Generic.IList ChildAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Make a snapshot every day e.g. at 04:00, 05:20, 23:50 public class DailySchedule : Google.Apis.Requests.IDirectResponseSchema { @@ -4956,15 +4883,6 @@ public class DestinationVolumeParameters : Google.Apis.Requests.IDirectResponseS public virtual string ETag { get; set; } } - public class DirectLocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual System.Collections.Generic.IList Location { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// EncryptVolumesRequest specifies the KMS config to encrypt existing volumes. public class EncryptVolumesRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -4983,19 +4901,6 @@ public class ExportPolicy : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Defines parameters that should only be used for specific asset types. - public class ExtraParameter : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionalMigDistributionPolicy")] - public virtual RegionalMigDistributionPolicy RegionalMigDistributionPolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc @@ -5024,48 +4929,6 @@ public class HourlySchedule : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class IsolationExpectations : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS - /// verification logic. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requirementOverride")] - public virtual RequirementOverride RequirementOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziOrgPolicy")] - public virtual string ZiOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionPolicy")] - public virtual string ZiRegionPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionState")] - public virtual string ZiRegionState { get; set; } - - /// - /// Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as - /// per go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneIsolation")] - public virtual string ZoneIsolation { get; set; } - - /// - /// Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per - /// go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneSeparation")] - public virtual string ZoneSeparation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOrgPolicy")] - public virtual string ZsOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsRegionState")] - public virtual string ZsRegionState { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// KmsConfig is the customer managed encryption key(CMEK) configuration. public class KmsConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -5392,42 +5255,6 @@ public class Location : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class LocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual string Location { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("locationType")] - public virtual string LocationType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class LocationData : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("blobstoreLocation")] - public virtual BlobstoreLocation BlobstoreLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("childAssetLocation")] - public virtual CloudAssetComposition ChildAssetLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("directLocation")] - public virtual DirectLocationAssignment DirectLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("gcpProjectProxy")] - public virtual TenantProjectProxy GcpProjectProxy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("placerLocation")] - public virtual PlacerLocation PlacerLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("spannerLocation")] - public virtual SpannerLocation SpannerLocation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Metadata for a given google.cloud.location.Location. public class LocationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -5638,37 +5465,6 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } - /// Message describing that the location of the customer resource is tied to placer allocations - public class PlacerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - [Newtonsoft.Json.JsonPropertyAttribute("placerConfig")] - public virtual string PlacerConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager - /// instances - /// - public class RegionalMigDistributionPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The shape in which the group converges around distribution of resources. Instance of proto2 enum - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetShape")] - public virtual System.Nullable TargetShape { get; set; } - - /// Cloud zones used by regional MIG to create instances. - [Newtonsoft.Json.JsonPropertyAttribute("zones")] - public virtual System.Collections.Generic.IList Zones { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 /// volumes in different regions. @@ -5781,18 +5577,6 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } - public class RequirementOverride : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("ziOverride")] - public virtual string ZiOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOverride")] - public virtual string ZsOverride { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The RestoreParameters if volume is created from a snapshot or backup. public class RestoreParameters : Google.Apis.Requests.IDirectResponseSchema { @@ -6019,23 +5803,6 @@ public class SnapshotPolicy : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class SpannerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Set of backups used by the resource with name in the same format as what is available at - /// http://table/spanner_automon.backup_metadata - /// - [Newtonsoft.Json.JsonPropertyAttribute("backupName")] - public virtual System.Collections.Generic.IList BackupName { get; set; } - - /// Set of databases used by the resource in format /span// - [Newtonsoft.Json.JsonPropertyAttribute("dbName")] - public virtual System.Collections.Generic.IList DbName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// The `Status` type defines a logical error model that is suitable for different programming environments, /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains @@ -6213,15 +5980,6 @@ public class SwitchActiveReplicaZoneRequest : Google.Apis.Requests.IDirectRespon public virtual string ETag { get; set; } } - public class TenantProjectProxy : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("projectNumbers")] - public virtual System.Collections.Generic.IList ProjectNumbers { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Defines tiering policy for the volume. public class TieringPolicy : Google.Apis.Requests.IDirectResponseSchema { @@ -6617,13 +6375,4 @@ public class WeeklySchedule : Google.Apis.Requests.IDirectResponseSchema /// The ETag of the item. public virtual string ETag { get; set; } } - - public class ZoneConfiguration : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("zone")] - public virtual string Zone { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } } diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj index b286c899bda..b4863fba0e4 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj +++ b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetAppFiles.v1 Client Library - 1.68.0.3562 + 1.68.0.3581 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.cs b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.cs index b0170d5b00a..0c88a034382 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.cs @@ -4538,45 +4538,6 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on - /// its behalf. - /// - public class AssetLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing - /// resource metadata. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ccfeRmsPath")] - public virtual string CcfeRmsPath { get; set; } - - /// - /// Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of - /// asset creation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("expected")] - public virtual IsolationExpectations Expected { get; set; } - - /// Defines extra parameters required for specific asset types. - [Newtonsoft.Json.JsonPropertyAttribute("extraParameters")] - public virtual System.Collections.Generic.IList ExtraParameters { get; set; } - - /// Contains all kinds of physical location definitions for this asset. - [Newtonsoft.Json.JsonPropertyAttribute("locationData")] - public virtual System.Collections.Generic.IList LocationData { get; set; } - - /// - /// Defines parents assets if any in order to allow later generation of child_asset_location data via child - /// assets. - /// - [Newtonsoft.Json.JsonPropertyAttribute("parentAsset")] - public virtual System.Collections.Generic.IList ParentAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A NetApp Backup. public class Backup : Google.Apis.Requests.IDirectResponseSchema { @@ -4865,19 +4826,6 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Policy ID that identified data placement in Blobstore as per - /// go/blobstore-user-guide#data-metadata-placement-and-failure-domains - /// - public class BlobstoreLocation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("policyId")] - public virtual System.Collections.Generic.IList PolicyId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The request message for Operations.CancelOperation. public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -4885,27 +4833,6 @@ public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class CloudAsset : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("assetName")] - public virtual string AssetName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("assetType")] - public virtual string AssetType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class CloudAssetComposition : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("childAsset")] - public virtual System.Collections.Generic.IList ChildAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Make a snapshot every day e.g. at 04:00, 05:20, 23:50 public class DailySchedule : Google.Apis.Requests.IDirectResponseSchema { @@ -4956,15 +4883,6 @@ public class DestinationVolumeParameters : Google.Apis.Requests.IDirectResponseS public virtual string ETag { get; set; } } - public class DirectLocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual System.Collections.Generic.IList Location { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// EncryptVolumesRequest specifies the KMS config to encrypt existing volumes. public class EncryptVolumesRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -4983,19 +4901,6 @@ public class ExportPolicy : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Defines parameters that should only be used for specific asset types. - public class ExtraParameter : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionalMigDistributionPolicy")] - public virtual RegionalMigDistributionPolicy RegionalMigDistributionPolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc @@ -5024,48 +4929,6 @@ public class HourlySchedule : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class IsolationExpectations : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS - /// verification logic. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requirementOverride")] - public virtual RequirementOverride RequirementOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziOrgPolicy")] - public virtual string ZiOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionPolicy")] - public virtual string ZiRegionPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionState")] - public virtual string ZiRegionState { get; set; } - - /// - /// Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as - /// per go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneIsolation")] - public virtual string ZoneIsolation { get; set; } - - /// - /// Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per - /// go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneSeparation")] - public virtual string ZoneSeparation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOrgPolicy")] - public virtual string ZsOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsRegionState")] - public virtual string ZsRegionState { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// KmsConfig is the customer managed encryption key(CMEK) configuration. public class KmsConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -5392,42 +5255,6 @@ public class Location : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class LocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual string Location { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("locationType")] - public virtual string LocationType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class LocationData : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("blobstoreLocation")] - public virtual BlobstoreLocation BlobstoreLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("childAssetLocation")] - public virtual CloudAssetComposition ChildAssetLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("directLocation")] - public virtual DirectLocationAssignment DirectLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("gcpProjectProxy")] - public virtual TenantProjectProxy GcpProjectProxy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("placerLocation")] - public virtual PlacerLocation PlacerLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("spannerLocation")] - public virtual SpannerLocation SpannerLocation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Metadata for a given google.cloud.location.Location. public class LocationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -5638,37 +5465,6 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } - /// Message describing that the location of the customer resource is tied to placer allocations - public class PlacerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - [Newtonsoft.Json.JsonPropertyAttribute("placerConfig")] - public virtual string PlacerConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager - /// instances - /// - public class RegionalMigDistributionPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The shape in which the group converges around distribution of resources. Instance of proto2 enum - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetShape")] - public virtual System.Nullable TargetShape { get; set; } - - /// Cloud zones used by regional MIG to create instances. - [Newtonsoft.Json.JsonPropertyAttribute("zones")] - public virtual System.Collections.Generic.IList Zones { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 /// volumes in different regions. @@ -5781,18 +5577,6 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } - public class RequirementOverride : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("ziOverride")] - public virtual string ZiOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOverride")] - public virtual string ZsOverride { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The RestoreParameters if volume is created from a snapshot or backup. public class RestoreParameters : Google.Apis.Requests.IDirectResponseSchema { @@ -6019,23 +5803,6 @@ public class SnapshotPolicy : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class SpannerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Set of backups used by the resource with name in the same format as what is available at - /// http://table/spanner_automon.backup_metadata - /// - [Newtonsoft.Json.JsonPropertyAttribute("backupName")] - public virtual System.Collections.Generic.IList BackupName { get; set; } - - /// Set of databases used by the resource in format /span// - [Newtonsoft.Json.JsonPropertyAttribute("dbName")] - public virtual System.Collections.Generic.IList DbName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// The `Status` type defines a logical error model that is suitable for different programming environments, /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains @@ -6213,15 +5980,6 @@ public class SwitchActiveReplicaZoneRequest : Google.Apis.Requests.IDirectRespon public virtual string ETag { get; set; } } - public class TenantProjectProxy : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("projectNumbers")] - public virtual System.Collections.Generic.IList ProjectNumbers { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Defines tiering policy for the volume. public class TieringPolicy : Google.Apis.Requests.IDirectResponseSchema { @@ -6617,13 +6375,4 @@ public class WeeklySchedule : Google.Apis.Requests.IDirectResponseSchema /// The ETag of the item. public virtual string ETag { get; set; } } - - public class ZoneConfiguration : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("zone")] - public virtual string Zone { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } } diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj index f418f9a6278..94234b241fa 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetAppFiles.v1beta1 Client Library - 1.68.0.3562 + 1.68.0.3581 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj index ffa5de32963..9e4691495d3 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj +++ b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkManagement.v1 Client Library - 1.68.0.3569 + 1.68.0.3576 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs index 25c5fba7697..1b8472fef8f 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs @@ -2088,13 +2088,6 @@ public class CloudRunRevisionInfo : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("location")] public virtual string Location { get; set; } - /// - /// ID of Cloud Run Service this revision belongs to. Was never set, is not exported to v1 proto and public - /// protos. Do not export to v1beta1 public proto. - /// - [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] - public virtual string ServiceName { get; set; } - /// URI of Cloud Run service this revision belongs to. [Newtonsoft.Json.JsonPropertyAttribute("serviceUri")] public virtual string ServiceUri { get; set; } @@ -4094,6 +4087,13 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } + /// + /// Output only. A diagnostic bit - describes the state of the configured target resource for diagnostic + /// purposes. + /// + [Newtonsoft.Json.JsonPropertyAttribute("targetResourceState")] + public virtual string TargetResourceState { get; set; } + private string _updateTimeRaw; private object _updateTime; diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj index 28ce1a466f8..a170d809dc6 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkManagement.v1beta1 Client Library - 1.68.0.3569 + 1.68.0.3576 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.cs b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.cs index cbd31bd37db..bdcdcdb3a08 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.cs +++ b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.cs @@ -307,6 +307,7 @@ public LocationsResource(Google.Apis.Services.IClientService service) ServiceLbPolicies = new ServiceLbPoliciesResource(service); TcpRoutes = new TcpRoutesResource(service); TlsRoutes = new TlsRoutesResource(service); + WasmPlugins = new WasmPluginsResource(service); } /// Gets the EdgeCacheKeysets resource. @@ -4421,7 +4422,7 @@ protected override void InitParameters() /// Updates the parameters of a single ServiceLbPolicy. /// The body of the request. /// - /// Required. Name of the ServiceLbPolicy resource. It matches pattern + /// Identifier. Name of the ServiceLbPolicy resource. It matches pattern /// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. /// public virtual PatchRequest Patch(Google.Apis.NetworkServices.v1.Data.ServiceLbPolicy body, string name) @@ -4441,7 +4442,7 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Net } /// - /// Required. Name of the ServiceLbPolicy resource. It matches pattern + /// Identifier. Name of the ServiceLbPolicy resource. It matches pattern /// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] @@ -5183,370 +5184,1521 @@ protected override void InitParameters() } } - /// Gets information about a location. - /// Resource name for the location. - public virtual GetRequest Get(string name) - { - return new GetRequest(this.service, name); - } + /// Gets the WasmPlugins resource. + public virtual WasmPluginsResource WasmPlugins { get; } - /// Gets information about a location. - public class GetRequest : NetworkServicesBaseServiceRequest + /// The "wasmPlugins" collection of methods. + public class WasmPluginsResource { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + private const string Resource = "wasmPlugins"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public WasmPluginsResource(Google.Apis.Services.IClientService service) { - Name = name; - InitParameters(); + this.service = service; + Versions = new VersionsResource(service); } - /// Resource name for the location. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } + /// Gets the Versions resource. + public virtual VersionsResource Versions { get; } - /// Gets the method name. - public override string MethodName => "get"; + /// The "versions" collection of methods. + public class VersionsResource + { + private const string Resource = "versions"; - /// Gets the HTTP method. - public override string HttpMethod => "GET"; + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; - /// Gets the REST path. - public override string RestPath => "v1/{+name}"; + /// Constructs a new resource. + public VersionsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } - /// Initializes Get parameter list. - protected override void InitParameters() + /// Creates a new `WasmPluginVersion` resource in a given project and location. + /// The body of the request. + /// + /// Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + public virtual CreateRequest Create(Google.Apis.NetworkServices.v1.Data.WasmPluginVersion body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new `WasmPluginVersion` resource in a given project and location. + public class CreateRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.NetworkServices.v1.Data.WasmPluginVersion body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. User-provided ID of the `WasmPluginVersion` resource to be created. + /// + [Google.Apis.Util.RequestParameterAttribute("wasmPluginVersionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string WasmPluginVersionId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.NetworkServices.v1.Data.WasmPluginVersion Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/versions"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + RequestParameters.Add("wasmPluginVersionId", new Google.Apis.Discovery.Parameter + { + Name = "wasmPluginVersionId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes the specified `WasmPluginVersion` resource. + /// + /// Required. A name of the `WasmPluginVersion` resource to delete. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes the specified `WasmPluginVersion` resource. + public class DeleteRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. A name of the `WasmPluginVersion` resource to delete. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+$", + }); + } + } + + /// Gets details of the specified `WasmPluginVersion` resource. + /// + /// Required. A name of the `WasmPluginVersion` resource to get. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets details of the specified `WasmPluginVersion` resource. + public class GetRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. A name of the `WasmPluginVersion` resource to get. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+$", + }); + } + } + + /// Lists `WasmPluginVersion` resources in a given project and location. + /// + /// Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the + /// following format: `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists `WasmPluginVersion` resources in a given project and location. + public class ListRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the + /// following format: `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Maximum number of `WasmPluginVersion` resources to return per call. If not specified, at + /// most 50 `WasmPluginVersion`s are returned. The maximum value is 1000; values above 1000 are + /// coerced to 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// The value returned by the last `ListWasmPluginVersionsResponse` call. Indicates that this is + /// a continuation of a prior `ListWasmPluginVersions` call, and that the next page of data is + /// to be returned. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/versions"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Creates a new `WasmPlugin` resource in a given project and location. + /// The body of the request. + /// + /// Required. The parent resource of the `WasmPlugin` resource. Must be in the format + /// `projects/{project}/locations/global`. + /// + public virtual CreateRequest Create(Google.Apis.NetworkServices.v1.Data.WasmPlugin body, string parent) { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new `WasmPlugin` resource in a given project and location. + public class CreateRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.NetworkServices.v1.Data.WasmPlugin body, string parent) : base(service) { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+$", - }); + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource of the `WasmPlugin` resource. Must be in the format + /// `projects/{project}/locations/global`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Required. User-provided ID of the `WasmPlugin` resource to be created. + [Google.Apis.Util.RequestParameterAttribute("wasmPluginId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string WasmPluginId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.NetworkServices.v1.Data.WasmPlugin Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/wasmPlugins"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("wasmPluginId", new Google.Apis.Discovery.Parameter + { + Name = "wasmPluginId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } } - } - /// Lists information about the supported locations for this service. - /// The resource that owns the locations collection, if applicable. - public virtual ListRequest List(string name) - { - return new ListRequest(this.service, name); - } + /// Deletes the specified `WasmPlugin` resource. + /// + /// Required. A name of the `WasmPlugin` resource to delete. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } - /// Lists information about the supported locations for this service. - public class ListRequest : NetworkServicesBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) + /// Deletes the specified `WasmPlugin` resource. + public class DeleteRequest : NetworkServicesBaseServiceRequest { - Name = name; - InitParameters(); + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. A name of the `WasmPlugin` resource to delete. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + } } - /// The resource that owns the locations collection, if applicable. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } + /// Gets details of the specified `WasmPlugin` resource. + /// + /// Required. A name of the `WasmPlugin` resource to get. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } - /// - /// A filter to narrow down results to a preferred subset. The filtering language accepts strings like - /// `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } + /// Gets details of the specified `WasmPlugin` resource. + public class GetRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } - /// - /// The maximum number of results to return. If not set, the service selects a default. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } + /// + /// Required. A name of the `WasmPlugin` resource to get. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } - /// - /// A page token received from the `next_page_token` field in the response. Send that page token to - /// receive the subsequent page. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } + /// + /// Determine how much data should be returned by the API. See + /// [AIP-157](https://google.aip.dev/157). + /// + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } - /// Gets the method name. - public override string MethodName => "list"; + /// + /// Determine how much data should be returned by the API. See + /// [AIP-157](https://google.aip.dev/157). + /// + public enum ViewEnum + { + /// The default / unset value. The API will default to the BASIC view. + [Google.Apis.Util.StringValueAttribute("WASM_PLUGIN_VIEW_UNSPECIFIED")] + WASMPLUGINVIEWUNSPECIFIED = 0, - /// Gets the HTTP method. - public override string HttpMethod => "GET"; + /// Include just WasmPlugin record. + [Google.Apis.Util.StringValueAttribute("WASM_PLUGIN_VIEW_BASIC")] + WASMPLUGINVIEWBASIC = 1, - /// Gets the REST path. - public override string RestPath => "v1/{+name}/locations"; + /// Include WasmPlugin record and all its WasmPluginVersions. + [Google.Apis.Util.StringValueAttribute("WASM_PLUGIN_VIEW_FULL")] + WASMPLUGINVIEWFULL = 2, + } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Lists `WasmPlugin` resources in a given project and location. + /// + /// Required. The project and location from which the `WasmPlugin` resources are listed, specified in + /// the following format: `projects/{project}/locations/global`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists `WasmPlugin` resources in a given project and location. + public class ListRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The project and location from which the `WasmPlugin` resources are listed, specified + /// in the following format: `projects/{project}/locations/global`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Maximum number of `WasmPlugin` resources to return per call. If not specified, at most 50 + /// `WasmPlugin`s are returned. The maximum value is 1000; values above 1000 are coerced to 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// The value returned by the last `ListWasmPluginsResponse` call. Indicates that this is a + /// continuation of a prior `ListWasmPlugins` call, and that the next page of data is to be + /// returned. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/wasmPlugins"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Updates the parameters of the specified `WasmPlugin` resource. + /// The body of the request. + /// + /// Identifier. Name of the `WasmPlugin` resource in the following format: + /// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`. + /// + public virtual PatchRequest Patch(Google.Apis.NetworkServices.v1.Data.WasmPlugin body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Updates the parameters of the specified `WasmPlugin` resource. + public class PatchRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.NetworkServices.v1.Data.WasmPlugin body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Identifier. Name of the `WasmPlugin` resource in the following format: + /// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Used to specify the fields to be overwritten in the `WasmPlugin` resource by the + /// update. The fields specified in the `update_mask` field are relative to the resource, not the + /// full request. An omitted `update_mask` field is treated as an implied `update_mask` field + /// equivalent to all fields that are populated (that have a non-empty value). The `update_mask` + /// field supports a special value `*`, which means that each field in the given `WasmPlugin` + /// resource (including the empty ones) replaces the current value. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.NetworkServices.v1.Data.WasmPlugin Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Gets information about a location. + /// Resource name for the location. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets information about a location. + public class GetRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Resource name for the location. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } + + /// Lists information about the supported locations for this service. + /// The resource that owns the locations collection, if applicable. + public virtual ListRequest List(string name) + { + return new ListRequest(this.service, name); + } + + /// Lists information about the supported locations for this service. + public class ListRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The resource that owns the locations collection, if applicable. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// A filter to narrow down results to a preferred subset. The filtering language accepts strings like + /// `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// The maximum number of results to return. If not set, the service selects a default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// A page token received from the `next_page_token` field in the response. Send that page token to + /// receive the subsequent page. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}/locations"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + } +} +namespace Google.Apis.NetworkServices.v1.Data +{ + /// + /// Specifies the audit configuration for a service. The configuration determines which permission types are logged, + /// and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If + /// there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used + /// for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each + /// AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": + /// "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] + /// }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", + /// "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ + /// "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + /// logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE + /// logging. + /// + public class AuditConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// The configuration for logging of each type of permission. + [Newtonsoft.Json.JsonPropertyAttribute("auditLogConfigs")] + public virtual System.Collections.Generic.IList AuditLogConfigs { get; set; } + + /// + /// Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, + /// `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. + /// + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": + /// "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables + /// 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. + /// + public class AuditLogConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Specifies the identities that do not cause logging for this type of permission. Follows the same format of + /// Binding.members. + /// + [Newtonsoft.Json.JsonPropertyAttribute("exemptedMembers")] + public virtual System.Collections.Generic.IList ExemptedMembers { get; set; } + + /// The log type that this config enables. + [Newtonsoft.Json.JsonPropertyAttribute("logType")] + public virtual string LogType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Associates `members`, or principals, with a `role`. + public class Binding : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding + /// applies to the current request. If the condition evaluates to `false`, then this binding does not apply to + /// the current request. However, a different role binding might grant the same role to one or more of the + /// principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Newtonsoft.Json.JsonPropertyAttribute("condition")] + public virtual Expr Condition { get; set; } + + /// + /// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following + /// values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a + /// Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated + /// with a Google account or a service account. Does not include identities that come from external identity + /// providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a + /// specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address + /// that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * + /// `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes + /// service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For + /// example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that + /// represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain + /// (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * + /// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + /// A single identity in a workforce identity pool. * + /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All + /// workforce identities in a group. * + /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + /// All workforce identities with a specific attribute value. * + /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a + /// workforce identity pool. * + /// `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + /// A single identity in a workload identity pool. * + /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + /// A workload identity pool group. * + /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + /// All identities in a workload identity pool with a certain attribute. * + /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: + /// All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address + /// (plus unique identifier) representing a user that has been recently deleted. For example, + /// `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to + /// `user:{emailid}` and the recovered user retains the role in the binding. * + /// `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a + /// service account that has been recently deleted. For example, + /// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, + /// this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the + /// binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing + /// a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. + /// If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role + /// in the binding. * + /// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + /// Deleted single identity in a workforce identity pool. For example, + /// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("members")] + public virtual System.Collections.Generic.IList Members { get; set; } + + /// + /// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, + /// or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM + /// documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined + /// roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). + /// + [Newtonsoft.Json.JsonPropertyAttribute("role")] + public virtual string Role { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Operations.CancelOperation. + public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical + /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc + /// Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + public class Empty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A definition of a matcher that selects endpoints to which the policies should be applied. + public class EndpointMatcher : Google.Apis.Requests.IDirectResponseSchema + { + /// The matcher is based on node metadata presented by xDS clients. + [Newtonsoft.Json.JsonPropertyAttribute("metadataLabelMatcher")] + public virtual EndpointMatcherMetadataLabelMatcher MetadataLabelMatcher { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The matcher that is based on node metadata presented by xDS clients. + public class EndpointMatcherMetadataLabelMatcher : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified + /// in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the + /// xDS client should contain all of the labels specified here. The selection is determined based on the best + /// match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the + /// matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config + /// from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client + /// with label connects, the config from P3 will be selected. If there is more than one best match, (for + /// example, if a config P4 with selector exists and if a client with label connects), pick up the one with + /// older creation time. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadataLabelMatchCriteria")] + public virtual string MetadataLabelMatchCriteria { get; set; } + + /// + /// The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria + /// This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify + /// a wildcard match (i.e this matches any client). + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadataLabels")] + public virtual System.Collections.Generic.IList MetadataLabels { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Defines a name-pair value for a single label. + public class EndpointMatcherMetadataLabelMatcherMetadataLabels : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Label name presented as key in xDS Node Metadata. + [Newtonsoft.Json.JsonPropertyAttribute("labelName")] + public virtual string LabelName { get; set; } + + /// + /// Required. Label value presented as value corresponding to the above key, in xDS Node Metadata. + /// + [Newtonsoft.Json.JsonPropertyAttribute("labelValue")] + public virtual string LabelValue { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific + /// criteria. For example, this resource can be used to apply "authentication config" an all endpoints that serve on + /// port 8080. + /// + public class EndpointPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies + /// to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, + /// authorization is disabled(no authz checks) for this endpoint. + /// + [Newtonsoft.Json.JsonPropertyAttribute("authorizationPolicy")] + public virtual string AuthorizationPolicy { get; set; } + + /// + /// Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the + /// authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the + /// outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy + /// identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint + /// requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when + /// EndpointPolicyType is SIDECAR_PROXY. + /// + [Newtonsoft.Json.JsonPropertyAttribute("clientTlsPolicy")] + public virtual string ClientTlsPolicy { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Optional. A free-text description of the resource. Max length 1024 characters. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Required. A matcher that selects endpoints to which the policies should be applied. + [Newtonsoft.Json.JsonPropertyAttribute("endpointMatcher")] + public virtual EndpointMatcher EndpointMatcher { get; set; } + + /// Optional. Set of label tags associated with the EndpointPolicy resource. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// + /// Identifier. Name of the EndpointPolicy resource. It matches pattern + /// `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the + /// authentication policy to be applied to terminate the inbound traffic at the identified backends. If this + /// field is not set, authentication is disabled(open) for this endpoint. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serverTlsPolicy")] + public virtual string ServerTlsPolicy { get; set; } + + /// + /// Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is + /// applied to all ports. + /// + [Newtonsoft.Json.JsonPropertyAttribute("trafficPortSelector")] + public virtual TrafficPortSelector TrafficPortSelector { get; set; } + + /// + /// Required. The type of endpoint policy. This is primarily used to validate the configuration. + /// + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter - { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+$", - }); - RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter - { - Name = "filter", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter - { - Name = "pageSize", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; } } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } } -} -namespace Google.Apis.NetworkServices.v1.Data -{ + /// - /// Specifies the audit configuration for a service. The configuration determines which permission types are logged, - /// and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If - /// there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used - /// for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each - /// AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": - /// "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] - /// }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", - /// "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ - /// "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - /// logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE - /// logging. + /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression + /// language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example + /// (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" + /// expression: "document.summary.size() &lt; 100" Example (Equality): title: "Requestor is owner" description: + /// "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" + /// Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly + /// visible" expression: "document.type != 'private' &amp;&amp; document.type != 'internal'" Example (Data + /// Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." + /// expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that + /// may be referenced within an expression are determined by the service that evaluates it. See the service + /// documentation for additional information. /// - public class AuditConfig : Google.Apis.Requests.IDirectResponseSchema + public class Expr : Google.Apis.Requests.IDirectResponseSchema { - /// The configuration for logging of each type of permission. - [Newtonsoft.Json.JsonPropertyAttribute("auditLogConfigs")] - public virtual System.Collections.Generic.IList AuditLogConfigs { get; set; } + /// + /// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when + /// hovered over it in a UI. + /// + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Textual representation of an expression in Common Expression Language syntax. + [Newtonsoft.Json.JsonPropertyAttribute("expression")] + public virtual string Expression { get; set; } /// - /// Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, - /// `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. + /// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a + /// position in the file. /// - [Newtonsoft.Json.JsonPropertyAttribute("service")] - public virtual string Service { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("location")] + public virtual string Location { get; set; } + + /// + /// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs + /// which allow to enter the expression. + /// + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": - /// "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables - /// 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. + /// A single extension chain wrapper that contains the match conditions and extensions to execute. /// - public class AuditLogConfig : Google.Apis.Requests.IDirectResponseSchema + public class ExtensionChain : Google.Apis.Requests.IDirectResponseSchema { /// - /// Specifies the identities that do not cause logging for this type of permission. Follows the same format of - /// Binding.members. + /// Required. A set of extensions to execute for the matching request. At least one extension is required. Up to + /// 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension` + /// chains are limited to 1 extension per extension chain. /// - [Newtonsoft.Json.JsonPropertyAttribute("exemptedMembers")] - public virtual System.Collections.Generic.IList ExemptedMembers { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("extensions")] + public virtual System.Collections.Generic.IList Extensions { get; set; } - /// The log type that this config enables. - [Newtonsoft.Json.JsonPropertyAttribute("logType")] - public virtual string LogType { get; set; } + /// Required. Conditions under which this chain is invoked for a request. + [Newtonsoft.Json.JsonPropertyAttribute("matchCondition")] + public virtual ExtensionChainMatchCondition MatchCondition { get; set; } + + /// + /// Required. The name for this extension chain. The name is logged as part of the HTTP request logs. The name + /// must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a + /// maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or + /// a number. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Associates `members`, or principals, with a `role`. - public class Binding : Google.Apis.Requests.IDirectResponseSchema + /// A single extension in the chain to execute for the matching request. + public class ExtensionChainExtension : Google.Apis.Requests.IDirectResponseSchema { /// - /// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding - /// applies to the current request. If the condition evaluates to `false`, then this binding does not apply to - /// the current request. However, a different role binding might grant the same role to one or more of the - /// principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for + /// Callout extensions. This field is not supported for plugin extensions and must not be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("condition")] - public virtual Expr Condition { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("authority")] + public virtual string Authority { get; set; } /// - /// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following - /// values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a - /// Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated - /// with a Google account or a service account. Does not include identities that come from external identity - /// providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a - /// specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address - /// that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * - /// `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes - /// service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For - /// example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that - /// represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain - /// (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * - /// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: - /// A single identity in a workforce identity pool. * - /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All - /// workforce identities in a group. * - /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: - /// All workforce identities with a specific attribute value. * - /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a - /// workforce identity pool. * - /// `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: - /// A single identity in a workload identity pool. * - /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: - /// A workload identity pool group. * - /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: - /// All identities in a workload identity pool with a certain attribute. * - /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: - /// All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address - /// (plus unique identifier) representing a user that has been recently deleted. For example, - /// `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to - /// `user:{emailid}` and the recovered user retains the role in the binding. * - /// `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a - /// service account that has been recently deleted. For example, - /// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, - /// this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the - /// binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing - /// a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. - /// If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role - /// in the binding. * - /// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: - /// Deleted single identity in a workforce identity pool. For example, - /// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + /// Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to + /// `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension + /// chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following + /// happens: * If response headers have not been delivered to the downstream client, a generic 500 error is + /// returned to the client. The error response can be tailored by configuring a custom error response in the + /// load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is + /// reset. /// - [Newtonsoft.Json.JsonPropertyAttribute("members")] - public virtual System.Collections.Generic.IList Members { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("failOpen")] + public virtual System.Nullable FailOpen { get; set; } /// - /// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, - /// or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM - /// documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined - /// roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). + /// Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all + /// headers are sent. Each element is a string indicating the header name. + /// + [Newtonsoft.Json.JsonPropertyAttribute("forwardHeaders")] + public virtual System.Collections.Generic.IList ForwardHeaders { get; set; } + + /// + /// Optional. The metadata provided here is included as part of the `metadata_context` (of type + /// `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is + /// available under the namespace `com.google....`. For example: + /// `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in + /// the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. + /// This field is not supported for plugin extensions and must not be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must + /// conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum + /// length of 63 characters. Additionally, the first character must be a letter and the last a letter or a + /// number. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Required. The reference to the service that runs the extension. Currently only callout extensions are + /// supported here. To configure a callout extension, `service` must be a fully-qualified reference to a + /// [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: + /// `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` + /// or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To + /// configure a plugin extension, this must be a reference to a [wasm + /// plugin](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) + /// in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or + /// `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } + + /// + /// Optional. A set of events during request or response processing for which this extension is called. This + /// field is required for the `LbTrafficExtension` resource. It must not be set for the `LbRouteExtension` + /// resource. + /// + [Newtonsoft.Json.JsonPropertyAttribute("supportedEvents")] + public virtual System.Collections.Generic.IList SupportedEvents { get; set; } + + /// + /// Optional. Specifies the timeout for each individual message on the stream. The timeout must be between + /// 10-1000 milliseconds. Required for callout extensions. This field is not supported for plugin extensions and + /// must not be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("role")] - public virtual string Role { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("timeout")] + public virtual object Timeout { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The request message for Operations.CancelOperation. - public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema + /// Conditions under which this chain is invoked for a request. + public class ExtensionChainMatchCondition : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Required. A Common Expression Language (CEL) expression that is used to match requests for which the + /// extension chain is executed. For more information, see [CEL matcher language + /// reference](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference). + /// + [Newtonsoft.Json.JsonPropertyAttribute("celExpression")] + public virtual string CelExpression { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical - /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc - /// Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which + /// the services are exposed by the proxy, along with any policy configurations. Routes have reference to to + /// Gateways to dictate how requests should be routed by this Gateway. Next id: 33 /// - public class Empty : Google.Apis.Requests.IDirectResponseSchema + public class Gateway : Google.Apis.Requests.IDirectResponseSchema { - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// + /// Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is + /// provided, an IP from the subnetwork is allocated This field only applies to gateways of type + /// 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. + /// + [Newtonsoft.Json.JsonPropertyAttribute("addresses")] + public virtual System.Collections.Generic.IList Addresses { get; set; } - /// A definition of a matcher that selects endpoints to which the policies should be applied. - public class EndpointMatcher : Google.Apis.Requests.IDirectResponseSchema - { - /// The matcher is based on node metadata presented by xDS clients. - [Newtonsoft.Json.JsonPropertyAttribute("metadataLabelMatcher")] - public virtual EndpointMatcherMetadataLabelMatcher MetadataLabelMatcher { get; set; } + /// + /// Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on + /// SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. + /// + [Newtonsoft.Json.JsonPropertyAttribute("certificateUrls")] + public virtual System.Collections.Generic.IList CertificateUrls { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Optional. A free-text description of the resource. Max length 1024 characters. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } - /// The matcher that is based on node metadata presented by xDS clients. - public class EndpointMatcherMetadataLabelMatcher : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified - /// in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the - /// xDS client should contain all of the labels specified here. The selection is determined based on the best - /// match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the - /// matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config - /// from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client - /// with label connects, the config from P3 will be selected. If there is more than one best match, (for - /// example, if a config P4 with selector exists and if a client with label connects), pick up the one with - /// older creation time. + /// Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers + /// may still be injected. By default, envoy will not insert any debug headers. /// - [Newtonsoft.Json.JsonPropertyAttribute("metadataLabelMatchCriteria")] - public virtual string MetadataLabelMatchCriteria { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("envoyHeaders")] + public virtual string EnvoyHeaders { get; set; } /// - /// The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria - /// This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify - /// a wildcard match (i.e this matches any client). + /// Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security + /// policy to inbound (VM to Proxy) initiated connections. For example: + /// `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type + /// 'SECURE_WEB_GATEWAY'. /// - [Newtonsoft.Json.JsonPropertyAttribute("metadataLabels")] - public virtual System.Collections.Generic.IList MetadataLabels { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("gatewaySecurityPolicy")] + public virtual string GatewaySecurityPolicy { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// + /// Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4. + /// + [Newtonsoft.Json.JsonPropertyAttribute("ipVersion")] + public virtual string IpVersion { get; set; } - /// Defines a name-pair value for a single label. - public class EndpointMatcherMetadataLabelMatcherMetadataLabels : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Label name presented as key in xDS Node Metadata. - [Newtonsoft.Json.JsonPropertyAttribute("labelName")] - public virtual string LabelName { get; set; } + /// Optional. Set of label tags associated with the Gateway resource. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Required. Label value presented as value corresponding to the above key, in xDS Node Metadata. + /// Identifier. Name of the Gateway resource. It matches pattern `projects/*/locations/*/gateways/`. /// - [Newtonsoft.Json.JsonPropertyAttribute("labelValue")] - public virtual string LabelValue { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// + /// Optional. The relative resource name identifying the VPC network that is using this configuration. For + /// example: `projects/*/global/networks/network-1`. Currently, this field is specific to gateways of type + /// 'SECURE_WEB_GATEWAY'. + /// + [Newtonsoft.Json.JsonPropertyAttribute("network")] + public virtual string Network { get; set; } - /// - /// EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific - /// criteria. For example, this resource can be used to apply "authentication config" an all endpoints that serve on - /// port 8080. - /// - public class EndpointPolicy : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies - /// to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, - /// authorization is disabled(no authz checks) for this endpoint. + /// Required. One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to + /// the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type + /// 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports. /// - [Newtonsoft.Json.JsonPropertyAttribute("authorizationPolicy")] - public virtual string AuthorizationPolicy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("ports")] + public virtual System.Collections.Generic.IList> Ports { get; set; } /// - /// Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the - /// authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the - /// outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy - /// identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint - /// requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when - /// EndpointPolicyType is SIDECAR_PROXY. + /// Optional. The routing mode of the Gateway. This field is configurable only for gateways of type + /// SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY. /// - [Newtonsoft.Json.JsonPropertyAttribute("clientTlsPolicy")] - public virtual string ClientTlsPolicy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("routingMode")] + public virtual string RoutingMode { get; set; } + + /// + /// Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration + /// for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to + /// the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have + /// letters, numbers, hyphens. + /// + [Newtonsoft.Json.JsonPropertyAttribute("scope")] + public virtual string Scope { get; set; } + + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + + /// + /// Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If + /// empty, TLS termination is disabled. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serverTlsPolicy")] + public virtual string ServerTlsPolicy { get; set; } + + /// + /// Optional. The relative resource name identifying the subnetwork in which this SWG is allocated. For example: + /// `projects/*/regions/us-central1/subnetworks/network-1` Currently, this field is specific to gateways of type + /// 'SECURE_WEB_GATEWAY". + /// + [Newtonsoft.Json.JsonPropertyAttribute("subnetwork")] + public virtual string Subnetwork { get; set; } + + /// + /// Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is + /// returned. + /// + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// + /// GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed. + /// + public class GrpcRoute : Google.Apis.Requests.IDirectResponseSchema + { private string _createTimeRaw; private object _createTime; @@ -5588,41 +6740,62 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// Required. A matcher that selects endpoints to which the policies should be applied. - [Newtonsoft.Json.JsonPropertyAttribute("endpointMatcher")] - public virtual EndpointMatcher EndpointMatcher { get; set; } + /// + /// Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one of the routing rules to + /// route the requests served by the gateway. Each gateway reference should match the pattern: + /// `projects/*/locations/global/gateways/` + /// + [Newtonsoft.Json.JsonPropertyAttribute("gateways")] + public virtual System.Collections.Generic.IList Gateways { get; set; } - /// Optional. Set of label tags associated with the EndpointPolicy resource. + /// + /// Required. Service hostnames with an optional port for which this route describes traffic. Format: [:] + /// Hostname is the fully qualified domain name of a network host. This matches the RFC 1123 definition of a + /// hostname with 2 notable exceptions: - IPs are not allowed. - A hostname may be prefixed with a wildcard + /// label (`*.`). The wildcard label must appear by itself as the first label. Hostname can be "precise" which + /// is a domain name without the terminating dot of a network host (e.g. `foo.example.com`) or "wildcard", which + /// is a domain name prefixed with a single wildcard label (e.g. `*.example.com`). Note that as per RFC1035 and + /// RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an + /// alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateway must + /// have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the + /// configuration will be rejected. For example, while it is acceptable for routes for the hostnames + /// `*.foo.bar.com` and `*.bar.com` to be associated with the same route, it is not possible to associate two + /// routes both with `*.bar.com` or both with `bar.com`. If a port is specified, then gRPC clients must use the + /// channel URI with the port to match this rule (i.e. "xds:///service:123"), otherwise they must supply the URI + /// without a port (i.e. "xds:///service"). + /// + [Newtonsoft.Json.JsonPropertyAttribute("hostnames")] + public virtual System.Collections.Generic.IList Hostnames { get; set; } + + /// Optional. Set of label tags associated with the GrpcRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Identifier. Name of the EndpointPolicy resource. It matches pattern - /// `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`. + /// Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as one of the routing rules to + /// route the requests served by the mesh. Each mesh reference should match the pattern: + /// `projects/*/locations/global/meshes/` /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("meshes")] + public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the - /// authentication policy to be applied to terminate the inbound traffic at the identified backends. If this - /// field is not set, authentication is disabled(open) for this endpoint. + /// Identifier. Name of the GrpcRoute resource. It matches pattern `projects/*/locations/global/grpcRoutes/` /// - [Newtonsoft.Json.JsonPropertyAttribute("serverTlsPolicy")] - public virtual string ServerTlsPolicy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// - /// Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is - /// applied to all ports. + /// Required. A list of detailed rules defining how to route traffic. Within a single GrpcRoute, the + /// GrpcRoute.RouteAction associated with the first matching GrpcRoute.RouteRule will be executed. At least one + /// rule must be supplied. /// - [Newtonsoft.Json.JsonPropertyAttribute("trafficPortSelector")] - public virtual TrafficPortSelector TrafficPortSelector { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("rules")] + public virtual System.Collections.Generic.IList Rules { get; set; } - /// - /// Required. The type of endpoint policy. This is primarily used to validate the configuration. - /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } private string _updateTimeRaw; @@ -5665,360 +6838,279 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression - /// language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example - /// (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" - /// expression: "document.summary.size() &lt; 100" Example (Equality): title: "Requestor is owner" description: - /// "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" - /// Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly - /// visible" expression: "document.type != 'private' &amp;&amp; document.type != 'internal'" Example (Data - /// Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." - /// expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that - /// may be referenced within an expression are determined by the service that evaluates it. See the service - /// documentation for additional information. - /// - public class Expr : Google.Apis.Requests.IDirectResponseSchema + /// The destination to which traffic will be routed. + public class GrpcRouteDestination : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when - /// hovered over it in a UI. - /// - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// Textual representation of an expression in Common Expression Language syntax. - [Newtonsoft.Json.JsonPropertyAttribute("expression")] - public virtual string Expression { get; set; } - - /// - /// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a - /// position in the file. + /// Required. The URL of a destination service to which to route traffic. Must refer to either a BackendService + /// or ServiceDirectoryService. /// - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual string Location { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] + public virtual string ServiceName { get; set; } /// - /// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs - /// which allow to enter the expression. + /// Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. + /// This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some + /// epsilon from the exact proportion defined here depending on the precision an implementation supports. If + /// only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to + /// that backend. If weights are specified for any one service name, they need to be specified for all of them. + /// If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of + /// them. /// - [Newtonsoft.Json.JsonPropertyAttribute("title")] - public virtual string Title { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("weight")] + public virtual System.Nullable Weight { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// A single extension chain wrapper that contains the match conditions and extensions to execute. + /// The specification for fault injection introduced into traffic to test the resiliency of clients to destination + /// service failure. As part of fault injection, when clients send requests to a destination, delays can be + /// introduced on a percentage of requests before sending those requests to the destination service. Similarly + /// requests from clients can be aborted by for a percentage of requests. /// - public class ExtensionChain : Google.Apis.Requests.IDirectResponseSchema + public class GrpcRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Required. A set of extensions to execute for the matching request. At least one extension is required. Up to - /// 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension` - /// chains are limited to 1 extension per extension chain. - /// - [Newtonsoft.Json.JsonPropertyAttribute("extensions")] - public virtual System.Collections.Generic.IList Extensions { get; set; } - - /// Required. Conditions under which this chain is invoked for a request. - [Newtonsoft.Json.JsonPropertyAttribute("matchCondition")] - public virtual ExtensionChainMatchCondition MatchCondition { get; set; } + /// The specification for aborting to client requests. + [Newtonsoft.Json.JsonPropertyAttribute("abort")] + public virtual GrpcRouteFaultInjectionPolicyAbort Abort { get; set; } - /// - /// Required. The name for this extension chain. The name is logged as part of the HTTP request logs. The name - /// must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a - /// maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or - /// a number. - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + /// The specification for injecting delay to client requests. + [Newtonsoft.Json.JsonPropertyAttribute("delay")] + public virtual GrpcRouteFaultInjectionPolicyDelay Delay { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// A single extension in the chain to execute for the matching request. - public class ExtensionChainExtension : Google.Apis.Requests.IDirectResponseSchema + /// + /// Specification of how client requests are aborted as part of fault injection before being sent to a destination. + /// + public class GrpcRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for - /// Callout extensions. + /// The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. /// - [Newtonsoft.Json.JsonPropertyAttribute("authority")] - public virtual string Authority { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("httpStatus")] + public virtual System.Nullable HttpStatus { get; set; } - /// - /// Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to - /// `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension - /// chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following - /// happens: * If response headers have not been delivered to the downstream client, a generic 500 error is - /// returned to the client. The error response can be tailored by configuring a custom error response in the - /// load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is - /// reset. - /// - [Newtonsoft.Json.JsonPropertyAttribute("failOpen")] - public virtual System.Nullable FailOpen { get; set; } + /// The percentage of traffic which will be aborted. The value must be between [0, 100] + [Newtonsoft.Json.JsonPropertyAttribute("percentage")] + public virtual System.Nullable Percentage { get; set; } - /// - /// Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all - /// headers are sent. Each element is a string indicating the header name. - /// - [Newtonsoft.Json.JsonPropertyAttribute("forwardHeaders")] - public virtual System.Collections.Generic.IList ForwardHeaders { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// - /// Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must - /// conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum - /// length of 63 characters. Additionally, the first character must be a letter and the last a letter or a - /// number. - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + /// + /// Specification of how client requests are delayed as part of fault injection before being sent to a destination. + /// + public class GrpcRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectResponseSchema + { + /// Specify a fixed delay before forwarding the request. + [Newtonsoft.Json.JsonPropertyAttribute("fixedDelay")] + public virtual object FixedDelay { get; set; } /// - /// Required. The reference to the service that runs the extension. Currently only callout extensions are - /// supported here. To configure a callout extension, `service` must be a fully-qualified reference to a - /// [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: - /// `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` - /// or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. + /// The percentage of traffic on which delay will be injected. The value must be between [0, 100] /// - [Newtonsoft.Json.JsonPropertyAttribute("service")] - public virtual string Service { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("percentage")] + public virtual System.Nullable Percentage { get; set; } - /// - /// Optional. A set of events during request or response processing for which this extension is called. This - /// field is required for the `LbTrafficExtension` resource. It must not be set for the `LbRouteExtension` - /// resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("supportedEvents")] - public virtual System.Collections.Generic.IList SupportedEvents { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A match against a collection of headers. + public class GrpcRouteHeaderMatch : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The key of the header. + [Newtonsoft.Json.JsonPropertyAttribute("key")] + public virtual string Key { get; set; } /// - /// Optional. Specifies the timeout for each individual message on the stream. The timeout must be between - /// 10-1000 milliseconds. Required for Callout extensions. + /// Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT + /// is used. /// - [Newtonsoft.Json.JsonPropertyAttribute("timeout")] - public virtual object Timeout { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// Required. The value of the header. + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Conditions under which this chain is invoked for a request. - public class ExtensionChainMatchCondition : Google.Apis.Requests.IDirectResponseSchema + /// Specifies a match against a method. + public class GrpcRouteMethodMatch : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. A Common Expression Language (CEL) expression that is used to match requests for which the - /// extension chain is executed. For more information, see [CEL matcher language - /// reference](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference). + /// Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be + /// used with a type of REGULAR_EXPRESSION. + /// + [Newtonsoft.Json.JsonPropertyAttribute("caseSensitive")] + public virtual System.Nullable CaseSensitive { get; set; } + + /// Required. Name of the method to match against. If unspecified, will match all methods. + [Newtonsoft.Json.JsonPropertyAttribute("grpcMethod")] + public virtual string GrpcMethod { get; set; } + + /// Required. Name of the service to match against. If unspecified, will match all services. + [Newtonsoft.Json.JsonPropertyAttribute("grpcService")] + public virtual string GrpcService { get; set; } + + /// + /// Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used. /// - [Newtonsoft.Json.JsonPropertyAttribute("celExpression")] - public virtual string CelExpression { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which - /// the services are exposed by the proxy, along with any policy configurations. Routes have reference to to - /// Gateways to dictate how requests should be routed by this Gateway. Next id: 33 + /// The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values + /// are: /// - public class Gateway : Google.Apis.Requests.IDirectResponseSchema + public class GrpcRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is - /// provided, an IP from the subnetwork is allocated This field only applies to gateways of type - /// 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. + /// Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1. /// - [Newtonsoft.Json.JsonPropertyAttribute("addresses")] - public virtual System.Collections.Generic.IList Addresses { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("numRetries")] + public virtual System.Nullable NumRetries { get; set; } /// - /// Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on - /// SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. + /// - connect-failure: Router will retry on failures connecting to Backend Services, for example due to + /// connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a + /// REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will + /// retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will + /// retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: + /// Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: + /// Router will retry if the gRPC status code in the response header is set to unavailable /// - [Newtonsoft.Json.JsonPropertyAttribute("certificateUrls")] - public virtual System.Collections.Generic.IList CertificateUrls { get; set; } - - private string _createTimeRaw; - - private object _createTime; - - /// Output only. The timestamp when the resource was created. - [Newtonsoft.Json.JsonPropertyAttribute("createTime")] - public virtual string CreateTimeRaw - { - get => _createTimeRaw; - set - { - _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _createTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] - public virtual object CreateTime - { - get => _createTime; - set - { - _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _createTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? CreateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); - set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } + [Newtonsoft.Json.JsonPropertyAttribute("retryConditions")] + public virtual System.Collections.Generic.IList RetryConditions { get; set; } - /// Optional. A free-text description of the resource. Max length 1024 characters. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Specifies how to route matched traffic. + public class GrpcRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers - /// may still be injected. By default, envoy will not insert any debug headers. + /// Optional. The destination services to which traffic should be forwarded. If multiple destinations are + /// specified, traffic will be split between Backend Service(s) according to the weight field of these + /// destinations. /// - [Newtonsoft.Json.JsonPropertyAttribute("envoyHeaders")] - public virtual string EnvoyHeaders { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("destinations")] + public virtual System.Collections.Generic.IList Destinations { get; set; } /// - /// Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security - /// policy to inbound (VM to Proxy) initiated connections. For example: - /// `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type - /// 'SECURE_WEB_GATEWAY'. + /// Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to + /// destination service failure. As part of fault injection, when clients send requests to a destination, delays + /// can be introduced on a percentage of requests before sending those requests to the destination service. + /// Similarly requests from clients can be aborted by for a percentage of requests. timeout and retry_policy + /// will be ignored by clients that are configured with a fault_injection_policy /// - [Newtonsoft.Json.JsonPropertyAttribute("gatewaySecurityPolicy")] - public virtual string GatewaySecurityPolicy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] + public virtual GrpcRouteFaultInjectionPolicy FaultInjectionPolicy { get; set; } /// - /// Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4. + /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in + /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the + /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. /// - [Newtonsoft.Json.JsonPropertyAttribute("ipVersion")] - public virtual string IpVersion { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] + public virtual object IdleTimeout { get; set; } - /// Optional. Set of label tags associated with the Gateway resource. - [Newtonsoft.Json.JsonPropertyAttribute("labels")] - public virtual System.Collections.Generic.IDictionary Labels { get; set; } + /// Optional. Specifies the retry policy associated with this route. + [Newtonsoft.Json.JsonPropertyAttribute("retryPolicy")] + public virtual GrpcRouteRetryPolicy RetryPolicy { get; set; } - /// - /// Identifier. Name of the Gateway resource. It matches pattern `projects/*/locations/*/gateways/`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + /// Optional. Specifies cookie-based stateful session affinity. + [Newtonsoft.Json.JsonPropertyAttribute("statefulSessionAffinity")] + public virtual GrpcRouteStatefulSessionAffinityPolicy StatefulSessionAffinity { get; set; } /// - /// Optional. The relative resource name identifying the VPC network that is using this configuration. For - /// example: `projects/*/global/networks/network-1`. Currently, this field is specific to gateways of type - /// 'SECURE_WEB_GATEWAY'. + /// Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been + /// fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes + /// all retries. /// - [Newtonsoft.Json.JsonPropertyAttribute("network")] - public virtual string Network { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("timeout")] + public virtual object Timeout { get; set; } - /// - /// Required. One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to - /// the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type - /// 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ports")] - public virtual System.Collections.Generic.IList> Ports { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// - /// Optional. The routing mode of the Gateway. This field is configurable only for gateways of type - /// SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY. - /// - [Newtonsoft.Json.JsonPropertyAttribute("routingMode")] - public virtual string RoutingMode { get; set; } + /// + /// Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match. + /// + public class GrpcRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Specifies a collection of headers to match. + [Newtonsoft.Json.JsonPropertyAttribute("headers")] + public virtual System.Collections.Generic.IList Headers { get; set; } /// - /// Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration - /// for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to - /// the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have - /// letters, numbers, hyphens. + /// Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods. /// - [Newtonsoft.Json.JsonPropertyAttribute("scope")] - public virtual string Scope { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("method")] + public virtual GrpcRouteMethodMatch Method { get; set; } - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// - /// Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If - /// empty, TLS termination is disabled. - /// - [Newtonsoft.Json.JsonPropertyAttribute("serverTlsPolicy")] - public virtual string ServerTlsPolicy { get; set; } + /// Describes how to route traffic. + public class GrpcRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. A detailed rule defining how to route traffic. This field is required. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual GrpcRouteRouteAction Action { get; set; } /// - /// Optional. The relative resource name identifying the subnetwork in which this SWG is allocated. For example: - /// `projects/*/regions/us-central1/subnetworks/network-1` Currently, this field is specific to gateways of type - /// 'SECURE_WEB_GATEWAY". + /// Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is + /// independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is + /// specified, this rule will unconditionally match traffic. /// - [Newtonsoft.Json.JsonPropertyAttribute("subnetwork")] - public virtual string Subnetwork { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("matches")] + public virtual System.Collections.Generic.IList Matches { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// + /// The specification for cookie-based stateful session affinity where the date plane supplies a “session cookie” + /// with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be + /// directed to that host as long as the destination host remains up and healthy. The gRPC proxyless mesh library or + /// sidecar proxy will manage the session cookie but the client application code is responsible for copying the + /// cookie from each RPC in the session to the next. + /// + public class GrpcRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is - /// returned. + /// Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the + /// cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive. /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// Output only. The timestamp when the resource was updated. - [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] - public virtual string UpdateTimeRaw - { - get => _updateTimeRaw; - set - { - _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _updateTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } + [Newtonsoft.Json.JsonPropertyAttribute("cookieTtl")] + public virtual object CookieTtl { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed. + /// HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource. /// - public class GrpcRoute : Google.Apis.Requests.IDirectResponseSchema + public class HttpRoute : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -6062,7 +7154,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string Description { get; set; } /// - /// Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one of the routing rules to + /// Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to /// route the requests served by the gateway. Each gateway reference should match the pattern: /// `projects/*/locations/global/gateways/` /// @@ -6070,49 +7162,47 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual System.Collections.Generic.IList Gateways { get; set; } /// - /// Required. Service hostnames with an optional port for which this route describes traffic. Format: [:] - /// Hostname is the fully qualified domain name of a network host. This matches the RFC 1123 definition of a - /// hostname with 2 notable exceptions: - IPs are not allowed. - A hostname may be prefixed with a wildcard + /// Required. Hostnames define a set of hosts that should match against the HTTP host header to select a + /// HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined + /// by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard /// label (`*.`). The wildcard label must appear by itself as the first label. Hostname can be "precise" which /// is a domain name without the terminating dot of a network host (e.g. `foo.example.com`) or "wildcard", which /// is a domain name prefixed with a single wildcard label (e.g. `*.example.com`). Note that as per RFC1035 and /// RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an - /// alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateway must + /// alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must /// have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the /// configuration will be rejected. For example, while it is acceptable for routes for the hostnames - /// `*.foo.bar.com` and `*.bar.com` to be associated with the same route, it is not possible to associate two - /// routes both with `*.bar.com` or both with `bar.com`. If a port is specified, then gRPC clients must use the - /// channel URI with the port to match this rule (i.e. "xds:///service:123"), otherwise they must supply the URI - /// without a port (i.e. "xds:///service"). + /// `*.foo.bar.com` and `*.bar.com` to be associated with the same Mesh (or Gateways under the same scope), it + /// is not possible to associate two routes both with `*.bar.com` or both with `bar.com`. /// [Newtonsoft.Json.JsonPropertyAttribute("hostnames")] public virtual System.Collections.Generic.IList Hostnames { get; set; } - /// Optional. Set of label tags associated with the GrpcRoute resource. + /// Optional. Set of label tags associated with the HttpRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as one of the routing rules to + /// Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to /// route the requests served by the mesh. Each mesh reference should match the pattern: - /// `projects/*/locations/global/meshes/` + /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR /// [Newtonsoft.Json.JsonPropertyAttribute("meshes")] public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Identifier. Name of the GrpcRoute resource. It matches pattern `projects/*/locations/global/grpcRoutes/` + /// Identifier. Name of the HttpRoute resource. It matches pattern + /// `projects/*/locations/global/httpRoutes/http_route_name&gt;`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// - /// Required. A list of detailed rules defining how to route traffic. Within a single GrpcRoute, the - /// GrpcRoute.RouteAction associated with the first matching GrpcRoute.RouteRule will be executed. At least one - /// rule must be supplied. + /// Required. Rules that define how traffic is routed and handled. Rules will be matched sequentially based on + /// the RouteMatch specified for the rule. /// [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } + public virtual System.Collections.Generic.IList Rules { get; set; } /// Output only. Server-defined URL of this resource [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] @@ -6159,24 +7249,90 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// The destination to which traffic will be routed. - public class GrpcRouteDestination : Google.Apis.Requests.IDirectResponseSchema + /// The Specification for allowing client side cross-origin requests. + public class HttpRouteCorsPolicy : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. The URL of a destination service to which to route traffic. Must refer to either a BackendService - /// or ServiceDirectoryService. + /// In response to a preflight request, setting this to true indicates that the actual request can include user + /// credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowCredentials")] + public virtual System.Nullable AllowCredentials { get; set; } + + /// Specifies the content for Access-Control-Allow-Headers header. + [Newtonsoft.Json.JsonPropertyAttribute("allowHeaders")] + public virtual System.Collections.Generic.IList AllowHeaders { get; set; } + + /// Specifies the content for Access-Control-Allow-Methods header. + [Newtonsoft.Json.JsonPropertyAttribute("allowMethods")] + public virtual System.Collections.Generic.IList AllowMethods { get; set; } + + /// + /// Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please + /// see https://github.com/google/re2/wiki/Syntax. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowOriginRegexes")] + public virtual System.Collections.Generic.IList AllowOriginRegexes { get; set; } + + /// + /// Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches + /// either an item in allow_origins or an item in allow_origin_regexes. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowOrigins")] + public virtual System.Collections.Generic.IList AllowOrigins { get; set; } + + /// + /// If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in + /// effect. + /// + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// Specifies the content for Access-Control-Expose-Headers header. + [Newtonsoft.Json.JsonPropertyAttribute("exposeHeaders")] + public virtual System.Collections.Generic.IList ExposeHeaders { get; set; } + + /// + /// Specifies how long result of a preflight request can be cached in seconds. This translates to the + /// Access-Control-Max-Age header. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxAge")] + public virtual string MaxAge { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Specifications of a destination to which the request should be routed to. + public class HttpRouteDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The specification for modifying the headers of a matching request prior to delivery of the request + /// to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be + /// merged. Conflicts between the two will not be resolved on the configuration. + /// + [Newtonsoft.Json.JsonPropertyAttribute("requestHeaderModifier")] + public virtual HttpRouteHeaderModifier RequestHeaderModifier { get; set; } + + /// + /// Optional. The specification for modifying the headers of a response prior to sending the response back to + /// the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. + /// Conflicts between the two will not be resolved on the configuration. /// + [Newtonsoft.Json.JsonPropertyAttribute("responseHeaderModifier")] + public virtual HttpRouteHeaderModifier ResponseHeaderModifier { get; set; } + + /// The URL of a BackendService to route traffic to. [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] public virtual string ServiceName { get; set; } /// - /// Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. - /// This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some - /// epsilon from the exact proportion defined here depending on the precision an implementation supports. If - /// only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to - /// that backend. If weights are specified for any one service name, they need to be specified for all of them. - /// If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of - /// them. + /// Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is + /// computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon + /// from the exact proportion defined here depending on the precision an implementation supports. If only one + /// serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that + /// backend. If weights are specified for any one service name, they need to be specified for all of them. If + /// weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. /// [Newtonsoft.Json.JsonPropertyAttribute("weight")] public virtual System.Nullable Weight { get; set; } @@ -6188,18 +7344,18 @@ public class GrpcRouteDestination : Google.Apis.Requests.IDirectResponseSchema /// /// The specification for fault injection introduced into traffic to test the resiliency of clients to destination /// service failure. As part of fault injection, when clients send requests to a destination, delays can be - /// introduced on a percentage of requests before sending those requests to the destination service. Similarly - /// requests from clients can be aborted by for a percentage of requests. + /// introduced by client proxy on a percentage of requests before sending those requests to the destination service. + /// Similarly requests can be aborted by client proxy for a percentage of requests. /// - public class GrpcRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectResponseSchema { /// The specification for aborting to client requests. [Newtonsoft.Json.JsonPropertyAttribute("abort")] - public virtual GrpcRouteFaultInjectionPolicyAbort Abort { get; set; } + public virtual HttpRouteFaultInjectionPolicyAbort Abort { get; set; } /// The specification for injecting delay to client requests. [Newtonsoft.Json.JsonPropertyAttribute("delay")] - public virtual GrpcRouteFaultInjectionPolicyDelay Delay { get; set; } + public virtual HttpRouteFaultInjectionPolicyDelay Delay { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -6208,7 +7364,7 @@ public class GrpcRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectRespons /// /// Specification of how client requests are aborted as part of fault injection before being sent to a destination. /// - public class GrpcRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectResponseSchema { /// /// The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. @@ -6227,7 +7383,7 @@ public class GrpcRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectRe /// /// Specification of how client requests are delayed as part of fault injection before being sent to a destination. /// - public class GrpcRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectResponseSchema { /// Specify a fixed delay before forwarding the request. [Newtonsoft.Json.JsonPropertyAttribute("fixedDelay")] @@ -6243,1067 +7399,1043 @@ public class GrpcRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } - /// A match against a collection of headers. - public class GrpcRouteHeaderMatch : Google.Apis.Requests.IDirectResponseSchema + /// Specifies how to select a route rule based on HTTP request headers. + public class HttpRouteHeaderMatch : Google.Apis.Requests.IDirectResponseSchema { - /// Required. The key of the header. - [Newtonsoft.Json.JsonPropertyAttribute("key")] - public virtual string Key { get; set; } + /// The value of the header should match exactly the content of exact_match. + [Newtonsoft.Json.JsonPropertyAttribute("exactMatch")] + public virtual string ExactMatch { get; set; } + + /// The name of the HTTP header to match against. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } /// - /// Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT - /// is used. + /// If specified, the match result will be inverted before checking. Default value is set to false. /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// Required. The value of the header. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("invertMatch")] + public virtual System.Nullable InvertMatch { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// The value of the header must start with the contents of prefix_match. + [Newtonsoft.Json.JsonPropertyAttribute("prefixMatch")] + public virtual string PrefixMatch { get; set; } - /// Specifies a match against a method. - public class GrpcRouteMethodMatch : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be - /// used with a type of REGULAR_EXPRESSION. + /// A header with header_name must exist. The match takes place whether or not the header has a value. /// - [Newtonsoft.Json.JsonPropertyAttribute("caseSensitive")] - public virtual System.Nullable CaseSensitive { get; set; } - - /// Required. Name of the method to match against. If unspecified, will match all methods. - [Newtonsoft.Json.JsonPropertyAttribute("grpcMethod")] - public virtual string GrpcMethod { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("presentMatch")] + public virtual System.Nullable PresentMatch { get; set; } - /// Required. Name of the service to match against. If unspecified, will match all services. - [Newtonsoft.Json.JsonPropertyAttribute("grpcService")] - public virtual string GrpcService { get; set; } + /// If specified, the rule will match if the request header value is within the range. + [Newtonsoft.Json.JsonPropertyAttribute("rangeMatch")] + public virtual HttpRouteHeaderMatchIntegerRange RangeMatch { get; set; } /// - /// Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used. + /// The value of the header must match the regular expression specified in regex_match. For regular expression + /// grammar, please see: https://github.com/google/re2/wiki/Syntax /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] + public virtual string RegexMatch { get; set; } + + /// The value of the header must end with the contents of suffix_match. + [Newtonsoft.Json.JsonPropertyAttribute("suffixMatch")] + public virtual string SuffixMatch { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values - /// are: - /// - public class GrpcRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema + /// Represents an integer value range. + public class HttpRouteHeaderMatchIntegerRange : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1. - /// - [Newtonsoft.Json.JsonPropertyAttribute("numRetries")] - public virtual System.Nullable NumRetries { get; set; } + /// End of the range (exclusive) + [Newtonsoft.Json.JsonPropertyAttribute("end")] + public virtual System.Nullable End { get; set; } - /// - /// - connect-failure: Router will retry on failures connecting to Backend Services, for example due to - /// connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a - /// REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will - /// retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will - /// retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: - /// Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: - /// Router will retry if the gRPC status code in the response header is set to unavailable - /// - [Newtonsoft.Json.JsonPropertyAttribute("retryConditions")] - public virtual System.Collections.Generic.IList RetryConditions { get; set; } + /// Start of the range (inclusive) + [Newtonsoft.Json.JsonPropertyAttribute("start")] + public virtual System.Nullable Start { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Specifies how to route matched traffic. - public class GrpcRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + /// The specification for modifying HTTP header in HTTP request and HTTP response. + public class HttpRouteHeaderModifier : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. The destination services to which traffic should be forwarded. If multiple destinations are - /// specified, traffic will be split between Backend Service(s) according to the weight field of these - /// destinations. - /// - [Newtonsoft.Json.JsonPropertyAttribute("destinations")] - public virtual System.Collections.Generic.IList Destinations { get; set; } - - /// - /// Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to - /// destination service failure. As part of fault injection, when clients send requests to a destination, delays - /// can be introduced on a percentage of requests before sending those requests to the destination service. - /// Similarly requests from clients can be aborted by for a percentage of requests. timeout and retry_policy - /// will be ignored by clients that are configured with a fault_injection_policy - /// - [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] - public virtual GrpcRouteFaultInjectionPolicy FaultInjectionPolicy { get; set; } - - /// - /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in - /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the - /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. + /// Add the headers with given map where key is the name of the header, value is the value of the header. /// - [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] - public virtual object IdleTimeout { get; set; } - - /// Optional. Specifies the retry policy associated with this route. - [Newtonsoft.Json.JsonPropertyAttribute("retryPolicy")] - public virtual GrpcRouteRetryPolicy RetryPolicy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("add")] + public virtual System.Collections.Generic.IDictionary Add { get; set; } - /// Optional. Specifies cookie-based stateful session affinity. - [Newtonsoft.Json.JsonPropertyAttribute("statefulSessionAffinity")] - public virtual GrpcRouteStatefulSessionAffinityPolicy StatefulSessionAffinity { get; set; } + /// Remove headers (matching by header names) specified in the list. + [Newtonsoft.Json.JsonPropertyAttribute("remove")] + public virtual System.Collections.Generic.IList Remove { get; set; } /// - /// Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been - /// fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes - /// all retries. + /// Completely overwrite/replace the headers with given map where key is the name of the header, value is the + /// value of the header. /// - [Newtonsoft.Json.JsonPropertyAttribute("timeout")] - public virtual object Timeout { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("set")] + public virtual System.Collections.Generic.IDictionary Set { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match. - /// - public class GrpcRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema + /// Static HTTP response object to be returned. + public class HttpRouteHttpDirectResponse : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. Specifies a collection of headers to match. - [Newtonsoft.Json.JsonPropertyAttribute("headers")] - public virtual System.Collections.Generic.IList Headers { get; set; } + /// Optional. Response body as bytes. Maximum body size is 4096B. + [Newtonsoft.Json.JsonPropertyAttribute("bytesBody")] + public virtual string BytesBody { get; set; } - /// - /// Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods. - /// - [Newtonsoft.Json.JsonPropertyAttribute("method")] - public virtual GrpcRouteMethodMatch Method { get; set; } + /// Required. Status to return as part of HTTP Response. Must be a positive integer. + [Newtonsoft.Json.JsonPropertyAttribute("status")] + public virtual System.Nullable Status { get; set; } + + /// Optional. Response body as a string. Maximum body length is 1024 characters. + [Newtonsoft.Json.JsonPropertyAttribute("stringBody")] + public virtual string StringBody { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Describes how to route traffic. - public class GrpcRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + /// Specifications to match a query parameter in the request. + public class HttpRouteQueryParameterMatch : Google.Apis.Requests.IDirectResponseSchema { - /// Required. A detailed rule defining how to route traffic. This field is required. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual GrpcRouteRouteAction Action { get; set; } + /// + /// The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, + /// regex_match, or present_match must be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("exactMatch")] + public virtual string ExactMatch { get; set; } /// - /// Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is - /// independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is - /// specified, this rule will unconditionally match traffic. + /// Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of + /// whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be + /// set. /// - [Newtonsoft.Json.JsonPropertyAttribute("matches")] - public virtual System.Collections.Generic.IList Matches { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("presentMatch")] + public virtual System.Nullable PresentMatch { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// The name of the query parameter to match. + [Newtonsoft.Json.JsonPropertyAttribute("queryParameter")] + public virtual string QueryParameter { get; set; } - /// - /// The specification for cookie-based stateful session affinity where the date plane supplies a “session cookie” - /// with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be - /// directed to that host as long as the destination host remains up and healthy. The gRPC proxyless mesh library or - /// sidecar proxy will manage the session cookie but the client application code is responsible for copying the - /// cookie from each RPC in the session to the next. - /// - public class GrpcRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the - /// cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive. + /// The value of the query parameter must match the regular expression specified by regex_match. For regular + /// expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, + /// regex_match, or present_match must be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("cookieTtl")] - public virtual object CookieTtl { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] + public virtual string RegexMatch { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource. - /// - public class HttpRoute : Google.Apis.Requests.IDirectResponseSchema + /// The specification for redirecting traffic. + public class HttpRouteRedirect : Google.Apis.Requests.IDirectResponseSchema { - private string _createTimeRaw; - - private object _createTime; - - /// Output only. The timestamp when the resource was created. - [Newtonsoft.Json.JsonPropertyAttribute("createTime")] - public virtual string CreateTimeRaw - { - get => _createTimeRaw; - set - { - _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _createTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] - public virtual object CreateTime - { - get => _createTime; - set - { - _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _createTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? CreateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); - set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// Optional. A free-text description of the resource. Max length 1024 characters. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - /// - /// Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to - /// route the requests served by the gateway. Each gateway reference should match the pattern: - /// `projects/*/locations/global/gateways/` + /// The host that will be used in the redirect response instead of the one that was supplied in the request. /// - [Newtonsoft.Json.JsonPropertyAttribute("gateways")] - public virtual System.Collections.Generic.IList Gateways { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("hostRedirect")] + public virtual string HostRedirect { get; set; } /// - /// Required. Hostnames define a set of hosts that should match against the HTTP host header to select a - /// HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined - /// by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard - /// label (`*.`). The wildcard label must appear by itself as the first label. Hostname can be "precise" which - /// is a domain name without the terminating dot of a network host (e.g. `foo.example.com`) or "wildcard", which - /// is a domain name prefixed with a single wildcard label (e.g. `*.example.com`). Note that as per RFC1035 and - /// RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an - /// alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must - /// have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the - /// configuration will be rejected. For example, while it is acceptable for routes for the hostnames - /// `*.foo.bar.com` and `*.bar.com` to be associated with the same Mesh (or Gateways under the same scope), it - /// is not possible to associate two routes both with `*.bar.com` or both with `bar.com`. + /// If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of + /// the redirected request will remain the same as that of the request. The default is set to false. /// - [Newtonsoft.Json.JsonPropertyAttribute("hostnames")] - public virtual System.Collections.Generic.IList Hostnames { get; set; } - - /// Optional. Set of label tags associated with the HttpRoute resource. - [Newtonsoft.Json.JsonPropertyAttribute("labels")] - public virtual System.Collections.Generic.IDictionary Labels { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("httpsRedirect")] + public virtual System.Nullable HttpsRedirect { get; set; } /// - /// Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to - /// route the requests served by the mesh. Each mesh reference should match the pattern: - /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR + /// The path that will be used in the redirect response instead of the one that was supplied in the request. + /// path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is + /// supplied, the path of the original request will be used for the redirect. /// - [Newtonsoft.Json.JsonPropertyAttribute("meshes")] - public virtual System.Collections.Generic.IList Meshes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pathRedirect")] + public virtual string PathRedirect { get; set; } /// - /// Identifier. Name of the HttpRoute resource. It matches pattern - /// `projects/*/locations/global/httpRoutes/http_route_name&gt;`. + /// The port that will be used in the redirected request instead of the one that was supplied in the request. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("portRedirect")] + public virtual System.Nullable PortRedirect { get; set; } /// - /// Required. Rules that define how traffic is routed and handled. Rules will be matched sequentially based on - /// the RouteMatch specified for the rule. + /// Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This + /// option allows URLs be dynamically created based on the request. /// - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } - - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("prefixRewrite")] + public virtual string PrefixRewrite { get; set; } - private string _updateTimeRaw; + /// The HTTP Status code to use for the redirect. + [Newtonsoft.Json.JsonPropertyAttribute("responseCode")] + public virtual string ResponseCode { get; set; } - private object _updateTime; + /// + /// if set to true, any accompanying query portion of the original URL is removed prior to redirecting the + /// request. If set to false, the query portion of the original URL is retained. The default is set to false. + /// + [Newtonsoft.Json.JsonPropertyAttribute("stripQuery")] + public virtual System.Nullable StripQuery { get; set; } - /// Output only. The timestamp when the resource was updated. - [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] - public virtual string UpdateTimeRaw - { - get => _updateTimeRaw; - set - { - _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _updateTimeRaw = value; - } - } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } + /// + /// Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not + /// wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority + /// header is suffixed with -shadow. + /// + public class HttpRouteRequestMirrorPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The destination the requests will be mirrored to. The weight of the destination will be ignored. + /// + [Newtonsoft.Json.JsonPropertyAttribute("destination")] + public virtual HttpRouteDestination Destination { get; set; } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } + /// Optional. The percentage of requests to get mirrored to the desired destination. + [Newtonsoft.Json.JsonPropertyAttribute("mirrorPercent")] + public virtual System.Nullable MirrorPercent { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The Specification for allowing client side cross-origin requests. - public class HttpRouteCorsPolicy : Google.Apis.Requests.IDirectResponseSchema + /// The specifications for retries. + public class HttpRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema { /// - /// In response to a preflight request, setting this to true indicates that the actual request can include user - /// credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. + /// Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1. /// - [Newtonsoft.Json.JsonPropertyAttribute("allowCredentials")] - public virtual System.Nullable AllowCredentials { get; set; } - - /// Specifies the content for Access-Control-Allow-Headers header. - [Newtonsoft.Json.JsonPropertyAttribute("allowHeaders")] - public virtual System.Collections.Generic.IList AllowHeaders { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("numRetries")] + public virtual System.Nullable NumRetries { get; set; } - /// Specifies the content for Access-Control-Allow-Methods header. - [Newtonsoft.Json.JsonPropertyAttribute("allowMethods")] - public virtual System.Collections.Generic.IList AllowMethods { get; set; } + /// Specifies a non-zero timeout per retry attempt. + [Newtonsoft.Json.JsonPropertyAttribute("perTryTimeout")] + public virtual object PerTryTimeout { get; set; } /// - /// Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please - /// see https://github.com/google/re2/wiki/Syntax. + /// Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a + /// retry if the destination service responds with any 5xx response code, of if the destination service does not + /// respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. + /// gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a + /// retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: + /// Proxy will retry on failures connecting to destination for example due to connection timeouts. + /// retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error + /// supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a + /// REFUSED_STREAM error code. This reset type indicates that it is safe to retry. /// - [Newtonsoft.Json.JsonPropertyAttribute("allowOriginRegexes")] - public virtual System.Collections.Generic.IList AllowOriginRegexes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("retryConditions")] + public virtual System.Collections.Generic.IList RetryConditions { get; set; } - /// - /// Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches - /// either an item in allow_origins or an item in allow_origin_regexes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("allowOrigins")] - public virtual System.Collections.Generic.IList AllowOrigins { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The specifications for routing traffic and applying associated policies. + public class HttpRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + { + /// The specification for allowing client side cross-origin requests. + [Newtonsoft.Json.JsonPropertyAttribute("corsPolicy")] + public virtual HttpRouteCorsPolicy CorsPolicy { get; set; } + + /// The destination to which traffic should be forwarded. + [Newtonsoft.Json.JsonPropertyAttribute("destinations")] + public virtual System.Collections.Generic.IList Destinations { get; set; } + + /// Optional. Static HTTP Response object to be returned regardless of the request. + [Newtonsoft.Json.JsonPropertyAttribute("directResponse")] + public virtual HttpRouteHttpDirectResponse DirectResponse { get; set; } /// - /// If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in - /// effect. + /// The specification for fault injection introduced into traffic to test the resiliency of clients to backend + /// service failure. As part of fault injection, when clients send requests to a backend service, delays can be + /// introduced on a percentage of requests before sending those requests to the backend service. Similarly + /// requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored + /// by clients that are configured with a fault_injection_policy /// - [Newtonsoft.Json.JsonPropertyAttribute("disabled")] - public virtual System.Nullable Disabled { get; set; } - - /// Specifies the content for Access-Control-Expose-Headers header. - [Newtonsoft.Json.JsonPropertyAttribute("exposeHeaders")] - public virtual System.Collections.Generic.IList ExposeHeaders { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] + public virtual HttpRouteFaultInjectionPolicy FaultInjectionPolicy { get; set; } /// - /// Specifies how long result of a preflight request can be cached in seconds. This translates to the - /// Access-Control-Max-Age header. + /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in + /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the + /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. /// - [Newtonsoft.Json.JsonPropertyAttribute("maxAge")] - public virtual string MaxAge { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] + public virtual object IdleTimeout { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// If set, the request is directed as configured by this field. + [Newtonsoft.Json.JsonPropertyAttribute("redirect")] + public virtual HttpRouteRedirect Redirect { get; set; } - /// Specifications of a destination to which the request should be routed to. - public class HttpRouteDestination : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Optional. The specification for modifying the headers of a matching request prior to delivery of the request - /// to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be - /// merged. Conflicts between the two will not be resolved on the configuration. + /// The specification for modifying the headers of a matching request prior to delivery of the request to the + /// destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. + /// Conflicts between the two will not be resolved on the configuration. /// [Newtonsoft.Json.JsonPropertyAttribute("requestHeaderModifier")] public virtual HttpRouteHeaderModifier RequestHeaderModifier { get; set; } /// - /// Optional. The specification for modifying the headers of a response prior to sending the response back to - /// the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. - /// Conflicts between the two will not be resolved on the configuration. + /// Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored + /// destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior + /// to sending traffic to the shadow service, the host/authority header is suffixed with -shadow. /// - [Newtonsoft.Json.JsonPropertyAttribute("responseHeaderModifier")] - public virtual HttpRouteHeaderModifier ResponseHeaderModifier { get; set; } - - /// The URL of a BackendService to route traffic to. - [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] - public virtual string ServiceName { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("requestMirrorPolicy")] + public virtual HttpRouteRequestMirrorPolicy RequestMirrorPolicy { get; set; } /// - /// Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is - /// computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon - /// from the exact proportion defined here depending on the precision an implementation supports. If only one - /// serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that - /// backend. If weights are specified for any one service name, they need to be specified for all of them. If - /// weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. + /// The specification for modifying the headers of a response prior to sending the response back to the client. + /// If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts + /// between the two will not be resolved on the configuration. /// - [Newtonsoft.Json.JsonPropertyAttribute("weight")] - public virtual System.Nullable Weight { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// The specification for fault injection introduced into traffic to test the resiliency of clients to destination - /// service failure. As part of fault injection, when clients send requests to a destination, delays can be - /// introduced by client proxy on a percentage of requests before sending those requests to the destination service. - /// Similarly requests can be aborted by client proxy for a percentage of requests. - /// - public class HttpRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// The specification for aborting to client requests. - [Newtonsoft.Json.JsonPropertyAttribute("abort")] - public virtual HttpRouteFaultInjectionPolicyAbort Abort { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("responseHeaderModifier")] + public virtual HttpRouteHeaderModifier ResponseHeaderModifier { get; set; } - /// The specification for injecting delay to client requests. - [Newtonsoft.Json.JsonPropertyAttribute("delay")] - public virtual HttpRouteFaultInjectionPolicyDelay Delay { get; set; } + /// Specifies the retry policy associated with this route. + [Newtonsoft.Json.JsonPropertyAttribute("retryPolicy")] + public virtual HttpRouteRetryPolicy RetryPolicy { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// Optional. Specifies cookie-based stateful session affinity. + [Newtonsoft.Json.JsonPropertyAttribute("statefulSessionAffinity")] + public virtual HttpRouteStatefulSessionAffinityPolicy StatefulSessionAffinity { get; set; } - /// - /// Specification of how client requests are aborted as part of fault injection before being sent to a destination. - /// - public class HttpRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectResponseSchema - { /// - /// The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. + /// Specifies the timeout for selected route. Timeout is computed from the time the request has been fully + /// processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all + /// retries. /// - [Newtonsoft.Json.JsonPropertyAttribute("httpStatus")] - public virtual System.Nullable HttpStatus { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("timeout")] + public virtual object Timeout { get; set; } - /// The percentage of traffic which will be aborted. The value must be between [0, 100] - [Newtonsoft.Json.JsonPropertyAttribute("percentage")] - public virtual System.Nullable Percentage { get; set; } + /// The specification for rewrite URL before forwarding requests to the destination. + [Newtonsoft.Json.JsonPropertyAttribute("urlRewrite")] + public virtual HttpRouteURLRewrite UrlRewrite { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// Specification of how client requests are delayed as part of fault injection before being sent to a destination. + /// RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will + /// match if ALL type of matches are matched. /// - public class HttpRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema { - /// Specify a fixed delay before forwarding the request. - [Newtonsoft.Json.JsonPropertyAttribute("fixedDelay")] - public virtual object FixedDelay { get; set; } - /// - /// The percentage of traffic on which delay will be injected. The value must be between [0, 100] + /// The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or + /// regex_match should be used. /// - [Newtonsoft.Json.JsonPropertyAttribute("percentage")] - public virtual System.Nullable Percentage { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specifies how to select a route rule based on HTTP request headers. - public class HttpRouteHeaderMatch : Google.Apis.Requests.IDirectResponseSchema - { - /// The value of the header should match exactly the content of exact_match. - [Newtonsoft.Json.JsonPropertyAttribute("exactMatch")] - public virtual string ExactMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("fullPathMatch")] + public virtual string FullPathMatch { get; set; } - /// The name of the HTTP header to match against. - [Newtonsoft.Json.JsonPropertyAttribute("header")] - public virtual string Header { get; set; } + /// + /// Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched. + /// + [Newtonsoft.Json.JsonPropertyAttribute("headers")] + public virtual System.Collections.Generic.IList Headers { get; set; } /// - /// If specified, the match result will be inverted before checking. Default value is set to false. + /// Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false. /// - [Newtonsoft.Json.JsonPropertyAttribute("invertMatch")] - public virtual System.Nullable InvertMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("ignoreCase")] + public virtual System.Nullable IgnoreCase { get; set; } - /// The value of the header must start with the contents of prefix_match. + /// + /// The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only + /// one of full_path_match, prefix_match, or regex_match should be used. + /// [Newtonsoft.Json.JsonPropertyAttribute("prefixMatch")] public virtual string PrefixMatch { get; set; } /// - /// A header with header_name must exist. The match takes place whether or not the header has a value. + /// Specifies a list of query parameters to match against. ALL of the query parameters must be matched. /// - [Newtonsoft.Json.JsonPropertyAttribute("presentMatch")] - public virtual System.Nullable PresentMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("queryParameters")] + public virtual System.Collections.Generic.IList QueryParameters { get; set; } - /// If specified, the rule will match if the request header value is within the range. - [Newtonsoft.Json.JsonPropertyAttribute("rangeMatch")] - public virtual HttpRouteHeaderMatchIntegerRange RangeMatch { get; set; } + /// + /// The HTTP request path value must satisfy the regular expression specified by regex_match after removing any + /// query parameters and anchor supplied with the original URL. For regular expression grammar, please see + /// https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should + /// be used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] + public virtual string RegexMatch { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Specifies how to match traffic and how to route traffic when traffic is matched. + public class HttpRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + { + /// The detailed rule defining how to route matched traffic. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual HttpRouteRouteAction Action { get; set; } /// - /// The value of the header must match the regular expression specified in regex_match. For regular expression - /// grammar, please see: https://github.com/google/re2/wiki/Syntax + /// A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is + /// independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is + /// specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add + /// a rule with no matches specified to the end of the rules list. /// - [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] - public virtual string RegexMatch { get; set; } - - /// The value of the header must end with the contents of suffix_match. - [Newtonsoft.Json.JsonPropertyAttribute("suffixMatch")] - public virtual string SuffixMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("matches")] + public virtual System.Collections.Generic.IList Matches { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Represents an integer value range. - public class HttpRouteHeaderMatchIntegerRange : Google.Apis.Requests.IDirectResponseSchema + /// + /// The specification for cookie-based stateful session affinity where the date plane supplies a “session cookie” + /// with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be + /// directed to that host as long as the destination host remains up and healthy. The gRPC proxyless mesh library or + /// sidecar proxy will manage the session cookie but the client application code is responsible for copying the + /// cookie from each RPC in the session to the next. + /// + public class HttpRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDirectResponseSchema { - /// End of the range (exclusive) - [Newtonsoft.Json.JsonPropertyAttribute("end")] - public virtual System.Nullable End { get; set; } - - /// Start of the range (inclusive) - [Newtonsoft.Json.JsonPropertyAttribute("start")] - public virtual System.Nullable Start { get; set; } + /// + /// Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the + /// cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cookieTtl")] + public virtual object CookieTtl { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The specification for modifying HTTP header in HTTP request and HTTP response. - public class HttpRouteHeaderModifier : Google.Apis.Requests.IDirectResponseSchema + /// + /// The specification for modifying the URL of the request, prior to forwarding the request to the destination. + /// + public class HttpRouteURLRewrite : Google.Apis.Requests.IDirectResponseSchema { /// - /// Add the headers with given map where key is the name of the header, value is the value of the header. + /// Prior to forwarding the request to the selected destination, the requests host header is replaced by this + /// value. /// - [Newtonsoft.Json.JsonPropertyAttribute("add")] - public virtual System.Collections.Generic.IDictionary Add { get; set; } - - /// Remove headers (matching by header names) specified in the list. - [Newtonsoft.Json.JsonPropertyAttribute("remove")] - public virtual System.Collections.Generic.IList Remove { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("hostRewrite")] + public virtual string HostRewrite { get; set; } /// - /// Completely overwrite/replace the headers with given map where key is the name of the header, value is the - /// value of the header. + /// Prior to forwarding the request to the selected destination, the matching portion of the requests path is + /// replaced by this value. /// - [Newtonsoft.Json.JsonPropertyAttribute("set")] - public virtual System.Collections.Generic.IDictionary Set { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pathPrefixRewrite")] + public virtual string PathPrefixRewrite { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Static HTTP response object to be returned. - public class HttpRouteHttpDirectResponse : Google.Apis.Requests.IDirectResponseSchema + /// + /// `LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request. + /// + public class LbRouteExtension : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. Response body as bytes. Maximum body size is 4096B. - [Newtonsoft.Json.JsonPropertyAttribute("bytesBody")] - public virtual string BytesBody { get; set; } + private string _createTimeRaw; - /// Required. Status to return as part of HTTP Response. Must be a positive integer. - [Newtonsoft.Json.JsonPropertyAttribute("status")] - public virtual System.Nullable Status { get; set; } + private object _createTime; - /// Optional. Response body as a string. Maximum body length is 1024 characters. - [Newtonsoft.Json.JsonPropertyAttribute("stringBody")] - public virtual string StringBody { get; set; } + /// Output only. The timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Optional. A human-readable description of the resource. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } - /// Specifications to match a query parameter in the request. - public class HttpRouteQueryParameterMatch : Google.Apis.Requests.IDirectResponseSchema - { /// - /// The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, - /// regex_match, or present_match must be set. + /// Required. A set of ordered extension chains that contain the match conditions and extensions to execute. + /// Match conditions for each extension chain are evaluated in sequence for a given request. The first extension + /// chain that has a condition that matches the request is executed. Any subsequent extension chains do not + /// execute. Limited to 5 extension chains per resource. /// - [Newtonsoft.Json.JsonPropertyAttribute("exactMatch")] - public virtual string ExactMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("extensionChains")] + public virtual System.Collections.Generic.IList ExtensionChains { get; set; } /// - /// Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of - /// whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be - /// set. + /// Required. A list of references to the forwarding rules to which this service extension is attached to. At + /// least one forwarding rule is required. There can be only one `LbRouteExtension` resource per forwarding + /// rule. /// - [Newtonsoft.Json.JsonPropertyAttribute("presentMatch")] - public virtual System.Nullable PresentMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("forwardingRules")] + public virtual System.Collections.Generic.IList ForwardingRules { get; set; } - /// The name of the query parameter to match. - [Newtonsoft.Json.JsonPropertyAttribute("queryParameter")] - public virtual string QueryParameter { get; set; } + /// + /// Optional. Set of labels associated with the `LbRouteExtension` resource. The format must comply with [the + /// requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google + /// Cloud resources. + /// + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// The value of the query parameter must match the regular expression specified by regex_match. For regular - /// expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, - /// regex_match, or present_match must be set. + /// Required. All backend services and forwarding rules referenced by this extension must share the same load + /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to + /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). /// - [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] - public virtual string RegexMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] + public virtual string LoadBalancingScheme { get; set; } + + /// + /// Optional. The metadata provided here is included as part of the `metadata_context` (of type + /// `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is + /// available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the + /// metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource + /// name. This field is not supported for plugin extensions and must not be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// Required. Identifier. Name of the `LbRouteExtension` resource in the following format: + /// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The specification for redirecting traffic. - public class HttpRouteRedirect : Google.Apis.Requests.IDirectResponseSchema + /// + /// `LbTrafficExtension` is a resource that lets the extension service modify the headers and payloads of both + /// requests and responses without impacting the choice of backend services or any other security policies + /// associated with the backend service. + /// + public class LbTrafficExtension : Google.Apis.Requests.IDirectResponseSchema { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Optional. A human-readable description of the resource. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + /// - /// The host that will be used in the redirect response instead of the one that was supplied in the request. + /// Required. A set of ordered extension chains that contain the match conditions and extensions to execute. + /// Match conditions for each extension chain are evaluated in sequence for a given request. The first extension + /// chain that has a condition that matches the request is executed. Any subsequent extension chains do not + /// execute. Limited to 5 extension chains per resource. /// - [Newtonsoft.Json.JsonPropertyAttribute("hostRedirect")] - public virtual string HostRedirect { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("extensionChains")] + public virtual System.Collections.Generic.IList ExtensionChains { get; set; } /// - /// If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of - /// the redirected request will remain the same as that of the request. The default is set to false. + /// Required. A list of references to the forwarding rules to which this service extension is attached to. At + /// least one forwarding rule is required. There can be only one `LBTrafficExtension` resource per forwarding + /// rule. /// - [Newtonsoft.Json.JsonPropertyAttribute("httpsRedirect")] - public virtual System.Nullable HttpsRedirect { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("forwardingRules")] + public virtual System.Collections.Generic.IList ForwardingRules { get; set; } /// - /// The path that will be used in the redirect response instead of the one that was supplied in the request. - /// path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is - /// supplied, the path of the original request will be used for the redirect. + /// Optional. Set of labels associated with the `LbTrafficExtension` resource. The format must comply with [the + /// requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google + /// Cloud resources. /// - [Newtonsoft.Json.JsonPropertyAttribute("pathRedirect")] - public virtual string PathRedirect { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// The port that will be used in the redirected request instead of the one that was supplied in the request. + /// Required. All backend services and forwarding rules referenced by this extension must share the same load + /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to + /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). /// - [Newtonsoft.Json.JsonPropertyAttribute("portRedirect")] - public virtual System.Nullable PortRedirect { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] + public virtual string LoadBalancingScheme { get; set; } /// - /// Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This - /// option allows URLs be dynamically created based on the request. + /// Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` + /// map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following + /// variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's + /// fully qualified resource name. This field is not supported for plugin extensions and must not be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("prefixRewrite")] - public virtual string PrefixRewrite { get; set; } - - /// The HTTP Status code to use for the redirect. - [Newtonsoft.Json.JsonPropertyAttribute("responseCode")] - public virtual string ResponseCode { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } /// - /// if set to true, any accompanying query portion of the original URL is removed prior to redirecting the - /// request. If set to false, the query portion of the original URL is retained. The default is set to false. + /// Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: + /// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`. /// - [Newtonsoft.Json.JsonPropertyAttribute("stripQuery")] - public virtual System.Nullable StripQuery { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not - /// wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority - /// header is suffixed with -shadow. - /// - public class HttpRouteRequestMirrorPolicy : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListEndpointPolicies method. + public class ListEndpointPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema { + /// List of EndpointPolicy resources. + [Newtonsoft.Json.JsonPropertyAttribute("endpointPolicies")] + public virtual System.Collections.Generic.IList EndpointPolicies { get; set; } + /// - /// The destination the requests will be mirrored to. The weight of the destination will be ignored. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("destination")] - public virtual HttpRouteDestination Destination { get; set; } - - /// Optional. The percentage of requests to get mirrored to the desired destination. - [Newtonsoft.Json.JsonPropertyAttribute("mirrorPercent")] - public virtual System.Nullable MirrorPercent { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The specifications for retries. - public class HttpRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListGateways method. + public class ListGatewaysResponse : Google.Apis.Requests.IDirectResponseSchema { + /// List of Gateway resources. + [Newtonsoft.Json.JsonPropertyAttribute("gateways")] + public virtual System.Collections.Generic.IList Gateways { get; set; } + /// - /// Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("numRetries")] - public virtual System.Nullable NumRetries { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// Specifies a non-zero timeout per retry attempt. - [Newtonsoft.Json.JsonPropertyAttribute("perTryTimeout")] - public virtual object PerTryTimeout { get; set; } + /// Locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response returned by the ListGrpcRoutes method. + public class ListGrpcRoutesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// List of GrpcRoute resources. + [Newtonsoft.Json.JsonPropertyAttribute("grpcRoutes")] + public virtual System.Collections.Generic.IList GrpcRoutes { get; set; } /// - /// Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a - /// retry if the destination service responds with any 5xx response code, of if the destination service does not - /// respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. - /// gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a - /// retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: - /// Proxy will retry on failures connecting to destination for example due to connection timeouts. - /// retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error - /// supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a - /// REFUSED_STREAM error code. This reset type indicates that it is safe to retry. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("retryConditions")] - public virtual System.Collections.Generic.IList RetryConditions { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The specifications for routing traffic and applying associated policies. - public class HttpRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListHttpRoutes method. + public class ListHttpRoutesResponse : Google.Apis.Requests.IDirectResponseSchema { - /// The specification for allowing client side cross-origin requests. - [Newtonsoft.Json.JsonPropertyAttribute("corsPolicy")] - public virtual HttpRouteCorsPolicy CorsPolicy { get; set; } - - /// The destination to which traffic should be forwarded. - [Newtonsoft.Json.JsonPropertyAttribute("destinations")] - public virtual System.Collections.Generic.IList Destinations { get; set; } - - /// Optional. Static HTTP Response object to be returned regardless of the request. - [Newtonsoft.Json.JsonPropertyAttribute("directResponse")] - public virtual HttpRouteHttpDirectResponse DirectResponse { get; set; } + /// List of HttpRoute resources. + [Newtonsoft.Json.JsonPropertyAttribute("httpRoutes")] + public virtual System.Collections.Generic.IList HttpRoutes { get; set; } /// - /// The specification for fault injection introduced into traffic to test the resiliency of clients to backend - /// service failure. As part of fault injection, when clients send requests to a backend service, delays can be - /// introduced on a percentage of requests before sending those requests to the backend service. Similarly - /// requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored - /// by clients that are configured with a fault_injection_policy + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] - public virtual HttpRouteFaultInjectionPolicy FaultInjectionPolicy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in - /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the - /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. - /// - [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] - public virtual object IdleTimeout { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// If set, the request is directed as configured by this field. - [Newtonsoft.Json.JsonPropertyAttribute("redirect")] - public virtual HttpRouteRedirect Redirect { get; set; } + /// Message for response to listing `LbRouteExtension` resources. + public class ListLbRouteExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of `LbRouteExtension` resources. + [Newtonsoft.Json.JsonPropertyAttribute("lbRouteExtensions")] + public virtual System.Collections.Generic.IList LbRouteExtensions { get; set; } - /// - /// The specification for modifying the headers of a matching request prior to delivery of the request to the - /// destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. - /// Conflicts between the two will not be resolved on the configuration. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requestHeaderModifier")] - public virtual HttpRouteHeaderModifier RequestHeaderModifier { get; set; } + /// A token identifying a page of results that the server returns. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored - /// destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior - /// to sending traffic to the shadow service, the host/authority header is suffixed with -shadow. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requestMirrorPolicy")] - public virtual HttpRouteRequestMirrorPolicy RequestMirrorPolicy { get; set; } + /// Locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } - /// - /// The specification for modifying the headers of a response prior to sending the response back to the client. - /// If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts - /// between the two will not be resolved on the configuration. - /// - [Newtonsoft.Json.JsonPropertyAttribute("responseHeaderModifier")] - public virtual HttpRouteHeaderModifier ResponseHeaderModifier { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// Specifies the retry policy associated with this route. - [Newtonsoft.Json.JsonPropertyAttribute("retryPolicy")] - public virtual HttpRouteRetryPolicy RetryPolicy { get; set; } + /// Message for response to listing `LbTrafficExtension` resources. + public class ListLbTrafficExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of `LbTrafficExtension` resources. + [Newtonsoft.Json.JsonPropertyAttribute("lbTrafficExtensions")] + public virtual System.Collections.Generic.IList LbTrafficExtensions { get; set; } + + /// A token identifying a page of results that the server returns. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } - /// Optional. Specifies cookie-based stateful session affinity. - [Newtonsoft.Json.JsonPropertyAttribute("statefulSessionAffinity")] - public virtual HttpRouteStatefulSessionAffinityPolicy StatefulSessionAffinity { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// - /// Specifies the timeout for selected route. Timeout is computed from the time the request has been fully - /// processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all - /// retries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeout")] - public virtual object Timeout { get; set; } + /// The response message for Locations.ListLocations. + public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of locations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } - /// The specification for rewrite URL before forwarding requests to the destination. - [Newtonsoft.Json.JsonPropertyAttribute("urlRewrite")] - public virtual HttpRouteURLRewrite UrlRewrite { get; set; } + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will - /// match if ALL type of matches are matched. - /// - public class HttpRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListMeshes method. + public class ListMeshesResponse : Google.Apis.Requests.IDirectResponseSchema { - /// - /// The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or - /// regex_match should be used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fullPathMatch")] - public virtual string FullPathMatch { get; set; } - - /// - /// Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched. - /// - [Newtonsoft.Json.JsonPropertyAttribute("headers")] - public virtual System.Collections.Generic.IList Headers { get; set; } + /// List of Mesh resources. + [Newtonsoft.Json.JsonPropertyAttribute("meshes")] + public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("ignoreCase")] - public virtual System.Nullable IgnoreCase { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only - /// one of full_path_match, prefix_match, or regex_match should be used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("prefixMatch")] - public virtual string PrefixMatch { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// - /// Specifies a list of query parameters to match against. ALL of the query parameters must be matched. - /// - [Newtonsoft.Json.JsonPropertyAttribute("queryParameters")] - public virtual System.Collections.Generic.IList QueryParameters { get; set; } + /// The response message for Operations.ListOperations. + public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// The HTTP request path value must satisfy the regular expression specified by regex_match after removing any - /// query parameters and anchor supplied with the original URL. For regular expression grammar, please see - /// https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should - /// be used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] - public virtual string RegexMatch { get; set; } + /// A list of operations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual System.Collections.Generic.IList Operations { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Specifies how to match traffic and how to route traffic when traffic is matched. - public class HttpRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListServiceBindings method. + public class ListServiceBindingsResponse : Google.Apis.Requests.IDirectResponseSchema { - /// The detailed rule defining how to route matched traffic. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual HttpRouteRouteAction Action { get; set; } - /// - /// A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is - /// independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is - /// specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add - /// a rule with no matches specified to the end of the rules list. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("matches")] - public virtual System.Collections.Generic.IList Matches { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// List of ServiceBinding resources. + [Newtonsoft.Json.JsonPropertyAttribute("serviceBindings")] + public virtual System.Collections.Generic.IList ServiceBindings { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// The specification for cookie-based stateful session affinity where the date plane supplies a “session cookie” - /// with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be - /// directed to that host as long as the destination host remains up and healthy. The gRPC proxyless mesh library or - /// sidecar proxy will manage the session cookie but the client application code is responsible for copying the - /// cookie from each RPC in the session to the next. - /// - public class HttpRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListServiceLbPolicies method. + public class ListServiceLbPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the - /// cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("cookieTtl")] - public virtual object CookieTtl { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// List of ServiceLbPolicy resources. + [Newtonsoft.Json.JsonPropertyAttribute("serviceLbPolicies")] + public virtual System.Collections.Generic.IList ServiceLbPolicies { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// The specification for modifying the URL of the request, prior to forwarding the request to the destination. - /// - public class HttpRouteURLRewrite : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListTcpRoutes method. + public class ListTcpRoutesResponse : Google.Apis.Requests.IDirectResponseSchema { /// - /// Prior to forwarding the request to the selected destination, the requests host header is replaced by this - /// value. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("hostRewrite")] - public virtual string HostRewrite { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// Prior to forwarding the request to the selected destination, the matching portion of the requests path is - /// replaced by this value. - /// - [Newtonsoft.Json.JsonPropertyAttribute("pathPrefixRewrite")] - public virtual string PathPrefixRewrite { get; set; } + /// List of TcpRoute resources. + [Newtonsoft.Json.JsonPropertyAttribute("tcpRoutes")] + public virtual System.Collections.Generic.IList TcpRoutes { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// `LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request. - /// - public class LbRouteExtension : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListTlsRoutes method. + public class ListTlsRoutesResponse : Google.Apis.Requests.IDirectResponseSchema { - private string _createTimeRaw; + /// + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - private object _createTime; + /// List of TlsRoute resources. + [Newtonsoft.Json.JsonPropertyAttribute("tlsRoutes")] + public virtual System.Collections.Generic.IList TlsRoutes { get; set; } - /// Output only. The timestamp when the resource was created. - [Newtonsoft.Json.JsonPropertyAttribute("createTime")] - public virtual string CreateTimeRaw - { - get => _createTimeRaw; - set - { - _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _createTimeRaw = value; - } - } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] - public virtual object CreateTime - { - get => _createTime; - set - { - _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _createTime = value; - } - } + /// Response returned by the `ListWasmPluginVersions` method. + public class ListWasmPluginVersionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? CreateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); - set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } + /// List of `WasmPluginVersion` resources. + [Newtonsoft.Json.JsonPropertyAttribute("wasmPluginVersions")] + public virtual System.Collections.Generic.IList WasmPluginVersions { get; set; } - /// Optional. A human-readable description of the resource. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response returned by the `ListWasmPlugins` method. + public class ListWasmPluginsResponse : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Required. A set of ordered extension chains that contain the match conditions and extensions to execute. - /// Match conditions for each extension chain are evaluated in sequence for a given request. The first extension - /// chain that has a condition that matches the request is executed. Any subsequent extension chains do not - /// execute. Limited to 5 extension chains per resource. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("extensionChains")] - public virtual System.Collections.Generic.IList ExtensionChains { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// Required. A list of references to the forwarding rules to which this service extension is attached to. At - /// least one forwarding rule is required. There can be only one `LbRouteExtension` resource per forwarding - /// rule. - /// - [Newtonsoft.Json.JsonPropertyAttribute("forwardingRules")] - public virtual System.Collections.Generic.IList ForwardingRules { get; set; } + /// List of `WasmPlugin` resources. + [Newtonsoft.Json.JsonPropertyAttribute("wasmPlugins")] + public virtual System.Collections.Generic.IList WasmPlugins { get; set; } - /// - /// Optional. Set of labels associated with the `LbRouteExtension` resource. The format must comply with [the - /// requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google - /// Cloud resources. - /// - [Newtonsoft.Json.JsonPropertyAttribute("labels")] - public virtual System.Collections.Generic.IDictionary Labels { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// - /// Required. All backend services and forwarding rules referenced by this extension must share the same load - /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to - /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). - /// - [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] - public virtual string LoadBalancingScheme { get; set; } + /// A resource that represents a Google Cloud location. + public class Location : Google.Apis.Requests.IDirectResponseSchema + { + /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } /// - /// Optional. The metadata provided here is included as part of the `metadata_context` (of type - /// `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is - /// available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the - /// metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource - /// name. + /// Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} /// + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The canonical id for this location. For example: `"us-east1"`. + [Newtonsoft.Json.JsonPropertyAttribute("locationId")] + public virtual string LocationId { get; set; } + + /// Service-specific metadata. For example the available capacity at the given location. [Newtonsoft.Json.JsonPropertyAttribute("metadata")] public virtual System.Collections.Generic.IDictionary Metadata { get; set; } /// - /// Required. Identifier. Name of the `LbRouteExtension` resource in the following format: - /// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`. + /// Resource name for the location, which may vary between implementations. For example: + /// `"projects/example-project/locations/us-east1"` /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - private string _updateTimeRaw; - - private object _updateTime; - - /// Output only. The timestamp when the resource was updated. - [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] - public virtual string UpdateTimeRaw - { - get => _updateTimeRaw; - set - { - _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _updateTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } + /// The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. + public class LoggingConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at + /// severitiy ≥ this value will be sent, unless it is NONE. + /// + [Newtonsoft.Json.JsonPropertyAttribute("logSeverity")] + public virtual string LogSeverity { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// `LbTrafficExtension` is a resource that lets the extension service modify the headers and payloads of both - /// requests and responses without impacting the choice of backend services or any other security policies - /// associated with the backend service. + /// Mesh represents a logical configuration grouping for workload to workload communication within a service mesh. + /// Routes that point to mesh dictate how requests are routed within this logical mesh boundary. /// - public class LbTrafficExtension : Google.Apis.Requests.IDirectResponseSchema + public class Mesh : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -7342,59 +8474,40 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A human-readable description of the resource. + /// Optional. A free-text description of the resource. Max length 1024 characters. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } /// - /// Required. A set of ordered extension chains that contain the match conditions and extensions to execute. - /// Match conditions for each extension chain are evaluated in sequence for a given request. The first extension - /// chain that has a condition that matches the request is executed. Any subsequent extension chains do not - /// execute. Limited to 5 extension chains per resource. + /// Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers + /// may still be injected. By default, envoy will not insert any debug headers. /// - [Newtonsoft.Json.JsonPropertyAttribute("extensionChains")] - public virtual System.Collections.Generic.IList ExtensionChains { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("envoyHeaders")] + public virtual string EnvoyHeaders { get; set; } /// - /// Required. A list of references to the forwarding rules to which this service extension is attached to. At - /// least one forwarding rule is required. There can be only one `LBTrafficExtension` resource per forwarding - /// rule. + /// Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port + /// of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port + /// regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. + /// This is applicable only for sidecar proxy deployments. /// - [Newtonsoft.Json.JsonPropertyAttribute("forwardingRules")] - public virtual System.Collections.Generic.IList ForwardingRules { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("interceptionPort")] + public virtual System.Nullable InterceptionPort { get; set; } - /// - /// Optional. Set of labels associated with the `LbTrafficExtension` resource. The format must comply with [the - /// requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google - /// Cloud resources. - /// + /// Optional. Set of label tags associated with the Mesh resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Required. All backend services and forwarding rules referenced by this extension must share the same load - /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to - /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). - /// - [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] - public virtual string LoadBalancingScheme { get; set; } - - /// - /// Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` - /// map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following - /// variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's - /// fully qualified resource name. - /// - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual System.Collections.Generic.IDictionary Metadata { get; set; } - - /// - /// Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: - /// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`. + /// Identifier. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + private string _updateTimeRaw; private object _updateTime; @@ -7411,316 +8524,270 @@ public virtual string UpdateTimeRaw } } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response returned by the ListEndpointPolicies method. - public class ListEndpointPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of EndpointPolicy resources. - [Newtonsoft.Json.JsonPropertyAttribute("endpointPolicies")] - public virtual System.Collections.Generic.IList EndpointPolicies { get; set; } - - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response returned by the ListGateways method. - public class ListGatewaysResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of Gateway resources. - [Newtonsoft.Json.JsonPropertyAttribute("gateways")] - public virtual System.Collections.Generic.IList Gateways { get; set; } - - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// Locations that could not be reached. - [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] - public virtual System.Collections.Generic.IList Unreachable { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response returned by the ListGrpcRoutes method. - public class ListGrpcRoutesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of GrpcRoute resources. - [Newtonsoft.Json.JsonPropertyAttribute("grpcRoutes")] - public virtual System.Collections.Generic.IList GrpcRoutes { get; set; } - - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response returned by the ListHttpRoutes method. - public class ListHttpRoutesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of HttpRoute resources. - [Newtonsoft.Json.JsonPropertyAttribute("httpRoutes")] - public virtual System.Collections.Generic.IList HttpRoutes { get; set; } - - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Message for response to listing `LbRouteExtension` resources. - public class ListLbRouteExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of `LbRouteExtension` resources. - [Newtonsoft.Json.JsonPropertyAttribute("lbRouteExtensions")] - public virtual System.Collections.Generic.IList LbRouteExtensions { get; set; } - - /// A token identifying a page of results that the server returns. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// Locations that could not be reached. - [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] - public virtual System.Collections.Generic.IList Unreachable { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Message for response to listing `LbTrafficExtension` resources. - public class ListLbTrafficExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of `LbTrafficExtension` resources. - [Newtonsoft.Json.JsonPropertyAttribute("lbTrafficExtensions")] - public virtual System.Collections.Generic.IList LbTrafficExtensions { get; set; } - - /// A token identifying a page of results that the server returns. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } - /// Locations that could not be reached. - [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] - public virtual System.Collections.Generic.IList Unreachable { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The response message for Locations.ListLocations. - public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema + /// This resource represents a long-running operation that is the result of a network API call. + public class Operation : Google.Apis.Requests.IDirectResponseSchema { - /// A list of locations that matches the specified filter in the request. - [Newtonsoft.Json.JsonPropertyAttribute("locations")] - public virtual System.Collections.Generic.IList Locations { get; set; } + /// + /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, + /// and either `error` or `response` is available. + /// + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } - /// The standard List next-page token. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual Status Error { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// + /// Service-specific metadata associated with the operation. It typically contains progress information and + /// common metadata such as create time. Some services might not provide such metadata. Any method that returns + /// a long-running operation should document the metadata type, if any. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } - /// Response returned by the ListMeshes method. - public class ListMeshesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of Mesh resources. - [Newtonsoft.Json.JsonPropertyAttribute("meshes")] - public virtual System.Collections.Generic.IList Meshes { get; set; } + /// + /// The server-assigned name, which is only unique within the same service that originally returns it. If you + /// use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// The normal, successful response of the operation. If the original method returns no data on success, such as + /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have + /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is + /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The response message for Operations.ListOperations. - public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema + /// Represents the metadata of the long-running operation. + public class OperationMetadata : Google.Apis.Requests.IDirectResponseSchema { - /// The standard List next-page token. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// A list of operations that matches the specified filter in the request. - [Newtonsoft.Json.JsonPropertyAttribute("operations")] - public virtual System.Collections.Generic.IList Operations { get; set; } + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + private string _createTimeRaw; - /// Response returned by the ListServiceBindings method. - public class ListServiceBindingsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + private object _createTime; - /// List of ServiceBinding resources. - [Newtonsoft.Json.JsonPropertyAttribute("serviceBindings")] - public virtual System.Collections.Generic.IList ServiceBindings { get; set; } + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } - /// Response returned by the ListServiceLbPolicies method. - public class ListServiceLbPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } - /// List of ServiceLbPolicy resources. - [Newtonsoft.Json.JsonPropertyAttribute("serviceLbPolicies")] - public virtual System.Collections.Generic.IList ServiceLbPolicies { get; set; } + private string _endTimeRaw; - /// The ETag of the item. - public virtual string ETag { get; set; } - } + private object _endTime; - /// Response returned by the ListTcpRoutes method. - public class ListTcpRoutesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual string EndTimeRaw + { + get => _endTimeRaw; + set + { + _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _endTimeRaw = value; + } + } - /// List of TcpRoute resources. - [Newtonsoft.Json.JsonPropertyAttribute("tcpRoutes")] - public virtual System.Collections.Generic.IList TcpRoutes { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] + public virtual object EndTime + { + get => _endTime; + set + { + _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _endTime = value; + } + } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? EndTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); + set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } - /// Response returned by the ListTlsRoutes method. - public class ListTlsRoutesResponse : Google.Apis.Requests.IDirectResponseSchema - { /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations that have + /// successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] + public virtual System.Nullable RequestedCancellation { get; set; } - /// List of TlsRoute resources. - [Newtonsoft.Json.JsonPropertyAttribute("tlsRoutes")] - public virtual System.Collections.Generic.IList TlsRoutes { get; set; } + /// Output only. Human-readable status of the operation, if any. + [Newtonsoft.Json.JsonPropertyAttribute("statusMessage")] + public virtual string StatusMessage { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// A resource that represents a Google Cloud location. - public class Location : Google.Apis.Requests.IDirectResponseSchema + /// + /// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A + /// `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single + /// `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A + /// `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. + /// For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical + /// expression that allows access to a resource only if the expression evaluates to `true`. A condition can add + /// constraints based on attributes of the request, the resource, or both. To learn which resources support + /// conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** + /// ``` + /// { + /// "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", + /// "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, + /// { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { + /// "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time + /// &lt; timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } + /// ``` + /// **YAML + /// example:** + /// ``` + /// bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - + /// serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - + /// members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable + /// access description: Does not grant access after Sep 2020 expression: request.time &lt; + /// timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 + /// ``` + /// For a description of IAM and its + /// features, see the [IAM documentation](https://cloud.google.com/iam/docs/). + /// + public class Policy : Google.Apis.Requests.IDirectResponseSchema { - /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } + /// Specifies cloud audit logging configuration for this policy. + [Newtonsoft.Json.JsonPropertyAttribute("auditConfigs")] + public virtual System.Collections.Generic.IList AuditConfigs { get; set; } /// - /// Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} + /// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that + /// determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one + /// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals + /// can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the + /// `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you + /// can add another 1,450 principals to the `bindings` in the `Policy`. /// - [Newtonsoft.Json.JsonPropertyAttribute("labels")] - public virtual System.Collections.Generic.IDictionary Labels { get; set; } - - /// The canonical id for this location. For example: `"us-east1"`. - [Newtonsoft.Json.JsonPropertyAttribute("locationId")] - public virtual string LocationId { get; set; } - - /// Service-specific metadata. For example the available capacity at the given location. - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("bindings")] + public virtual System.Collections.Generic.IList Bindings { get; set; } /// - /// Resource name for the location, which may vary between implementations. For example: - /// `"projects/example-project/locations/us-east1"` + /// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy + /// from overwriting each other. It is strongly suggested that systems make use of the `etag` in the + /// read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned + /// in the response to `getIamPolicy`, and systems are expected to put that etag in the request to + /// `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** + /// If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit + /// this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the + /// conditions in the version `3` policy are lost. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. + [Newtonsoft.Json.JsonPropertyAttribute("etag")] public virtual string ETag { get; set; } - } - /// The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. - public class LoggingConfig : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at - /// severitiy ≥ this value will be sent, unless it is NONE. + /// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid + /// value are rejected. Any operation that affects conditional role bindings must specify version `3`. This + /// requirement applies to the following operations: * Getting a policy that includes a conditional role binding + /// * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing + /// any role binding, with or without a condition, from a policy that includes conditions **Important:** If you + /// use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this + /// field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the + /// conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on + /// that policy may specify any valid version or leave the field unset. To learn which resources support + /// conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). /// - [Newtonsoft.Json.JsonPropertyAttribute("logSeverity")] - public virtual string LogSeverity { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual System.Nullable Version { get; set; } + } + + public class RetryFilterPerRouteConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// The name of the crypto key to use for encrypting event data. + [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] + public virtual string CryptoKeyName { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// Mesh represents a logical configuration grouping for workload to workload communication within a service mesh. - /// Routes that point to mesh dictate how requests are routed within this logical mesh boundary. + /// ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource. /// - public class Mesh : Google.Apis.Requests.IDirectResponseSchema + public class ServiceBinding : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -7763,35 +8830,31 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// - /// Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers - /// may still be injected. By default, envoy will not insert any debug headers. - /// - [Newtonsoft.Json.JsonPropertyAttribute("envoyHeaders")] - public virtual string EnvoyHeaders { get; set; } - - /// - /// Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port - /// of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port - /// regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. - /// This is applicable only for sidecar proxy deployments. - /// - [Newtonsoft.Json.JsonPropertyAttribute("interceptionPort")] - public virtual System.Nullable InterceptionPort { get; set; } - - /// Optional. Set of label tags associated with the Mesh resource. + /// Optional. Set of label tags associated with the ServiceBinding resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Identifier. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`. + /// Identifier. Name of the ServiceBinding resource. It matches pattern + /// `projects/*/locations/global/serviceBindings/service_binding_name`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + /// + /// Required. The full Service Directory Service name of the format + /// projects/*/locations/*/namespaces/*/services/* + /// + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } + + /// + /// Output only. The unique identifier of the Service Directory Service against which the Service Binding + /// resource is validated. This is populated when the Service Binding resource is used in another resource (like + /// Backend Service). This is of the UUID4 format. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serviceId")] + public virtual string ServiceId { get; set; } private string _updateTimeRaw; @@ -7834,61 +8897,24 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// This resource represents a long-running operation that is the result of a network API call. - public class Operation : Google.Apis.Requests.IDirectResponseSchema + /// + /// ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a + /// BackendService. + /// + public class ServiceLbPolicy : Google.Apis.Requests.IDirectResponseSchema { /// - /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, - /// and either `error` or `response` is available. - /// - [Newtonsoft.Json.JsonPropertyAttribute("done")] - public virtual System.Nullable Done { get; set; } - - /// The error result of the operation in case of failure or cancellation. - [Newtonsoft.Json.JsonPropertyAttribute("error")] - public virtual Status Error { get; set; } - - /// - /// Service-specific metadata associated with the operation. It typically contains progress information and - /// common metadata such as create time. Some services might not provide such metadata. Any method that returns - /// a long-running operation should document the metadata type, if any. - /// - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual System.Collections.Generic.IDictionary Metadata { get; set; } - - /// - /// The server-assigned name, which is only unique within the same service that originally returns it. If you - /// use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// The normal, successful response of the operation. If the original method returns no data on success, such as - /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard - /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have - /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is - /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend + /// Service. /// - [Newtonsoft.Json.JsonPropertyAttribute("response")] - public virtual System.Collections.Generic.IDictionary Response { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Represents the metadata of the long-running operation. - public class OperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. API version used to start the operation. - [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] - public virtual string ApiVersion { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("autoCapacityDrain")] + public virtual ServiceLbPolicyAutoCapacityDrain AutoCapacityDrain { get; set; } private string _createTimeRaw; private object _createTime; - /// Output only. The time the operation was created. + /// Output only. The timestamp when this resource was created. [Newtonsoft.Json.JsonPropertyAttribute("createTime")] public virtual string CreateTimeRaw { @@ -7921,158 +8947,162 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - private string _endTimeRaw; + /// Optional. A free-text description of the resource. Max length 1024 characters. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } - private object _endTime; + /// Optional. Configuration related to health based failover. + [Newtonsoft.Json.JsonPropertyAttribute("failoverConfig")] + public virtual ServiceLbPolicyFailoverConfig FailoverConfig { get; set; } - /// Output only. The time the operation finished running. - [Newtonsoft.Json.JsonPropertyAttribute("endTime")] - public virtual string EndTimeRaw + /// Optional. Set of label tags associated with the ServiceLbPolicy resource. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// + /// Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingAlgorithm")] + public virtual string LoadBalancingAlgorithm { get; set; } + + /// + /// Identifier. Name of the ServiceLbPolicy resource. It matches pattern + /// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when this resource was last updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw { - get => _endTimeRaw; + get => _updateTimeRaw; set { - _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _endTimeRaw = value; + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; } } - /// representation of . + /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] - public virtual object EndTime + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime { - get => _endTime; + get => _updateTime; set { - _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _endTime = value; + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; } } - /// representation of . + /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? EndTimeDateTimeOffset + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); - set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// - /// Output only. Identifies whether the user has requested cancellation of the operation. Operations that have - /// successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to - /// `Code.CANCELLED`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] - public virtual System.Nullable RequestedCancellation { get; set; } - - /// Output only. Human-readable status of the operation, if any. - [Newtonsoft.Json.JsonPropertyAttribute("statusMessage")] - public virtual string StatusMessage { get; set; } - - /// Output only. Server-defined resource path for the target of the operation. - [Newtonsoft.Json.JsonPropertyAttribute("target")] - public virtual string Target { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// Output only. Name of the verb executed by the operation. - [Newtonsoft.Json.JsonPropertyAttribute("verb")] - public virtual string Verb { get; set; } + /// + /// Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. + /// + public class ServiceLbPolicyAutoCapacityDrain : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy + /// if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in + /// draining more than 50% of the configured IGs/NEGs for the Backend Service. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enable")] + public virtual System.Nullable Enable { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A - /// `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single - /// `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A - /// `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. - /// For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical - /// expression that allows access to a resource only if the expression evaluates to `true`. A condition can add - /// constraints based on attributes of the request, the resource, or both. To learn which resources support - /// conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** - /// ``` - /// { - /// "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", - /// "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, - /// { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { - /// "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time - /// &lt; timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } - /// ``` - /// **YAML - /// example:** - /// ``` - /// bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - - /// serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - - /// members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable - /// access description: Does not grant access after Sep 2020 expression: request.time &lt; - /// timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 - /// ``` - /// For a description of IAM and its - /// features, see the [IAM documentation](https://cloud.google.com/iam/docs/). + /// Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy. /// - public class Policy : Google.Apis.Requests.IDirectResponseSchema + public class ServiceLbPolicyFailoverConfig : Google.Apis.Requests.IDirectResponseSchema { - /// Specifies cloud audit logging configuration for this policy. - [Newtonsoft.Json.JsonPropertyAttribute("auditConfigs")] - public virtual System.Collections.Generic.IList AuditConfigs { get; set; } - /// - /// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that - /// determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one - /// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals - /// can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the - /// `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you - /// can add another 1,450 principals to the `bindings` in the `Policy`. + /// Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If + /// the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover + /// backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for + /// Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others. /// - [Newtonsoft.Json.JsonPropertyAttribute("bindings")] - public virtual System.Collections.Generic.IList Bindings { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("failoverHealthThreshold")] + public virtual System.Nullable FailoverHealthThreshold { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request message for `SetIamPolicy` method. + public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema + { /// - /// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy - /// from overwriting each other. It is strongly suggested that systems make use of the `etag` in the - /// read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned - /// in the response to `getIamPolicy`, and systems are expected to put that etag in the request to - /// `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** - /// If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit - /// this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the - /// conditions in the version `3` policy are lost. + /// REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few + /// 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might + /// reject them. /// - [Newtonsoft.Json.JsonPropertyAttribute("etag")] - public virtual string ETag { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("policy")] + public virtual Policy Policy { get; set; } /// - /// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid - /// value are rejected. Any operation that affects conditional role bindings must specify version `3`. This - /// requirement applies to the following operations: * Getting a policy that includes a conditional role binding - /// * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing - /// any role binding, with or without a condition, from a policy that includes conditions **Important:** If you - /// use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this - /// field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the - /// conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on - /// that policy may specify any valid version or leave the field unset. To learn which resources support - /// conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be + /// modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` /// - [Newtonsoft.Json.JsonPropertyAttribute("version")] - public virtual System.Nullable Version { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] + public virtual object UpdateMask { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } } - public class RetryFilterPerRouteConfig : Google.Apis.Requests.IDirectResponseSchema + /// + /// The `Status` type defines a logical error model that is suitable for different programming environments, + /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains + /// three pieces of data: error code, error message, and error details. You can find out more about this error model + /// and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). + /// + public class Status : Google.Apis.Requests.IDirectResponseSchema { - /// The name of the crypto key to use for encrypting event data. - [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] - public virtual string CryptoKeyName { get; set; } + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } + + /// + /// A list of messages that carry the error details. There is a common set of message types for APIs to use. + /// + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } + + /// + /// A developer-facing error message, which should be in English. Any user-facing error message should be + /// localized and sent in the google.rpc.Status.details field, or localized by the client. + /// + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource. + /// TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource. /// - public class ServiceBinding : Google.Apis.Requests.IDirectResponseSchema + public class TcpRoute : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -8115,31 +9145,43 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// Optional. Set of label tags associated with the ServiceBinding resource. + /// + /// Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to + /// route the requests served by the gateway. Each gateway reference should match the pattern: + /// `projects/*/locations/global/gateways/` + /// + [Newtonsoft.Json.JsonPropertyAttribute("gateways")] + public virtual System.Collections.Generic.IList Gateways { get; set; } + + /// Optional. Set of label tags associated with the TcpRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Identifier. Name of the ServiceBinding resource. It matches pattern - /// `projects/*/locations/global/serviceBindings/service_binding_name`. + /// Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route + /// the requests served by the mesh. Each mesh reference should match the pattern: + /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("meshes")] + public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Required. The full Service Directory Service name of the format - /// projects/*/locations/*/namespaces/*/services/* + /// Identifier. Name of the TcpRoute resource. It matches pattern + /// `projects/*/locations/global/tcpRoutes/tcp_route_name&gt;`. /// - [Newtonsoft.Json.JsonPropertyAttribute("service")] - public virtual string Service { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// - /// Output only. The unique identifier of the Service Directory Service against which the Service Binding - /// resource is validated. This is populated when the Service Binding resource is used in another resource (like - /// Backend Service). This is of the UUID4 format. + /// Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If + /// there are multiple rules then the action taken will be the first rule to match. /// - [Newtonsoft.Json.JsonPropertyAttribute("serviceId")] - public virtual string ServiceId { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("rules")] + public virtual System.Collections.Generic.IList Rules { get; set; } + + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } private string _updateTimeRaw; @@ -8182,24 +9224,135 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a - /// BackendService. - /// - public class ServiceLbPolicy : Google.Apis.Requests.IDirectResponseSchema + /// The specifications for routing traffic and applying associated policies. + public class TcpRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The destination services to which traffic should be forwarded. At least one destination service is + /// required. Only one of route destination or original destination can be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("destinations")] + public virtual System.Collections.Generic.IList Destinations { get; set; } + + /// + /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in + /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the + /// default idle timeout is 30 seconds. If set to 0s, the timeout will be disabled. + /// + [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] + public virtual object IdleTimeout { get; set; } + + /// + /// Optional. If true, Router will use the destination IP and port of the original connection as the destination + /// of the request. Default is false. Only one of route destinations or original destination can be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("originalDestination")] + public virtual System.Nullable OriginalDestination { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describe the destination for traffic to be routed to. + public class TcpRouteRouteDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The URL of a BackendService to route traffic to. + [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] + public virtual string ServiceName { get; set; } + + /// + /// Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. + /// This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some + /// epsilon from the exact proportion defined here depending on the precision an implementation supports. If + /// only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to + /// that backend. If weights are specified for any one service name, they need to be specified for all of them. + /// If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of + /// them. + /// + [Newtonsoft.Json.JsonPropertyAttribute("weight")] + public virtual System.Nullable Weight { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for + /// evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. + /// + public class TcpRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix + /// length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). + /// Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. + /// "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" + /// - matches against any IP address'. + /// + [Newtonsoft.Json.JsonPropertyAttribute("address")] + public virtual string Address { get; set; } + + /// Required. Specifies the destination port to match against. + [Newtonsoft.Json.JsonPropertyAttribute("port")] + public virtual string Port { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Specifies how to match traffic and how to route traffic when traffic is matched. + public class TcpRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The detailed rule defining how to route matched traffic. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual TcpRouteRouteAction Action { get; set; } + + /// + /// Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types + /// are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match + /// traffic. + /// + [Newtonsoft.Json.JsonPropertyAttribute("matches")] + public virtual System.Collections.Generic.IList Matches { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `TestIamPermissions` method. + public class TestIamPermissionsRequest : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend - /// Service. + /// The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) + /// are not allowed. For more information see [IAM + /// Overview](https://cloud.google.com/iam/docs/overview#permissions). /// - [Newtonsoft.Json.JsonPropertyAttribute("autoCapacityDrain")] - public virtual ServiceLbPolicyAutoCapacityDrain AutoCapacityDrain { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for `TestIamPermissions` method. + public class TestIamPermissionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes. + public class TlsRoute : Google.Apis.Requests.IDirectResponseSchema + { private string _createTimeRaw; private object _createTime; - /// Output only. The timestamp when this resource was created. + /// Output only. The timestamp when the resource was created. [Newtonsoft.Json.JsonPropertyAttribute("createTime")] public virtual string CreateTimeRaw { @@ -8236,32 +9389,49 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// Optional. Configuration related to health based failover. - [Newtonsoft.Json.JsonPropertyAttribute("failoverConfig")] - public virtual ServiceLbPolicyFailoverConfig FailoverConfig { get; set; } + /// + /// Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to + /// route the requests served by the gateway. Each gateway reference should match the pattern: + /// `projects/*/locations/global/gateways/` + /// + [Newtonsoft.Json.JsonPropertyAttribute("gateways")] + public virtual System.Collections.Generic.IList Gateways { get; set; } - /// Optional. Set of label tags associated with the ServiceLbPolicy resource. + /// Optional. Set of label tags associated with the TlsRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION. + /// Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route + /// the requests served by the mesh. Each mesh reference should match the pattern: + /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR /// - [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingAlgorithm")] - public virtual string LoadBalancingAlgorithm { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("meshes")] + public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Required. Name of the ServiceLbPolicy resource. It matches pattern - /// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. + /// Identifier. Name of the TlsRoute resource. It matches pattern + /// `projects/*/locations/global/tlsRoutes/tls_route_name&gt;`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If + /// there are multiple rules then the action taken will be the first rule to match. + /// + [Newtonsoft.Json.JsonPropertyAttribute("rules")] + public virtual System.Collections.Generic.IList Rules { get; set; } + + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + private string _updateTimeRaw; private object _updateTime; - /// Output only. The timestamp when this resource was last updated. + /// Output only. The timestamp when the resource was updated. [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] public virtual string UpdateTimeRaw { @@ -8298,96 +9468,108 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. - /// - public class ServiceLbPolicyAutoCapacityDrain : Google.Apis.Requests.IDirectResponseSchema + /// The specifications for routing traffic and applying associated policies. + public class TlsRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy - /// if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in - /// draining more than 50% of the configured IGs/NEGs for the Backend Service. + /// Required. The destination services to which traffic should be forwarded. At least one destination service is + /// required. /// - [Newtonsoft.Json.JsonPropertyAttribute("enable")] - public virtual System.Nullable Enable { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("destinations")] + public virtual System.Collections.Generic.IList Destinations { get; set; } + + /// + /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in + /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the + /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. + /// + [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] + public virtual object IdleTimeout { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy. - /// - public class ServiceLbPolicyFailoverConfig : Google.Apis.Requests.IDirectResponseSchema + /// Describe the destination for traffic to be routed to. + public class TlsRouteRouteDestination : Google.Apis.Requests.IDirectResponseSchema { + /// Required. The URL of a BackendService to route traffic to. + [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] + public virtual string ServiceName { get; set; } + /// - /// Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If - /// the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover - /// backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for - /// Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others. + /// Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name + /// field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need + /// to sum up to 100. /// - [Newtonsoft.Json.JsonPropertyAttribute("failoverHealthThreshold")] - public virtual System.Nullable FailoverHealthThreshold { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("weight")] + public virtual System.Nullable Weight { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Request message for `SetIamPolicy` method. - public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema + /// + /// RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for + /// evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. + /// + public class TlsRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema { /// - /// REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few - /// 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might - /// reject them. + /// Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At + /// least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("policy")] - public virtual Policy Policy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("alpn")] + public virtual System.Collections.Generic.IList Alpn { get; set; } /// - /// OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be - /// modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` + /// Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, + /// i.e. `www.example.com` will be first matched against `www.example.com`, then `*.example.com`, then `*.com.` + /// Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host + /// and alpn is required. Up to 100 sni hosts across all matches can be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] - public virtual object UpdateMask { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("sniHost")] + public virtual System.Collections.Generic.IList SniHost { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// The `Status` type defines a logical error model that is suitable for different programming environments, - /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains - /// three pieces of data: error code, error message, and error details. You can find out more about this error model - /// and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). - /// - public class Status : Google.Apis.Requests.IDirectResponseSchema + /// Specifies how to match traffic and how to route traffic when traffic is matched. + public class TlsRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema { - /// The status code, which should be an enum value of google.rpc.Code. - [Newtonsoft.Json.JsonPropertyAttribute("code")] - public virtual System.Nullable Code { get; set; } + /// Required. The detailed rule defining how to route matched traffic. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual TlsRouteRouteAction Action { get; set; } /// - /// A list of messages that carry the error details. There is a common set of message types for APIs to use. + /// Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types + /// are "OR"ed for evaluation. /// - [Newtonsoft.Json.JsonPropertyAttribute("details")] - public virtual System.Collections.Generic.IList> Details { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("matches")] + public virtual System.Collections.Generic.IList Matches { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Specification of a port-based selector. + public class TrafficPortSelector : Google.Apis.Requests.IDirectResponseSchema + { /// - /// A developer-facing error message, which should be in English. Any user-facing error message should be - /// localized and sent in the google.rpc.Status.details field, or localized by the client. + /// Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 + /// to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are + /// selected. /// - [Newtonsoft.Json.JsonPropertyAttribute("message")] - public virtual string Message { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("ports")] + public virtual System.Collections.Generic.IList Ports { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource. - /// - public class TcpRoute : Google.Apis.Requests.IDirectResponseSchema + /// `WasmPlugin` is a resource representing a service executing a customer-provided Wasm module. + public class WasmPlugin : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -8426,47 +9608,38 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A free-text description of the resource. Max length 1024 characters. + /// Optional. A human-readable description of the resource. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } /// - /// Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to - /// route the requests served by the gateway. Each gateway reference should match the pattern: - /// `projects/*/locations/global/gateways/` + /// Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the + /// following requirements](/compute/docs/labeling-resources#requirements). /// - [Newtonsoft.Json.JsonPropertyAttribute("gateways")] - public virtual System.Collections.Generic.IList Gateways { get; set; } - - /// Optional. Set of label tags associated with the TcpRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route - /// the requests served by the mesh. Each mesh reference should match the pattern: - /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR + /// Optional. Specifies the logging options for the activity performed by this `WasmPlugin`. If logging is + /// enabled, plugin logs are exported to Cloud Logging. Note that the settings relate to the logs generated by + /// using logging statements in your Wasm code. /// - [Newtonsoft.Json.JsonPropertyAttribute("meshes")] - public virtual System.Collections.Generic.IList Meshes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("logConfig")] + public virtual WasmPluginLogConfig LogConfig { get; set; } /// - /// Identifier. Name of the TcpRoute resource. It matches pattern - /// `projects/*/locations/global/tcpRoutes/tcp_route_name&gt;`. + /// Optional. The ID of the `WasmPluginVersion` resource that is the currently serving one. The version referred + /// to must be a child of this `WasmPlugin` resource. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("mainVersionId")] + public virtual string MainVersionId { get; set; } /// - /// Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If - /// there are multiple rules then the action taken will be the first rule to match. + /// Identifier. Name of the `WasmPlugin` resource in the following format: + /// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`. /// - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } - - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } private string _updateTimeRaw; @@ -8502,136 +9675,85 @@ public virtual object UpdateTime public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The specifications for routing traffic and applying associated policies. - public class TcpRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. The destination services to which traffic should be forwarded. At least one destination service is - /// required. Only one of route destination or original destination can be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("destinations")] - public virtual System.Collections.Generic.IList Destinations { get; set; } - - /// - /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in - /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the - /// default idle timeout is 30 seconds. If set to 0s, the timeout will be disabled. - /// - [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] - public virtual object IdleTimeout { get; set; } - - /// - /// Optional. If true, Router will use the destination IP and port of the original connection as the destination - /// of the request. Default is false. Only one of route destinations or original destination can be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("originalDestination")] - public virtual System.Nullable OriginalDestination { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } - /// Describe the destination for traffic to be routed to. - public class TcpRouteRouteDestination : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The URL of a BackendService to route traffic to. - [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] - public virtual string ServiceName { get; set; } + /// + /// Output only. List of all [Service Extensions](https://cloud.google.com/service-extensions/docs/overview) + /// that use this `WasmPlugin`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("usedBy")] + public virtual System.Collections.Generic.IList UsedBy { get; set; } /// - /// Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. - /// This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some - /// epsilon from the exact proportion defined here depending on the precision an implementation supports. If - /// only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to - /// that backend. If weights are specified for any one service name, they need to be specified for all of them. - /// If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of - /// them. + /// Optional. All versions of this `WasmPlugin` in the key-value format. The key is the resource ID, the value + /// is the `VersionDetails`. Allows to create or update `WasmPlugin` and its WasmPluginVersions in a single + /// request. When the `main_version_id` field is not empty it must point to one of the VersionDetails in the + /// map. If provided in the update request, the new versions replace the previous set. Any version omitted from + /// the `versions` will be removed. Since the `WasmPluginVersion` resource is immutable, if the + /// WasmPluginVersion with the same name already exists and differs the Update request will fail. Note: In the + /// GET request, this field is populated only if the GetWasmPluginRequest.view is set to WASM_PLUGIN_VIEW_FULL. /// - [Newtonsoft.Json.JsonPropertyAttribute("weight")] - public virtual System.Nullable Weight { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("versions")] + public virtual System.Collections.Generic.IDictionary Versions { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for - /// evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. + /// Specifies the logging options for the activity performed by this `WasmPlugin`. If logging is enabled, plugin + /// logs are exported to Cloud Logging. /// - public class TcpRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema + public class WasmPluginLogConfig : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix - /// length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). - /// Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. - /// "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - /// - matches against any IP address'. + /// Optional. Specifies whether to enable logging for activity by this `WasmPlugin`. Defaults to `false`. /// - [Newtonsoft.Json.JsonPropertyAttribute("address")] - public virtual string Address { get; set; } - - /// Required. Specifies the destination port to match against. - [Newtonsoft.Json.JsonPropertyAttribute("port")] - public virtual string Port { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specifies how to match traffic and how to route traffic when traffic is matched. - public class TcpRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The detailed rule defining how to route matched traffic. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual TcpRouteRouteAction Action { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("enable")] + public virtual System.Nullable Enable { get; set; } /// - /// Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types - /// are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match - /// traffic. + /// Non-empty default. Specificies the lowest level of the plugin logs that are exported to Cloud Logging. This + /// setting relates to the logs generated by using logging statements in your Wasm code. This field is can be + /// set only if logging is enabled for the `WasmPlugin` resource. If the field is not provided when logging is + /// enabled, it is set to `INFO` by default. /// - [Newtonsoft.Json.JsonPropertyAttribute("matches")] - public virtual System.Collections.Generic.IList Matches { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } + [Newtonsoft.Json.JsonPropertyAttribute("minLogLevel")] + public virtual string MinLogLevel { get; set; } - /// Request message for `TestIamPermissions` method. - public class TestIamPermissionsRequest : Google.Apis.Requests.IDirectResponseSchema - { /// - /// The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) - /// are not allowed. For more information see [IAM - /// Overview](https://cloud.google.com/iam/docs/overview#permissions). + /// Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is + /// reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates + /// that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value + /// of the field must be between `0` and `1` (inclusive). This field can only be specified if logging is enabled + /// for this `WasmPlugin`. /// - [Newtonsoft.Json.JsonPropertyAttribute("permissions")] - public virtual System.Collections.Generic.IList Permissions { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("sampleRate")] + public virtual System.Nullable SampleRate { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Response message for `TestIamPermissions` method. - public class TestIamPermissionsResponse : Google.Apis.Requests.IDirectResponseSchema + /// Defines a resource that uses the `WasmPlugin`. + public class WasmPluginUsedBy : Google.Apis.Requests.IDirectResponseSchema { - /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed. - [Newtonsoft.Json.JsonPropertyAttribute("permissions")] - public virtual System.Collections.Generic.IList Permissions { get; set; } + /// + /// Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. + /// `//networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes. - public class TlsRoute : Google.Apis.Requests.IDirectResponseSchema + /// + /// A single immutable version of a `WasmPlugin`. Defines the Wasm module used and optionally its runtime config. + /// + public class WasmPluginVersion : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -8670,47 +9792,61 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A free-text description of the resource. Max length 1024 characters. + /// Optional. A human-readable description of the resource. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } /// - /// Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to - /// route the requests served by the gateway. Each gateway reference should match the pattern: - /// `projects/*/locations/global/gateways/` + /// Output only. The resolved digest for the image specified in `image`. The digest is resolved during the + /// creation of `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or + /// digest was originally specified in the `image` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("gateways")] - public virtual System.Collections.Generic.IList Gateways { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("imageDigest")] + public virtual string ImageDigest { get; set; } - /// Optional. Set of label tags associated with the TlsRoute resource. + /// + /// Optional. URI of the container image containing the Wasm plugin, stored in the Artifact Registry. When a new + /// `WasmPluginVersion` resource is created, the digest of the container image is saved in the `image_digest` + /// field. When downloading an image, the digest value is used instead of an image tag. + /// + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } + + /// Optional. Set of labels associated with the `WasmPluginVersion` resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route - /// the requests served by the mesh. Each mesh reference should match the pattern: - /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR + /// Identifier. Name of the `WasmPluginVersion` resource in the following format: + /// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/ versions/{wasm_plugin_version}`. /// - [Newtonsoft.Json.JsonPropertyAttribute("meshes")] - public virtual System.Collections.Generic.IList Meshes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// - /// Identifier. Name of the TlsRoute resource. It matches pattern - /// `projects/*/locations/global/tlsRoutes/tls_route_name&gt;`. + /// Configuration for the Wasm plugin. The configuration is provided to the Wasm plugin at runtime through the + /// `ON_CONFIGURE` callback. When a new `WasmPluginVersion` resource is created, the digest of the contents is + /// saved in the `plugin_config_digest` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigData")] + public virtual string PluginConfigData { get; set; } /// - /// Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If - /// there are multiple rules then the action taken will be the first rule to match. + /// Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is + /// calculated based on the contents of the `plugin_config_data` or the container image defined by the + /// `plugin_config_uri` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigDigest")] + public virtual string PluginConfigDigest { get; set; } - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + /// + /// URI of the Wasm plugin configuration stored in the Artifact Registry. The configuration is provided to the + /// plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single file + /// with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the + /// container image is saved in the `plugin_config_digest` field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigUri")] + public virtual string PluginConfigUri { get; set; } private string _updateTimeRaw; @@ -8753,101 +9889,131 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// The specifications for routing traffic and applying associated policies. - public class TlsRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + /// Details of a `WasmPluginVersion` resource to be inlined in the `WasmPlugin` resource. + public class WasmPluginVersionDetails : Google.Apis.Requests.IDirectResponseSchema { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Optional. A human-readable description of the resource. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + /// - /// Required. The destination services to which traffic should be forwarded. At least one destination service is - /// required. + /// Output only. The resolved digest for the image specified in `image`. The digest is resolved during the + /// creation of a `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or + /// digest was originally specified in the `image` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("destinations")] - public virtual System.Collections.Generic.IList Destinations { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("imageDigest")] + public virtual string ImageDigest { get; set; } /// - /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in - /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the - /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. + /// Optional. URI of the container image containing the Wasm module, stored in the Artifact Registry. The + /// container image must contain only a single file with the name `plugin.wasm`. When a new `WasmPluginVersion` + /// resource is created, the URI gets resolved to an image digest and saved in the `image_digest` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] - public virtual object IdleTimeout { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } - /// Describe the destination for traffic to be routed to. - public class TlsRouteRouteDestination : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The URL of a BackendService to route traffic to. - [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] - public virtual string ServiceName { get; set; } + /// Optional. Set of labels associated with the `WasmPluginVersion` resource. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name - /// field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need - /// to sum up to 100. + /// Configuration for the Wasm plugin. The configuration is provided to the Wasm plugin at runtime through the + /// `ON_CONFIGURE` callback. When a new `WasmPluginVersion` version is created, the digest of the contents is + /// saved in the `plugin_config_digest` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("weight")] - public virtual System.Nullable Weight { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigData")] + public virtual string PluginConfigData { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for - /// evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. - /// - public class TlsRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At - /// least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. + /// Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is + /// calculated based on the contents of the `plugin_config_data` or the container image defined by the + /// `plugin_config_uri` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("alpn")] - public virtual System.Collections.Generic.IList Alpn { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigDigest")] + public virtual string PluginConfigDigest { get; set; } /// - /// Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, - /// i.e. `www.example.com` will be first matched against `www.example.com`, then `*.example.com`, then `*.com.` - /// Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host - /// and alpn is required. Up to 100 sni hosts across all matches can be set. + /// URI of the WasmPlugin configuration stored in the Artifact Registry. The configuration is provided to the + /// Wasm plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single + /// file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the + /// container image is saved in the `plugin_config_digest` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("sniHost")] - public virtual System.Collections.Generic.IList SniHost { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigUri")] + public virtual string PluginConfigUri { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + private string _updateTimeRaw; - /// Specifies how to match traffic and how to route traffic when traffic is matched. - public class TlsRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The detailed rule defining how to route matched traffic. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual TlsRouteRouteAction Action { get; set; } + private object _updateTime; - /// - /// Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types - /// are "OR"ed for evaluation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("matches")] - public virtual System.Collections.Generic.IList Matches { get; set; } + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } - /// Specification of a port-based selector. - public class TrafficPortSelector : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 - /// to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are - /// selected. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ports")] - public virtual System.Collections.Generic.IList Ports { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } diff --git a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj index 3c9137cc7ab..769e5459674 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj +++ b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkServices.v1 Client Library - 1.68.0.3549 + 1.68.0.3570 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.cs b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.cs index a8c54cced2d..bff0e299f26 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.cs @@ -305,6 +305,7 @@ public LocationsResource(Google.Apis.Services.IClientService service) ServiceLbPolicies = new ServiceLbPoliciesResource(service); TcpRoutes = new TcpRoutesResource(service); TlsRoutes = new TlsRoutesResource(service); + WasmPlugins = new WasmPluginsResource(service); } /// Gets the AuthzExtensions resource. @@ -4143,7 +4144,7 @@ protected override void InitParameters() /// Updates the parameters of a single ServiceLbPolicy. /// The body of the request. /// - /// Required. Name of the ServiceLbPolicy resource. It matches pattern + /// Identifier. Name of the ServiceLbPolicy resource. It matches pattern /// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. /// public virtual PatchRequest Patch(Google.Apis.NetworkServices.v1beta1.Data.ServiceLbPolicy body, string name) @@ -4163,7 +4164,7 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Net } /// - /// Required. Name of the ServiceLbPolicy resource. It matches pattern + /// Identifier. Name of the ServiceLbPolicy resource. It matches pattern /// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] @@ -4905,155 +4906,1297 @@ protected override void InitParameters() } } - /// Gets information about a location. - /// Resource name for the location. - public virtual GetRequest Get(string name) - { - return new GetRequest(this.service, name); - } + /// Gets the WasmPlugins resource. + public virtual WasmPluginsResource WasmPlugins { get; } - /// Gets information about a location. - public class GetRequest : NetworkServicesBaseServiceRequest + /// The "wasmPlugins" collection of methods. + public class WasmPluginsResource { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + private const string Resource = "wasmPlugins"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public WasmPluginsResource(Google.Apis.Services.IClientService service) { - Name = name; - InitParameters(); + this.service = service; + Versions = new VersionsResource(service); } - /// Resource name for the location. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } + /// Gets the Versions resource. + public virtual VersionsResource Versions { get; } - /// Gets the method name. - public override string MethodName => "get"; + /// The "versions" collection of methods. + public class VersionsResource + { + private const string Resource = "versions"; - /// Gets the HTTP method. - public override string HttpMethod => "GET"; + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; - /// Gets the REST path. - public override string RestPath => "v1beta1/{+name}"; + /// Constructs a new resource. + public VersionsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + /// Creates a new `WasmPluginVersion` resource in a given project and location. + /// The body of the request. + /// + /// Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + public virtual CreateRequest Create(Google.Apis.NetworkServices.v1beta1.Data.WasmPluginVersion body, string parent) { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+$", - }); - } - } + return new CreateRequest(this.service, body, parent); + } - /// Lists information about the supported locations for this service. - /// The resource that owns the locations collection, if applicable. - public virtual ListRequest List(string name) - { - return new ListRequest(this.service, name); - } + /// Creates a new `WasmPluginVersion` resource in a given project and location. + public class CreateRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.NetworkServices.v1beta1.Data.WasmPluginVersion body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. User-provided ID of the `WasmPluginVersion` resource to be created. + /// + [Google.Apis.Util.RequestParameterAttribute("wasmPluginVersionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string WasmPluginVersionId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.NetworkServices.v1beta1.Data.WasmPluginVersion Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+parent}/versions"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + RequestParameters.Add("wasmPluginVersionId", new Google.Apis.Discovery.Parameter + { + Name = "wasmPluginVersionId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } - /// Lists information about the supported locations for this service. - public class ListRequest : NetworkServicesBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) + /// Deletes the specified `WasmPluginVersion` resource. + /// + /// Required. A name of the `WasmPluginVersion` resource to delete. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes the specified `WasmPluginVersion` resource. + public class DeleteRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. A name of the `WasmPluginVersion` resource to delete. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+$", + }); + } + } + + /// Gets details of the specified `WasmPluginVersion` resource. + /// + /// Required. A name of the `WasmPluginVersion` resource to get. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets details of the specified `WasmPluginVersion` resource. + public class GetRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. A name of the `WasmPluginVersion` resource to get. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+$", + }); + } + } + + /// Lists `WasmPluginVersion` resources in a given project and location. + /// + /// Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the + /// following format: `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists `WasmPluginVersion` resources in a given project and location. + public class ListRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the + /// following format: `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Maximum number of `WasmPluginVersion` resources to return per call. If not specified, at + /// most 50 `WasmPluginVersion`s are returned. The maximum value is 1000; values above 1000 are + /// coerced to 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// The value returned by the last `ListWasmPluginVersionsResponse` call. Indicates that this is + /// a continuation of a prior `ListWasmPluginVersions` call, and that the next page of data is + /// to be returned. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+parent}/versions"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Creates a new `WasmPlugin` resource in a given project and location. + /// The body of the request. + /// + /// Required. The parent resource of the `WasmPlugin` resource. Must be in the format + /// `projects/{project}/locations/global`. + /// + public virtual CreateRequest Create(Google.Apis.NetworkServices.v1beta1.Data.WasmPlugin body, string parent) { - Name = name; - InitParameters(); + return new CreateRequest(this.service, body, parent); } - /// The resource that owns the locations collection, if applicable. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } + /// Creates a new `WasmPlugin` resource in a given project and location. + public class CreateRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.NetworkServices.v1beta1.Data.WasmPlugin body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } - /// - /// A filter to narrow down results to a preferred subset. The filtering language accepts strings like - /// `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } + /// + /// Required. The parent resource of the `WasmPlugin` resource. Must be in the format + /// `projects/{project}/locations/global`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } - /// - /// The maximum number of results to return. If not set, the service selects a default. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } + /// Required. User-provided ID of the `WasmPlugin` resource to be created. + [Google.Apis.Util.RequestParameterAttribute("wasmPluginId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string WasmPluginId { get; set; } - /// - /// A page token received from the `next_page_token` field in the response. Send that page token to - /// receive the subsequent page. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } + /// Gets or sets the body of this request. + Google.Apis.NetworkServices.v1beta1.Data.WasmPlugin Body { get; set; } - /// Gets the method name. - public override string MethodName => "list"; + /// Returns the body of the request. + protected override object GetBody() => Body; - /// Gets the HTTP method. - public override string HttpMethod => "GET"; + /// Gets the method name. + public override string MethodName => "create"; - /// Gets the REST path. - public override string RestPath => "v1beta1/{+name}/locations"; + /// Gets the HTTP method. + public override string HttpMethod => "POST"; - /// Initializes List parameter list. - protected override void InitParameters() + /// Gets the REST path. + public override string RestPath => "v1beta1/{+parent}/wasmPlugins"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("wasmPluginId", new Google.Apis.Discovery.Parameter + { + Name = "wasmPluginId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes the specified `WasmPlugin` resource. + /// + /// Required. A name of the `WasmPlugin` resource to delete. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + public virtual DeleteRequest Delete(string name) { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + return new DeleteRequest(this.service, name); + } + + /// Deletes the specified `WasmPlugin` resource. + public class DeleteRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+$", - }); - RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + Name = name; + InitParameters(); + } + + /// + /// Required. A name of the `WasmPlugin` resource to delete. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() { - Name = "filter", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + } + } + + /// Gets details of the specified `WasmPlugin` resource. + /// + /// Required. A name of the `WasmPlugin` resource to get. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets details of the specified `WasmPlugin` resource. + public class GetRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) { - Name = "pageSize", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + Name = name; + InitParameters(); + } + + /// + /// Required. A name of the `WasmPlugin` resource to get. Must be in the format + /// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Determine how much data should be returned by the API. See + /// [AIP-157](https://google.aip.dev/157). + /// + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } + + /// + /// Determine how much data should be returned by the API. See + /// [AIP-157](https://google.aip.dev/157). + /// + public enum ViewEnum { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - } -} -namespace Google.Apis.NetworkServices.v1beta1.Data -{ + /// The default / unset value. The API will default to the BASIC view. + [Google.Apis.Util.StringValueAttribute("WASM_PLUGIN_VIEW_UNSPECIFIED")] + WASMPLUGINVIEWUNSPECIFIED = 0, + + /// Include just WasmPlugin record. + [Google.Apis.Util.StringValueAttribute("WASM_PLUGIN_VIEW_BASIC")] + WASMPLUGINVIEWBASIC = 1, + + /// Include WasmPlugin record and all its WasmPluginVersions. + [Google.Apis.Util.StringValueAttribute("WASM_PLUGIN_VIEW_FULL")] + WASMPLUGINVIEWFULL = 2, + } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Lists `WasmPlugin` resources in a given project and location. + /// + /// Required. The project and location from which the `WasmPlugin` resources are listed, specified in + /// the following format: `projects/{project}/locations/global`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists `WasmPlugin` resources in a given project and location. + public class ListRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The project and location from which the `WasmPlugin` resources are listed, specified + /// in the following format: `projects/{project}/locations/global`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Maximum number of `WasmPlugin` resources to return per call. If not specified, at most 50 + /// `WasmPlugin`s are returned. The maximum value is 1000; values above 1000 are coerced to 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// The value returned by the last `ListWasmPluginsResponse` call. Indicates that this is a + /// continuation of a prior `ListWasmPlugins` call, and that the next page of data is to be + /// returned. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+parent}/wasmPlugins"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Updates the parameters of the specified `WasmPlugin` resource. + /// The body of the request. + /// + /// Identifier. Name of the `WasmPlugin` resource in the following format: + /// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`. + /// + public virtual PatchRequest Patch(Google.Apis.NetworkServices.v1beta1.Data.WasmPlugin body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Updates the parameters of the specified `WasmPlugin` resource. + public class PatchRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.NetworkServices.v1beta1.Data.WasmPlugin body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Identifier. Name of the `WasmPlugin` resource in the following format: + /// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Used to specify the fields to be overwritten in the `WasmPlugin` resource by the + /// update. The fields specified in the `update_mask` field are relative to the resource, not the + /// full request. An omitted `update_mask` field is treated as an implied `update_mask` field + /// equivalent to all fields that are populated (that have a non-empty value). The `update_mask` + /// field supports a special value `*`, which means that each field in the given `WasmPlugin` + /// resource (including the empty ones) replaces the current value. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.NetworkServices.v1beta1.Data.WasmPlugin Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Gets information about a location. + /// Resource name for the location. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets information about a location. + public class GetRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Resource name for the location. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } + + /// Lists information about the supported locations for this service. + /// The resource that owns the locations collection, if applicable. + public virtual ListRequest List(string name) + { + return new ListRequest(this.service, name); + } + + /// Lists information about the supported locations for this service. + public class ListRequest : NetworkServicesBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The resource that owns the locations collection, if applicable. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// A filter to narrow down results to a preferred subset. The filtering language accepts strings like + /// `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// The maximum number of results to return. If not set, the service selects a default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// A page token received from the `next_page_token` field in the response. Send that page token to + /// receive the subsequent page. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+name}/locations"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + } +} +namespace Google.Apis.NetworkServices.v1beta1.Data +{ + /// + /// `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an + /// authorization decision. + /// + public class AuthzExtension : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + /// + [Newtonsoft.Json.JsonPropertyAttribute("authority")] + public virtual string Authority { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Optional. A human-readable description of the resource. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// + /// Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to + /// `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension + /// chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following + /// happens: * If response headers have not been delivered to the downstream client, a generic 500 error is + /// returned to the client. The error response can be tailored by configuring a custom error response in the + /// load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is + /// reset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("failOpen")] + public virtual System.Nullable FailOpen { get; set; } + + /// + /// Optional. List of the HTTP headers to forward to the extension (from the client). If omitted, all headers + /// are sent. Each element is a string indicating the header name. + /// + [Newtonsoft.Json.JsonPropertyAttribute("forwardHeaders")] + public virtual System.Collections.Generic.IList ForwardHeaders { get; set; } + + /// + /// Optional. Set of labels associated with the `AuthzExtension` resource. The format must comply with [the + /// requirements for labels](/compute/docs/labeling-resources#requirements) for Google Cloud resources. + /// + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// + /// Required. All backend services and forwarding rules referenced by this extension must share the same load + /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to + /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). + /// + [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] + public virtual string LoadBalancingScheme { get; set; } + + /// + /// Optional. The metadata provided here is included as part of the `metadata_context` (of type + /// `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is + /// available under the namespace `com.google.authz_extension.`. The following variables are supported in the + /// metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource + /// name. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// Required. Identifier. Name of the `AuthzExtension` resource in the following format: + /// `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Required. The reference to the service that runs the extension. To configure a callout extension, `service` + /// must be a fully-qualified reference to a [backend + /// service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: + /// `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` + /// or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } + + /// + /// Required. Specifies the timeout for each individual message on the stream. The timeout must be between + /// 10-10000 milliseconds. + /// + [Newtonsoft.Json.JsonPropertyAttribute("timeout")] + public virtual object Timeout { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Optional. The format of communication supported by the callout extension. If not specified, the default is + /// `EXT_PROC_GRPC`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("wireFormat")] + public virtual string WireFormat { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Operations.CancelOperation. + public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical + /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc + /// Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + public class Empty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A definition of a matcher that selects endpoints to which the policies should be applied. + public class EndpointMatcher : Google.Apis.Requests.IDirectResponseSchema + { + /// The matcher is based on node metadata presented by xDS clients. + [Newtonsoft.Json.JsonPropertyAttribute("metadataLabelMatcher")] + public virtual MetadataLabelMatcher MetadataLabelMatcher { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific + /// criteria. For example, this resource can be used to apply "authentication config" an all endpoints that serve on + /// port 8080. + /// + public class EndpointPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies + /// to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, + /// authorization is disabled(no authz checks) for this endpoint. + /// + [Newtonsoft.Json.JsonPropertyAttribute("authorizationPolicy")] + public virtual string AuthorizationPolicy { get; set; } + + /// + /// Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the + /// authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the + /// outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy + /// identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint + /// requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when + /// EndpointPolicyType is SIDECAR_PROXY. + /// + [Newtonsoft.Json.JsonPropertyAttribute("clientTlsPolicy")] + public virtual string ClientTlsPolicy { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Optional. A free-text description of the resource. Max length 1024 characters. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Required. A matcher that selects endpoints to which the policies should be applied. + [Newtonsoft.Json.JsonPropertyAttribute("endpointMatcher")] + public virtual EndpointMatcher EndpointMatcher { get; set; } + + /// Optional. Set of label tags associated with the EndpointPolicy resource. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// + /// Identifier. Name of the EndpointPolicy resource. It matches pattern + /// `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the + /// authentication policy to be applied to terminate the inbound traffic at the identified backends. If this + /// field is not set, authentication is disabled(open) for this endpoint. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serverTlsPolicy")] + public virtual string ServerTlsPolicy { get; set; } + + /// + /// Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is + /// applied to all ports. + /// + [Newtonsoft.Json.JsonPropertyAttribute("trafficPortSelector")] + public virtual TrafficPortSelector TrafficPortSelector { get; set; } + + /// + /// Required. The type of endpoint policy. This is primarily used to validate the configuration. + /// + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// A single extension chain wrapper that contains the match conditions and extensions to execute. + /// + public class ExtensionChain : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. A set of extensions to execute for the matching request. At least one extension is required. Up to + /// 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension` + /// chains are limited to 1 extension per extension chain. + /// + [Newtonsoft.Json.JsonPropertyAttribute("extensions")] + public virtual System.Collections.Generic.IList Extensions { get; set; } + + /// Required. Conditions under which this chain is invoked for a request. + [Newtonsoft.Json.JsonPropertyAttribute("matchCondition")] + public virtual ExtensionChainMatchCondition MatchCondition { get; set; } + + /// + /// Required. The name for this extension chain. The name is logged as part of the HTTP request logs. The name + /// must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a + /// maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or + /// a number. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A single extension in the chain to execute for the matching request. + public class ExtensionChainExtension : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for + /// Callout extensions. This field is not supported for plugin extensions and must not be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("authority")] + public virtual string Authority { get; set; } + + /// + /// Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to + /// `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension + /// chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following + /// happens: * If response headers have not been delivered to the downstream client, a generic 500 error is + /// returned to the client. The error response can be tailored by configuring a custom error response in the + /// load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is + /// reset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("failOpen")] + public virtual System.Nullable FailOpen { get; set; } + + /// + /// Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all + /// headers are sent. Each element is a string indicating the header name. + /// + [Newtonsoft.Json.JsonPropertyAttribute("forwardHeaders")] + public virtual System.Collections.Generic.IList ForwardHeaders { get; set; } + + /// + /// Optional. The metadata provided here is included as part of the `metadata_context` (of type + /// `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is + /// available under the namespace `com.google....`. For example: + /// `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in + /// the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. + /// This field is not supported for plugin extensions and must not be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must + /// conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum + /// length of 63 characters. Additionally, the first character must be a letter and the last a letter or a + /// number. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Required. The reference to the service that runs the extension. Currently only callout extensions are + /// supported here. To configure a callout extension, `service` must be a fully-qualified reference to a + /// [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: + /// `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` + /// or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To + /// configure a plugin extension, this must be a reference to a [wasm + /// plugin](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) + /// in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or + /// `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } + + /// + /// Optional. A set of events during request or response processing for which this extension is called. This + /// field is required for the `LbTrafficExtension` resource. It must not be set for the `LbRouteExtension` + /// resource. + /// + [Newtonsoft.Json.JsonPropertyAttribute("supportedEvents")] + public virtual System.Collections.Generic.IList SupportedEvents { get; set; } + + /// + /// Optional. Specifies the timeout for each individual message on the stream. The timeout must be between + /// 10-1000 milliseconds. Required for callout extensions. This field is not supported for plugin extensions and + /// must not be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("timeout")] + public virtual object Timeout { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Conditions under which this chain is invoked for a request. + public class ExtensionChainMatchCondition : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. A Common Expression Language (CEL) expression that is used to match requests for which the + /// extension chain is executed. For more information, see [CEL matcher language + /// reference](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference). + /// + [Newtonsoft.Json.JsonPropertyAttribute("celExpression")] + public virtual string CelExpression { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// - /// `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an - /// authorization decision. + /// Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which + /// the services are exposed by the proxy, along with any policy configurations. Routes have reference to to + /// Gateways to dictate how requests should be routed by this Gateway. Next id: 33 /// - public class AuthzExtension : Google.Apis.Requests.IDirectResponseSchema + public class Gateway : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. The `:authority` header in the gRPC request sent from Envoy to the extension service. + /// Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is + /// provided, an IP from the subnetwork is allocated This field only applies to gateways of type + /// 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. /// - [Newtonsoft.Json.JsonPropertyAttribute("authority")] - public virtual string Authority { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("addresses")] + public virtual System.Collections.Generic.IList Addresses { get; set; } + + /// + /// Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on + /// SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. + /// + [Newtonsoft.Json.JsonPropertyAttribute("certificateUrls")] + public virtual System.Collections.Generic.IList CertificateUrls { get; set; } private string _createTimeRaw; @@ -5092,77 +6235,99 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A human-readable description of the resource. + /// Optional. A free-text description of the resource. Max length 1024 characters. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } /// - /// Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to - /// `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension - /// chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following - /// happens: * If response headers have not been delivered to the downstream client, a generic 500 error is - /// returned to the client. The error response can be tailored by configuring a custom error response in the - /// load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is - /// reset. + /// Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers + /// may still be injected. By default, envoy will not insert any debug headers. /// - [Newtonsoft.Json.JsonPropertyAttribute("failOpen")] - public virtual System.Nullable FailOpen { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("envoyHeaders")] + public virtual string EnvoyHeaders { get; set; } /// - /// Optional. List of the HTTP headers to forward to the extension (from the client). If omitted, all headers - /// are sent. Each element is a string indicating the header name. + /// Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security + /// policy to inbound (VM to Proxy) initiated connections. For example: + /// `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type + /// 'SECURE_WEB_GATEWAY'. /// - [Newtonsoft.Json.JsonPropertyAttribute("forwardHeaders")] - public virtual System.Collections.Generic.IList ForwardHeaders { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("gatewaySecurityPolicy")] + public virtual string GatewaySecurityPolicy { get; set; } /// - /// Optional. Set of labels associated with the `AuthzExtension` resource. The format must comply with [the - /// requirements for labels](/compute/docs/labeling-resources#requirements) for Google Cloud resources. + /// Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4. /// + [Newtonsoft.Json.JsonPropertyAttribute("ipVersion")] + public virtual string IpVersion { get; set; } + + /// Optional. Set of label tags associated with the Gateway resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Required. All backend services and forwarding rules referenced by this extension must share the same load - /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to - /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). + /// Identifier. Name of the Gateway resource. It matches pattern `projects/*/locations/*/gateways/`. /// - [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] - public virtual string LoadBalancingScheme { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// - /// Optional. The metadata provided here is included as part of the `metadata_context` (of type - /// `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is - /// available under the namespace `com.google.authz_extension.`. The following variables are supported in the - /// metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource - /// name. + /// Optional. The relative resource name identifying the VPC network that is using this configuration. For + /// example: `projects/*/global/networks/network-1`. Currently, this field is specific to gateways of type + /// 'SECURE_WEB_GATEWAY'. /// - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("network")] + public virtual string Network { get; set; } /// - /// Required. Identifier. Name of the `AuthzExtension` resource in the following format: - /// `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`. + /// Required. One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to + /// the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type + /// 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("ports")] + public virtual System.Collections.Generic.IList> Ports { get; set; } /// - /// Required. The reference to the service that runs the extension. To configure a callout extension, `service` - /// must be a fully-qualified reference to a [backend - /// service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: - /// `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` - /// or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. + /// Optional. The routing mode of the Gateway. This field is configurable only for gateways of type + /// SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY. /// - [Newtonsoft.Json.JsonPropertyAttribute("service")] - public virtual string Service { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("routingMode")] + public virtual string RoutingMode { get; set; } /// - /// Required. Specifies the timeout for each individual message on the stream. The timeout must be between - /// 10-10000 milliseconds. + /// Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration + /// for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to + /// the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have + /// letters, numbers, hyphens. /// - [Newtonsoft.Json.JsonPropertyAttribute("timeout")] - public virtual object Timeout { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("scope")] + public virtual string Scope { get; set; } + + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + + /// + /// Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If + /// empty, TLS termination is disabled. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serverTlsPolicy")] + public virtual string ServerTlsPolicy { get; set; } + + /// + /// Optional. The relative resource name identifying the subnetwork in which this SWG is allocated. For example: + /// `projects/*/regions/us-central1/subnetworks/network-1` Currently, this field is specific to gateways of type + /// 'SECURE_WEB_GATEWAY". + /// + [Newtonsoft.Json.JsonPropertyAttribute("subnetwork")] + public virtual string Subnetwork { get; set; } + + /// + /// Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is + /// returned. + /// + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } private string _updateTimeRaw; @@ -5201,72 +6366,15 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// - /// Optional. The format of communication supported by the callout extension. If not specified, the default is - /// `EXT_PROC_GRPC`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("wireFormat")] - public virtual string WireFormat { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The request message for Operations.CancelOperation. - public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical - /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc - /// Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } - /// - public class Empty : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A definition of a matcher that selects endpoints to which the policies should be applied. - public class EndpointMatcher : Google.Apis.Requests.IDirectResponseSchema - { - /// The matcher is based on node metadata presented by xDS clients. - [Newtonsoft.Json.JsonPropertyAttribute("metadataLabelMatcher")] - public virtual MetadataLabelMatcher MetadataLabelMatcher { get; set; } - /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific - /// criteria. For example, this resource can be used to apply "authentication config" an all endpoints that serve on - /// port 8080. + /// GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed. /// - public class EndpointPolicy : Google.Apis.Requests.IDirectResponseSchema + public class GrpcRoute : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies - /// to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, - /// authorization is disabled(no authz checks) for this endpoint. - /// - [Newtonsoft.Json.JsonPropertyAttribute("authorizationPolicy")] - public virtual string AuthorizationPolicy { get; set; } - - /// - /// Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the - /// authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the - /// outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy - /// identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint - /// requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when - /// EndpointPolicyType is SIDECAR_PROXY. - /// - [Newtonsoft.Json.JsonPropertyAttribute("clientTlsPolicy")] - public virtual string ClientTlsPolicy { get; set; } - private string _createTimeRaw; private object _createTime; @@ -5308,41 +6416,62 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// Required. A matcher that selects endpoints to which the policies should be applied. - [Newtonsoft.Json.JsonPropertyAttribute("endpointMatcher")] - public virtual EndpointMatcher EndpointMatcher { get; set; } - - /// Optional. Set of label tags associated with the EndpointPolicy resource. - [Newtonsoft.Json.JsonPropertyAttribute("labels")] - public virtual System.Collections.Generic.IDictionary Labels { get; set; } - /// - /// Identifier. Name of the EndpointPolicy resource. It matches pattern - /// `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`. + /// Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one of the routing rules to + /// route the requests served by the gateway. Each gateway reference should match the pattern: + /// `projects/*/locations/global/gateways/` /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("gateways")] + public virtual System.Collections.Generic.IList Gateways { get; set; } /// - /// Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the - /// authentication policy to be applied to terminate the inbound traffic at the identified backends. If this - /// field is not set, authentication is disabled(open) for this endpoint. + /// Required. Service hostnames with an optional port for which this route describes traffic. Format: [:] + /// Hostname is the fully qualified domain name of a network host. This matches the RFC 1123 definition of a + /// hostname with 2 notable exceptions: - IPs are not allowed. - A hostname may be prefixed with a wildcard + /// label (`*.`). The wildcard label must appear by itself as the first label. Hostname can be "precise" which + /// is a domain name without the terminating dot of a network host (e.g. `foo.example.com`) or "wildcard", which + /// is a domain name prefixed with a single wildcard label (e.g. `*.example.com`). Note that as per RFC1035 and + /// RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an + /// alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateway must + /// have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the + /// configuration will be rejected. For example, while it is acceptable for routes for the hostnames + /// `*.foo.bar.com` and `*.bar.com` to be associated with the same route, it is not possible to associate two + /// routes both with `*.bar.com` or both with `bar.com`. If a port is specified, then gRPC clients must use the + /// channel URI with the port to match this rule (i.e. "xds:///service:123"), otherwise they must supply the URI + /// without a port (i.e. "xds:///service"). /// - [Newtonsoft.Json.JsonPropertyAttribute("serverTlsPolicy")] - public virtual string ServerTlsPolicy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("hostnames")] + public virtual System.Collections.Generic.IList Hostnames { get; set; } + + /// Optional. Set of label tags associated with the GrpcRoute resource. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is - /// applied to all ports. + /// Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as one of the routing rules to + /// route the requests served by the mesh. Each mesh reference should match the pattern: + /// `projects/*/locations/global/meshes/` /// - [Newtonsoft.Json.JsonPropertyAttribute("trafficPortSelector")] - public virtual TrafficPortSelector TrafficPortSelector { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("meshes")] + public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Required. The type of endpoint policy. This is primarily used to validate the configuration. + /// Identifier. Name of the GrpcRoute resource. It matches pattern `projects/*/locations/global/grpcRoutes/` /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Required. A list of detailed rules defining how to route traffic. Within a single GrpcRoute, the + /// GrpcRoute.RouteAction associated with the first matching GrpcRoute.RouteRule will be executed. At least one + /// rule must be supplied. + /// + [Newtonsoft.Json.JsonPropertyAttribute("rules")] + public virtual System.Collections.Generic.IList Rules { get; set; } + + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } private string _updateTimeRaw; @@ -5385,316 +6514,279 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// A single extension chain wrapper that contains the match conditions and extensions to execute. - /// - public class ExtensionChain : Google.Apis.Requests.IDirectResponseSchema + /// The destination to which traffic will be routed. + public class GrpcRouteDestination : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. A set of extensions to execute for the matching request. At least one extension is required. Up to - /// 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension` - /// chains are limited to 1 extension per extension chain. + /// Required. The URL of a destination service to which to route traffic. Must refer to either a BackendService + /// or ServiceDirectoryService. /// - [Newtonsoft.Json.JsonPropertyAttribute("extensions")] - public virtual System.Collections.Generic.IList Extensions { get; set; } - - /// Required. Conditions under which this chain is invoked for a request. - [Newtonsoft.Json.JsonPropertyAttribute("matchCondition")] - public virtual ExtensionChainMatchCondition MatchCondition { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] + public virtual string ServiceName { get; set; } /// - /// Required. The name for this extension chain. The name is logged as part of the HTTP request logs. The name - /// must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a - /// maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or - /// a number. + /// Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. + /// This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some + /// epsilon from the exact proportion defined here depending on the precision an implementation supports. If + /// only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to + /// that backend. If weights are specified for any one service name, they need to be specified for all of them. + /// If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of + /// them. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("weight")] + public virtual System.Nullable Weight { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// A single extension in the chain to execute for the matching request. - public class ExtensionChainExtension : Google.Apis.Requests.IDirectResponseSchema + /// + /// The specification for fault injection introduced into traffic to test the resiliency of clients to destination + /// service failure. As part of fault injection, when clients send requests to a destination, delays can be + /// introduced on a percentage of requests before sending those requests to the destination service. Similarly + /// requests from clients can be aborted by for a percentage of requests. + /// + public class GrpcRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for - /// Callout extensions. - /// - [Newtonsoft.Json.JsonPropertyAttribute("authority")] - public virtual string Authority { get; set; } - - /// - /// Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to - /// `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension - /// chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following - /// happens: * If response headers have not been delivered to the downstream client, a generic 500 error is - /// returned to the client. The error response can be tailored by configuring a custom error response in the - /// load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is - /// reset. - /// - [Newtonsoft.Json.JsonPropertyAttribute("failOpen")] - public virtual System.Nullable FailOpen { get; set; } - - /// - /// Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all - /// headers are sent. Each element is a string indicating the header name. - /// - [Newtonsoft.Json.JsonPropertyAttribute("forwardHeaders")] - public virtual System.Collections.Generic.IList ForwardHeaders { get; set; } - - /// - /// Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must - /// conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum - /// length of 63 characters. Additionally, the first character must be a letter and the last a letter or a - /// number. - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// Required. The reference to the service that runs the extension. Currently only callout extensions are - /// supported here. To configure a callout extension, `service` must be a fully-qualified reference to a - /// [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: - /// `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` - /// or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("service")] - public virtual string Service { get; set; } - - /// - /// Optional. A set of events during request or response processing for which this extension is called. This - /// field is required for the `LbTrafficExtension` resource. It must not be set for the `LbRouteExtension` - /// resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("supportedEvents")] - public virtual System.Collections.Generic.IList SupportedEvents { get; set; } + /// The specification for aborting to client requests. + [Newtonsoft.Json.JsonPropertyAttribute("abort")] + public virtual GrpcRouteFaultInjectionPolicyAbort Abort { get; set; } - /// - /// Optional. Specifies the timeout for each individual message on the stream. The timeout must be between - /// 10-1000 milliseconds. Required for Callout extensions. - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeout")] - public virtual object Timeout { get; set; } + /// The specification for injecting delay to client requests. + [Newtonsoft.Json.JsonPropertyAttribute("delay")] + public virtual GrpcRouteFaultInjectionPolicyDelay Delay { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Conditions under which this chain is invoked for a request. - public class ExtensionChainMatchCondition : Google.Apis.Requests.IDirectResponseSchema + /// + /// Specification of how client requests are aborted as part of fault injection before being sent to a destination. + /// + public class GrpcRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. A Common Expression Language (CEL) expression that is used to match requests for which the - /// extension chain is executed. For more information, see [CEL matcher language - /// reference](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference). + /// The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. /// - [Newtonsoft.Json.JsonPropertyAttribute("celExpression")] - public virtual string CelExpression { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("httpStatus")] + public virtual System.Nullable HttpStatus { get; set; } + + /// The percentage of traffic which will be aborted. The value must be between [0, 100] + [Newtonsoft.Json.JsonPropertyAttribute("percentage")] + public virtual System.Nullable Percentage { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which - /// the services are exposed by the proxy, along with any policy configurations. Routes have reference to to - /// Gateways to dictate how requests should be routed by this Gateway. Next id: 33 + /// Specification of how client requests are delayed as part of fault injection before being sent to a destination. /// - public class Gateway : Google.Apis.Requests.IDirectResponseSchema + public class GrpcRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is - /// provided, an IP from the subnetwork is allocated This field only applies to gateways of type - /// 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6. - /// - [Newtonsoft.Json.JsonPropertyAttribute("addresses")] - public virtual System.Collections.Generic.IList Addresses { get; set; } + /// Specify a fixed delay before forwarding the request. + [Newtonsoft.Json.JsonPropertyAttribute("fixedDelay")] + public virtual object FixedDelay { get; set; } /// - /// Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on - /// SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. + /// The percentage of traffic on which delay will be injected. The value must be between [0, 100] /// - [Newtonsoft.Json.JsonPropertyAttribute("certificateUrls")] - public virtual System.Collections.Generic.IList CertificateUrls { get; set; } - - private string _createTimeRaw; + [Newtonsoft.Json.JsonPropertyAttribute("percentage")] + public virtual System.Nullable Percentage { get; set; } - private object _createTime; + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// Output only. The timestamp when the resource was created. - [Newtonsoft.Json.JsonPropertyAttribute("createTime")] - public virtual string CreateTimeRaw - { - get => _createTimeRaw; - set - { - _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _createTimeRaw = value; - } - } + /// A match against a collection of headers. + public class GrpcRouteHeaderMatch : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The key of the header. + [Newtonsoft.Json.JsonPropertyAttribute("key")] + public virtual string Key { get; set; } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] - public virtual object CreateTime - { - get => _createTime; - set - { - _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _createTime = value; - } - } + /// + /// Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT + /// is used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? CreateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); - set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } + /// Required. The value of the header. + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } - /// Optional. A free-text description of the resource. Max length 1024 characters. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Specifies a match against a method. + public class GrpcRouteMethodMatch : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers - /// may still be injected. By default, envoy will not insert any debug headers. + /// Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be + /// used with a type of REGULAR_EXPRESSION. /// - [Newtonsoft.Json.JsonPropertyAttribute("envoyHeaders")] - public virtual string EnvoyHeaders { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("caseSensitive")] + public virtual System.Nullable CaseSensitive { get; set; } - /// - /// Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security - /// policy to inbound (VM to Proxy) initiated connections. For example: - /// `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type - /// 'SECURE_WEB_GATEWAY'. - /// - [Newtonsoft.Json.JsonPropertyAttribute("gatewaySecurityPolicy")] - public virtual string GatewaySecurityPolicy { get; set; } + /// Required. Name of the method to match against. If unspecified, will match all methods. + [Newtonsoft.Json.JsonPropertyAttribute("grpcMethod")] + public virtual string GrpcMethod { get; set; } + + /// Required. Name of the service to match against. If unspecified, will match all services. + [Newtonsoft.Json.JsonPropertyAttribute("grpcService")] + public virtual string GrpcService { get; set; } /// - /// Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4. + /// Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used. /// - [Newtonsoft.Json.JsonPropertyAttribute("ipVersion")] - public virtual string IpVersion { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } - /// Optional. Set of label tags associated with the Gateway resource. - [Newtonsoft.Json.JsonPropertyAttribute("labels")] - public virtual System.Collections.Generic.IDictionary Labels { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// + /// The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values + /// are: + /// + public class GrpcRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Identifier. Name of the Gateway resource. It matches pattern `projects/*/locations/*/gateways/`. + /// Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("numRetries")] + public virtual System.Nullable NumRetries { get; set; } /// - /// Optional. The relative resource name identifying the VPC network that is using this configuration. For - /// example: `projects/*/global/networks/network-1`. Currently, this field is specific to gateways of type - /// 'SECURE_WEB_GATEWAY'. + /// - connect-failure: Router will retry on failures connecting to Backend Services, for example due to + /// connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a + /// REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will + /// retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will + /// retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: + /// Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: + /// Router will retry if the gRPC status code in the response header is set to unavailable /// - [Newtonsoft.Json.JsonPropertyAttribute("network")] - public virtual string Network { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("retryConditions")] + public virtual System.Collections.Generic.IList RetryConditions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Specifies how to route matched traffic. + public class GrpcRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Required. One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to - /// the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type - /// 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports. + /// Optional. The destination services to which traffic should be forwarded. If multiple destinations are + /// specified, traffic will be split between Backend Service(s) according to the weight field of these + /// destinations. /// - [Newtonsoft.Json.JsonPropertyAttribute("ports")] - public virtual System.Collections.Generic.IList> Ports { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("destinations")] + public virtual System.Collections.Generic.IList Destinations { get; set; } /// - /// Optional. The routing mode of the Gateway. This field is configurable only for gateways of type - /// SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY. + /// Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to + /// destination service failure. As part of fault injection, when clients send requests to a destination, delays + /// can be introduced on a percentage of requests before sending those requests to the destination service. + /// Similarly requests from clients can be aborted by for a percentage of requests. timeout and retry_policy + /// will be ignored by clients that are configured with a fault_injection_policy /// - [Newtonsoft.Json.JsonPropertyAttribute("routingMode")] - public virtual string RoutingMode { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] + public virtual GrpcRouteFaultInjectionPolicy FaultInjectionPolicy { get; set; } /// - /// Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration - /// for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to - /// the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have - /// letters, numbers, hyphens. + /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in + /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the + /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. /// - [Newtonsoft.Json.JsonPropertyAttribute("scope")] - public virtual string Scope { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] + public virtual object IdleTimeout { get; set; } - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + /// Optional. Specifies the retry policy associated with this route. + [Newtonsoft.Json.JsonPropertyAttribute("retryPolicy")] + public virtual GrpcRouteRetryPolicy RetryPolicy { get; set; } - /// - /// Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If - /// empty, TLS termination is disabled. - /// - [Newtonsoft.Json.JsonPropertyAttribute("serverTlsPolicy")] - public virtual string ServerTlsPolicy { get; set; } + /// Optional. Specifies cookie-based stateful session affinity. + [Newtonsoft.Json.JsonPropertyAttribute("statefulSessionAffinity")] + public virtual GrpcRouteStatefulSessionAffinityPolicy StatefulSessionAffinity { get; set; } /// - /// Optional. The relative resource name identifying the subnetwork in which this SWG is allocated. For example: - /// `projects/*/regions/us-central1/subnetworks/network-1` Currently, this field is specific to gateways of type - /// 'SECURE_WEB_GATEWAY". + /// Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been + /// fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes + /// all retries. /// - [Newtonsoft.Json.JsonPropertyAttribute("subnetwork")] - public virtual string Subnetwork { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("timeout")] + public virtual object Timeout { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match. + /// + public class GrpcRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Specifies a collection of headers to match. + [Newtonsoft.Json.JsonPropertyAttribute("headers")] + public virtual System.Collections.Generic.IList Headers { get; set; } /// - /// Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is - /// returned. + /// Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods. /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("method")] + public virtual GrpcRouteMethodMatch Method { get; set; } - private string _updateTimeRaw; + /// The ETag of the item. + public virtual string ETag { get; set; } + } - private object _updateTime; + /// Describes how to route traffic. + public class GrpcRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. A detailed rule defining how to route traffic. This field is required. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual GrpcRouteRouteAction Action { get; set; } - /// Output only. The timestamp when the resource was updated. - [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] - public virtual string UpdateTimeRaw - { - get => _updateTimeRaw; - set - { - _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _updateTimeRaw = value; - } - } + /// + /// Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is + /// independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is + /// specified, this rule will unconditionally match traffic. + /// + [Newtonsoft.Json.JsonPropertyAttribute("matches")] + public virtual System.Collections.Generic.IList Matches { get; set; } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } + /// + /// The specification for cookie-based stateful session affinity where the date plane supplies a “session cookie” + /// with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be + /// directed to that host as long as the destination host remains up and healthy. The gRPC proxyless mesh library or + /// sidecar proxy will manage the session cookie but the client application code is responsible for copying the + /// cookie from each RPC in the session to the next. + /// + public class GrpcRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the + /// cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cookieTtl")] + public virtual object CookieTtl { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed. + /// HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource. /// - public class GrpcRoute : Google.Apis.Requests.IDirectResponseSchema + public class HttpRoute : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -5738,7 +6830,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string Description { get; set; } /// - /// Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one of the routing rules to + /// Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to /// route the requests served by the gateway. Each gateway reference should match the pattern: /// `projects/*/locations/global/gateways/` /// @@ -5746,49 +6838,47 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual System.Collections.Generic.IList Gateways { get; set; } /// - /// Required. Service hostnames with an optional port for which this route describes traffic. Format: [:] - /// Hostname is the fully qualified domain name of a network host. This matches the RFC 1123 definition of a - /// hostname with 2 notable exceptions: - IPs are not allowed. - A hostname may be prefixed with a wildcard + /// Required. Hostnames define a set of hosts that should match against the HTTP host header to select a + /// HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined + /// by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard /// label (`*.`). The wildcard label must appear by itself as the first label. Hostname can be "precise" which /// is a domain name without the terminating dot of a network host (e.g. `foo.example.com`) or "wildcard", which /// is a domain name prefixed with a single wildcard label (e.g. `*.example.com`). Note that as per RFC1035 and /// RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an - /// alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateway must + /// alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must /// have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the /// configuration will be rejected. For example, while it is acceptable for routes for the hostnames - /// `*.foo.bar.com` and `*.bar.com` to be associated with the same route, it is not possible to associate two - /// routes both with `*.bar.com` or both with `bar.com`. If a port is specified, then gRPC clients must use the - /// channel URI with the port to match this rule (i.e. "xds:///service:123"), otherwise they must supply the URI - /// without a port (i.e. "xds:///service"). + /// `*.foo.bar.com` and `*.bar.com` to be associated with the same Mesh (or Gateways under the same scope), it + /// is not possible to associate two routes both with `*.bar.com` or both with `bar.com`. /// [Newtonsoft.Json.JsonPropertyAttribute("hostnames")] public virtual System.Collections.Generic.IList Hostnames { get; set; } - /// Optional. Set of label tags associated with the GrpcRoute resource. + /// Optional. Set of label tags associated with the HttpRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as one of the routing rules to + /// Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to /// route the requests served by the mesh. Each mesh reference should match the pattern: - /// `projects/*/locations/global/meshes/` + /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR /// [Newtonsoft.Json.JsonPropertyAttribute("meshes")] public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Identifier. Name of the GrpcRoute resource. It matches pattern `projects/*/locations/global/grpcRoutes/` + /// Identifier. Name of the HttpRoute resource. It matches pattern + /// `projects/*/locations/global/httpRoutes/http_route_name&gt;`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// - /// Required. A list of detailed rules defining how to route traffic. Within a single GrpcRoute, the - /// GrpcRoute.RouteAction associated with the first matching GrpcRoute.RouteRule will be executed. At least one - /// rule must be supplied. + /// Required. Rules that define how traffic is routed and handled. Rules will be matched sequentially based on + /// the RouteMatch specified for the rule. /// [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } + public virtual System.Collections.Generic.IList Rules { get; set; } /// Output only. Server-defined URL of this resource [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] @@ -5810,49 +6900,115 @@ public virtual string UpdateTimeRaw } } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The Specification for allowing client side cross-origin requests. + public class HttpRouteCorsPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// In response to a preflight request, setting this to true indicates that the actual request can include user + /// credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowCredentials")] + public virtual System.Nullable AllowCredentials { get; set; } + + /// Specifies the content for Access-Control-Allow-Headers header. + [Newtonsoft.Json.JsonPropertyAttribute("allowHeaders")] + public virtual System.Collections.Generic.IList AllowHeaders { get; set; } + + /// Specifies the content for Access-Control-Allow-Methods header. + [Newtonsoft.Json.JsonPropertyAttribute("allowMethods")] + public virtual System.Collections.Generic.IList AllowMethods { get; set; } + + /// + /// Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please + /// see https://github.com/google/re2/wiki/Syntax. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowOriginRegexes")] + public virtual System.Collections.Generic.IList AllowOriginRegexes { get; set; } + + /// + /// Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches + /// either an item in allow_origins or an item in allow_origin_regexes. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowOrigins")] + public virtual System.Collections.Generic.IList AllowOrigins { get; set; } + + /// + /// If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in + /// effect. + /// + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } + /// Specifies the content for Access-Control-Expose-Headers header. + [Newtonsoft.Json.JsonPropertyAttribute("exposeHeaders")] + public virtual System.Collections.Generic.IList ExposeHeaders { get; set; } + + /// + /// Specifies how long result of a preflight request can be cached in seconds. This translates to the + /// Access-Control-Max-Age header. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxAge")] + public virtual string MaxAge { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The destination to which traffic will be routed. - public class GrpcRouteDestination : Google.Apis.Requests.IDirectResponseSchema + /// Specifications of a destination to which the request should be routed to. + public class HttpRouteDestination : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. The URL of a destination service to which to route traffic. Must refer to either a BackendService - /// or ServiceDirectoryService. + /// Optional. The specification for modifying the headers of a matching request prior to delivery of the request + /// to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be + /// merged. Conflicts between the two will not be resolved on the configuration. + /// + [Newtonsoft.Json.JsonPropertyAttribute("requestHeaderModifier")] + public virtual HttpRouteHeaderModifier RequestHeaderModifier { get; set; } + + /// + /// Optional. The specification for modifying the headers of a response prior to sending the response back to + /// the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. + /// Conflicts between the two will not be resolved on the configuration. /// + [Newtonsoft.Json.JsonPropertyAttribute("responseHeaderModifier")] + public virtual HttpRouteHeaderModifier ResponseHeaderModifier { get; set; } + + /// The URL of a BackendService to route traffic to. [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] public virtual string ServiceName { get; set; } /// - /// Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. - /// This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some - /// epsilon from the exact proportion defined here depending on the precision an implementation supports. If - /// only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to - /// that backend. If weights are specified for any one service name, they need to be specified for all of them. - /// If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of - /// them. + /// Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is + /// computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon + /// from the exact proportion defined here depending on the precision an implementation supports. If only one + /// serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that + /// backend. If weights are specified for any one service name, they need to be specified for all of them. If + /// weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. /// [Newtonsoft.Json.JsonPropertyAttribute("weight")] public virtual System.Nullable Weight { get; set; } @@ -5864,18 +7020,18 @@ public class GrpcRouteDestination : Google.Apis.Requests.IDirectResponseSchema /// /// The specification for fault injection introduced into traffic to test the resiliency of clients to destination /// service failure. As part of fault injection, when clients send requests to a destination, delays can be - /// introduced on a percentage of requests before sending those requests to the destination service. Similarly - /// requests from clients can be aborted by for a percentage of requests. + /// introduced by client proxy on a percentage of requests before sending those requests to the destination service. + /// Similarly requests can be aborted by client proxy for a percentage of requests. /// - public class GrpcRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectResponseSchema { /// The specification for aborting to client requests. [Newtonsoft.Json.JsonPropertyAttribute("abort")] - public virtual GrpcRouteFaultInjectionPolicyAbort Abort { get; set; } + public virtual HttpRouteFaultInjectionPolicyAbort Abort { get; set; } /// The specification for injecting delay to client requests. [Newtonsoft.Json.JsonPropertyAttribute("delay")] - public virtual GrpcRouteFaultInjectionPolicyDelay Delay { get; set; } + public virtual HttpRouteFaultInjectionPolicyDelay Delay { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -5884,7 +7040,7 @@ public class GrpcRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectRespons /// /// Specification of how client requests are aborted as part of fault injection before being sent to a destination. /// - public class GrpcRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectResponseSchema { /// /// The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. @@ -5903,7 +7059,7 @@ public class GrpcRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectRe /// /// Specification of how client requests are delayed as part of fault injection before being sent to a destination. /// - public class GrpcRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectResponseSchema { /// Specify a fixed delay before forwarding the request. [Newtonsoft.Json.JsonPropertyAttribute("fixedDelay")] @@ -5919,76 +7075,240 @@ public class GrpcRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } - /// A match against a collection of headers. - public class GrpcRouteHeaderMatch : Google.Apis.Requests.IDirectResponseSchema + /// Specifies how to select a route rule based on HTTP request headers. + public class HttpRouteHeaderMatch : Google.Apis.Requests.IDirectResponseSchema { - /// Required. The key of the header. - [Newtonsoft.Json.JsonPropertyAttribute("key")] - public virtual string Key { get; set; } + /// The value of the header should match exactly the content of exact_match. + [Newtonsoft.Json.JsonPropertyAttribute("exactMatch")] + public virtual string ExactMatch { get; set; } + + /// The name of the HTTP header to match against. + [Newtonsoft.Json.JsonPropertyAttribute("header")] + public virtual string Header { get; set; } + + /// + /// If specified, the match result will be inverted before checking. Default value is set to false. + /// + [Newtonsoft.Json.JsonPropertyAttribute("invertMatch")] + public virtual System.Nullable InvertMatch { get; set; } + + /// The value of the header must start with the contents of prefix_match. + [Newtonsoft.Json.JsonPropertyAttribute("prefixMatch")] + public virtual string PrefixMatch { get; set; } + + /// + /// A header with header_name must exist. The match takes place whether or not the header has a value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("presentMatch")] + public virtual System.Nullable PresentMatch { get; set; } + + /// If specified, the rule will match if the request header value is within the range. + [Newtonsoft.Json.JsonPropertyAttribute("rangeMatch")] + public virtual HttpRouteHeaderMatchIntegerRange RangeMatch { get; set; } + + /// + /// The value of the header must match the regular expression specified in regex_match. For regular expression + /// grammar, please see: https://github.com/google/re2/wiki/Syntax + /// + [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] + public virtual string RegexMatch { get; set; } + + /// The value of the header must end with the contents of suffix_match. + [Newtonsoft.Json.JsonPropertyAttribute("suffixMatch")] + public virtual string SuffixMatch { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an integer value range. + public class HttpRouteHeaderMatchIntegerRange : Google.Apis.Requests.IDirectResponseSchema + { + /// End of the range (exclusive) + [Newtonsoft.Json.JsonPropertyAttribute("end")] + public virtual System.Nullable End { get; set; } + + /// Start of the range (inclusive) + [Newtonsoft.Json.JsonPropertyAttribute("start")] + public virtual System.Nullable Start { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The specification for modifying HTTP header in HTTP request and HTTP response. + public class HttpRouteHeaderModifier : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Add the headers with given map where key is the name of the header, value is the value of the header. + /// + [Newtonsoft.Json.JsonPropertyAttribute("add")] + public virtual System.Collections.Generic.IDictionary Add { get; set; } + + /// Remove headers (matching by header names) specified in the list. + [Newtonsoft.Json.JsonPropertyAttribute("remove")] + public virtual System.Collections.Generic.IList Remove { get; set; } + + /// + /// Completely overwrite/replace the headers with given map where key is the name of the header, value is the + /// value of the header. + /// + [Newtonsoft.Json.JsonPropertyAttribute("set")] + public virtual System.Collections.Generic.IDictionary Set { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Static HTTP response object to be returned. + public class HttpRouteHttpDirectResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Response body as bytes. Maximum body size is 4096B. + [Newtonsoft.Json.JsonPropertyAttribute("bytesBody")] + public virtual string BytesBody { get; set; } + + /// Required. Status to return as part of HTTP Response. Must be a positive integer. + [Newtonsoft.Json.JsonPropertyAttribute("status")] + public virtual System.Nullable Status { get; set; } + + /// Optional. Response body as a string. Maximum body length is 1024 characters. + [Newtonsoft.Json.JsonPropertyAttribute("stringBody")] + public virtual string StringBody { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Specifications to match a query parameter in the request. + public class HttpRouteQueryParameterMatch : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, + /// regex_match, or present_match must be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("exactMatch")] + public virtual string ExactMatch { get; set; } + + /// + /// Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of + /// whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be + /// set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("presentMatch")] + public virtual System.Nullable PresentMatch { get; set; } + + /// The name of the query parameter to match. + [Newtonsoft.Json.JsonPropertyAttribute("queryParameter")] + public virtual string QueryParameter { get; set; } + + /// + /// The value of the query parameter must match the regular expression specified by regex_match. For regular + /// expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, + /// regex_match, or present_match must be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] + public virtual string RegexMatch { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The specification for redirecting traffic. + public class HttpRouteRedirect : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The host that will be used in the redirect response instead of the one that was supplied in the request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("hostRedirect")] + public virtual string HostRedirect { get; set; } + + /// + /// If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of + /// the redirected request will remain the same as that of the request. The default is set to false. + /// + [Newtonsoft.Json.JsonPropertyAttribute("httpsRedirect")] + public virtual System.Nullable HttpsRedirect { get; set; } + + /// + /// The path that will be used in the redirect response instead of the one that was supplied in the request. + /// path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is + /// supplied, the path of the original request will be used for the redirect. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pathRedirect")] + public virtual string PathRedirect { get; set; } + + /// + /// The port that will be used in the redirected request instead of the one that was supplied in the request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("portRedirect")] + public virtual System.Nullable PortRedirect { get; set; } /// - /// Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT - /// is used. + /// Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This + /// option allows URLs be dynamically created based on the request. /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("prefixRewrite")] + public virtual string PrefixRewrite { get; set; } - /// Required. The value of the header. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } + /// The HTTP Status code to use for the redirect. + [Newtonsoft.Json.JsonPropertyAttribute("responseCode")] + public virtual string ResponseCode { get; set; } + + /// + /// if set to true, any accompanying query portion of the original URL is removed prior to redirecting the + /// request. If set to false, the query portion of the original URL is retained. The default is set to false. + /// + [Newtonsoft.Json.JsonPropertyAttribute("stripQuery")] + public virtual System.Nullable StripQuery { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Specifies a match against a method. - public class GrpcRouteMethodMatch : Google.Apis.Requests.IDirectResponseSchema + /// + /// Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not + /// wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority + /// header is suffixed with -shadow. + /// + public class HttpRouteRequestMirrorPolicy : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be - /// used with a type of REGULAR_EXPRESSION. + /// The destination the requests will be mirrored to. The weight of the destination will be ignored. /// - [Newtonsoft.Json.JsonPropertyAttribute("caseSensitive")] - public virtual System.Nullable CaseSensitive { get; set; } - - /// Required. Name of the method to match against. If unspecified, will match all methods. - [Newtonsoft.Json.JsonPropertyAttribute("grpcMethod")] - public virtual string GrpcMethod { get; set; } - - /// Required. Name of the service to match against. If unspecified, will match all services. - [Newtonsoft.Json.JsonPropertyAttribute("grpcService")] - public virtual string GrpcService { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("destination")] + public virtual HttpRouteDestination Destination { get; set; } - /// - /// Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } + /// Optional. The percentage of requests to get mirrored to the desired destination. + [Newtonsoft.Json.JsonPropertyAttribute("mirrorPercent")] + public virtual System.Nullable MirrorPercent { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values - /// are: - /// - public class GrpcRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema + /// The specifications for retries. + public class HttpRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema { /// /// Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1. /// [Newtonsoft.Json.JsonPropertyAttribute("numRetries")] - public virtual System.Nullable NumRetries { get; set; } + public virtual System.Nullable NumRetries { get; set; } + + /// Specifies a non-zero timeout per retry attempt. + [Newtonsoft.Json.JsonPropertyAttribute("perTryTimeout")] + public virtual object PerTryTimeout { get; set; } /// - /// - connect-failure: Router will retry on failures connecting to Backend Services, for example due to - /// connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a - /// REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will - /// retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will - /// retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: - /// Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: - /// Router will retry if the gRPC status code in the response header is set to unavailable + /// Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a + /// retry if the destination service responds with any 5xx response code, of if the destination service does not + /// respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. + /// gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a + /// retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: + /// Proxy will retry on failures connecting to destination for example due to connection timeouts. + /// retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error + /// supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a + /// REFUSED_STREAM error code. This reset type indicates that it is safe to retry. /// [Newtonsoft.Json.JsonPropertyAttribute("retryConditions")] public virtual System.Collections.Generic.IList RetryConditions { get; set; } @@ -5997,26 +7317,30 @@ public class GrpcRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Specifies how to route matched traffic. - public class GrpcRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + /// The specifications for routing traffic and applying associated policies. + public class HttpRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Optional. The destination services to which traffic should be forwarded. If multiple destinations are - /// specified, traffic will be split between Backend Service(s) according to the weight field of these - /// destinations. - /// + /// The specification for allowing client side cross-origin requests. + [Newtonsoft.Json.JsonPropertyAttribute("corsPolicy")] + public virtual HttpRouteCorsPolicy CorsPolicy { get; set; } + + /// The destination to which traffic should be forwarded. [Newtonsoft.Json.JsonPropertyAttribute("destinations")] - public virtual System.Collections.Generic.IList Destinations { get; set; } + public virtual System.Collections.Generic.IList Destinations { get; set; } + + /// Optional. Static HTTP Response object to be returned regardless of the request. + [Newtonsoft.Json.JsonPropertyAttribute("directResponse")] + public virtual HttpRouteHttpDirectResponse DirectResponse { get; set; } /// - /// Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to - /// destination service failure. As part of fault injection, when clients send requests to a destination, delays - /// can be introduced on a percentage of requests before sending those requests to the destination service. - /// Similarly requests from clients can be aborted by for a percentage of requests. timeout and retry_policy - /// will be ignored by clients that are configured with a fault_injection_policy + /// The specification for fault injection introduced into traffic to test the resiliency of clients to backend + /// service failure. As part of fault injection, when clients send requests to a backend service, delays can be + /// introduced on a percentage of requests before sending those requests to the backend service. Similarly + /// requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored + /// by clients that are configured with a fault_injection_policy /// [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] - public virtual GrpcRouteFaultInjectionPolicy FaultInjectionPolicy { get; set; } + public virtual HttpRouteFaultInjectionPolicy FaultInjectionPolicy { get; set; } /// /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in @@ -6026,59 +7350,124 @@ public class GrpcRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] public virtual object IdleTimeout { get; set; } - /// Optional. Specifies the retry policy associated with this route. + /// If set, the request is directed as configured by this field. + [Newtonsoft.Json.JsonPropertyAttribute("redirect")] + public virtual HttpRouteRedirect Redirect { get; set; } + + /// + /// The specification for modifying the headers of a matching request prior to delivery of the request to the + /// destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. + /// Conflicts between the two will not be resolved on the configuration. + /// + [Newtonsoft.Json.JsonPropertyAttribute("requestHeaderModifier")] + public virtual HttpRouteHeaderModifier RequestHeaderModifier { get; set; } + + /// + /// Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored + /// destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior + /// to sending traffic to the shadow service, the host/authority header is suffixed with -shadow. + /// + [Newtonsoft.Json.JsonPropertyAttribute("requestMirrorPolicy")] + public virtual HttpRouteRequestMirrorPolicy RequestMirrorPolicy { get; set; } + + /// + /// The specification for modifying the headers of a response prior to sending the response back to the client. + /// If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts + /// between the two will not be resolved on the configuration. + /// + [Newtonsoft.Json.JsonPropertyAttribute("responseHeaderModifier")] + public virtual HttpRouteHeaderModifier ResponseHeaderModifier { get; set; } + + /// Specifies the retry policy associated with this route. [Newtonsoft.Json.JsonPropertyAttribute("retryPolicy")] - public virtual GrpcRouteRetryPolicy RetryPolicy { get; set; } + public virtual HttpRouteRetryPolicy RetryPolicy { get; set; } /// Optional. Specifies cookie-based stateful session affinity. [Newtonsoft.Json.JsonPropertyAttribute("statefulSessionAffinity")] - public virtual GrpcRouteStatefulSessionAffinityPolicy StatefulSessionAffinity { get; set; } + public virtual HttpRouteStatefulSessionAffinityPolicy StatefulSessionAffinity { get; set; } /// - /// Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been - /// fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes - /// all retries. + /// Specifies the timeout for selected route. Timeout is computed from the time the request has been fully + /// processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all + /// retries. /// [Newtonsoft.Json.JsonPropertyAttribute("timeout")] public virtual object Timeout { get; set; } + /// The specification for rewrite URL before forwarding requests to the destination. + [Newtonsoft.Json.JsonPropertyAttribute("urlRewrite")] + public virtual HttpRouteURLRewrite UrlRewrite { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match. + /// RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will + /// match if ALL type of matches are matched. /// - public class GrpcRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. Specifies a collection of headers to match. + /// + /// The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or + /// regex_match should be used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("fullPathMatch")] + public virtual string FullPathMatch { get; set; } + + /// + /// Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched. + /// [Newtonsoft.Json.JsonPropertyAttribute("headers")] - public virtual System.Collections.Generic.IList Headers { get; set; } + public virtual System.Collections.Generic.IList Headers { get; set; } /// - /// Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods. + /// Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false. /// - [Newtonsoft.Json.JsonPropertyAttribute("method")] - public virtual GrpcRouteMethodMatch Method { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("ignoreCase")] + public virtual System.Nullable IgnoreCase { get; set; } + + /// + /// The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only + /// one of full_path_match, prefix_match, or regex_match should be used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("prefixMatch")] + public virtual string PrefixMatch { get; set; } + + /// + /// Specifies a list of query parameters to match against. ALL of the query parameters must be matched. + /// + [Newtonsoft.Json.JsonPropertyAttribute("queryParameters")] + public virtual System.Collections.Generic.IList QueryParameters { get; set; } + + /// + /// The HTTP request path value must satisfy the regular expression specified by regex_match after removing any + /// query parameters and anchor supplied with the original URL. For regular expression grammar, please see + /// https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should + /// be used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] + public virtual string RegexMatch { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Describes how to route traffic. - public class GrpcRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + /// Specifies how to match traffic and how to route traffic when traffic is matched. + public class HttpRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema { - /// Required. A detailed rule defining how to route traffic. This field is required. + /// The detailed rule defining how to route matched traffic. [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual GrpcRouteRouteAction Action { get; set; } + public virtual HttpRouteRouteAction Action { get; set; } /// - /// Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is + /// A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is /// independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is - /// specified, this rule will unconditionally match traffic. + /// specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add + /// a rule with no matches specified to the end of the rules list. /// [Newtonsoft.Json.JsonPropertyAttribute("matches")] - public virtual System.Collections.Generic.IList Matches { get; set; } + public virtual System.Collections.Generic.IList Matches { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -6091,7 +7480,7 @@ public class GrpcRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema /// sidecar proxy will manage the session cookie but the client application code is responsible for copying the /// cookie from each RPC in the session to the next. /// - public class GrpcRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDirectResponseSchema { /// /// Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the @@ -6105,9 +7494,32 @@ public class GrpcRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDire } /// - /// HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource. + /// The specification for modifying the URL of the request, prior to forwarding the request to the destination. /// - public class HttpRoute : Google.Apis.Requests.IDirectResponseSchema + public class HttpRouteURLRewrite : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Prior to forwarding the request to the selected destination, the requests host header is replaced by this + /// value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("hostRewrite")] + public virtual string HostRewrite { get; set; } + + /// + /// Prior to forwarding the request to the selected destination, the matching portion of the requests path is + /// replaced by this value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pathPrefixRewrite")] + public virtual string PathPrefixRewrite { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// `LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request. + /// + public class LbRouteExtension : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -6146,64 +7558,59 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A free-text description of the resource. Max length 1024 characters. + /// Optional. A human-readable description of the resource. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } /// - /// Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to - /// route the requests served by the gateway. Each gateway reference should match the pattern: - /// `projects/*/locations/global/gateways/` + /// Required. A set of ordered extension chains that contain the match conditions and extensions to execute. + /// Match conditions for each extension chain are evaluated in sequence for a given request. The first extension + /// chain that has a condition that matches the request is executed. Any subsequent extension chains do not + /// execute. Limited to 5 extension chains per resource. + /// + [Newtonsoft.Json.JsonPropertyAttribute("extensionChains")] + public virtual System.Collections.Generic.IList ExtensionChains { get; set; } + + /// + /// Required. A list of references to the forwarding rules to which this service extension is attached to. At + /// least one forwarding rule is required. There can be only one `LbRouteExtension` resource per forwarding + /// rule. /// - [Newtonsoft.Json.JsonPropertyAttribute("gateways")] - public virtual System.Collections.Generic.IList Gateways { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("forwardingRules")] + public virtual System.Collections.Generic.IList ForwardingRules { get; set; } /// - /// Required. Hostnames define a set of hosts that should match against the HTTP host header to select a - /// HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined - /// by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard - /// label (`*.`). The wildcard label must appear by itself as the first label. Hostname can be "precise" which - /// is a domain name without the terminating dot of a network host (e.g. `foo.example.com`) or "wildcard", which - /// is a domain name prefixed with a single wildcard label (e.g. `*.example.com`). Note that as per RFC1035 and - /// RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an - /// alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must - /// have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the - /// configuration will be rejected. For example, while it is acceptable for routes for the hostnames - /// `*.foo.bar.com` and `*.bar.com` to be associated with the same Mesh (or Gateways under the same scope), it - /// is not possible to associate two routes both with `*.bar.com` or both with `bar.com`. + /// Optional. Set of labels associated with the `LbRouteExtension` resource. The format must comply with [the + /// requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google + /// Cloud resources. /// - [Newtonsoft.Json.JsonPropertyAttribute("hostnames")] - public virtual System.Collections.Generic.IList Hostnames { get; set; } - - /// Optional. Set of label tags associated with the HttpRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to - /// route the requests served by the mesh. Each mesh reference should match the pattern: - /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR + /// Required. All backend services and forwarding rules referenced by this extension must share the same load + /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to + /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). /// - [Newtonsoft.Json.JsonPropertyAttribute("meshes")] - public virtual System.Collections.Generic.IList Meshes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] + public virtual string LoadBalancingScheme { get; set; } /// - /// Identifier. Name of the HttpRoute resource. It matches pattern - /// `projects/*/locations/global/httpRoutes/http_route_name&gt;`. + /// Optional. The metadata provided here is included as part of the `metadata_context` (of type + /// `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is + /// available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the + /// metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource + /// name. This field is not supported for plugin extensions and must not be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } /// - /// Required. Rules that define how traffic is routed and handled. Rules will be matched sequentially based on - /// the RouteMatch specified for the rule. + /// Required. Identifier. Name of the `LbRouteExtension` resource in the following format: + /// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`. /// - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } - - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } private string _updateTimeRaw; @@ -6246,601 +7653,484 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// The Specification for allowing client side cross-origin requests. - public class HttpRouteCorsPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// In response to a preflight request, setting this to true indicates that the actual request can include user - /// credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. - /// - [Newtonsoft.Json.JsonPropertyAttribute("allowCredentials")] - public virtual System.Nullable AllowCredentials { get; set; } - - /// Specifies the content for Access-Control-Allow-Headers header. - [Newtonsoft.Json.JsonPropertyAttribute("allowHeaders")] - public virtual System.Collections.Generic.IList AllowHeaders { get; set; } - - /// Specifies the content for Access-Control-Allow-Methods header. - [Newtonsoft.Json.JsonPropertyAttribute("allowMethods")] - public virtual System.Collections.Generic.IList AllowMethods { get; set; } - - /// - /// Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please - /// see https://github.com/google/re2/wiki/Syntax. - /// - [Newtonsoft.Json.JsonPropertyAttribute("allowOriginRegexes")] - public virtual System.Collections.Generic.IList AllowOriginRegexes { get; set; } - - /// - /// Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches - /// either an item in allow_origins or an item in allow_origin_regexes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("allowOrigins")] - public virtual System.Collections.Generic.IList AllowOrigins { get; set; } - - /// - /// If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in - /// effect. - /// - [Newtonsoft.Json.JsonPropertyAttribute("disabled")] - public virtual System.Nullable Disabled { get; set; } - - /// Specifies the content for Access-Control-Expose-Headers header. - [Newtonsoft.Json.JsonPropertyAttribute("exposeHeaders")] - public virtual System.Collections.Generic.IList ExposeHeaders { get; set; } - - /// - /// Specifies how long result of a preflight request can be cached in seconds. This translates to the - /// Access-Control-Max-Age header. - /// - [Newtonsoft.Json.JsonPropertyAttribute("maxAge")] - public virtual string MaxAge { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specifications of a destination to which the request should be routed to. - public class HttpRouteDestination : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. The specification for modifying the headers of a matching request prior to delivery of the request - /// to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be - /// merged. Conflicts between the two will not be resolved on the configuration. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requestHeaderModifier")] - public virtual HttpRouteHeaderModifier RequestHeaderModifier { get; set; } - - /// - /// Optional. The specification for modifying the headers of a response prior to sending the response back to - /// the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. - /// Conflicts between the two will not be resolved on the configuration. - /// - [Newtonsoft.Json.JsonPropertyAttribute("responseHeaderModifier")] - public virtual HttpRouteHeaderModifier ResponseHeaderModifier { get; set; } - - /// The URL of a BackendService to route traffic to. - [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] - public virtual string ServiceName { get; set; } - - /// - /// Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is - /// computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon - /// from the exact proportion defined here depending on the precision an implementation supports. If only one - /// serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that - /// backend. If weights are specified for any one service name, they need to be specified for all of them. If - /// weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. - /// - [Newtonsoft.Json.JsonPropertyAttribute("weight")] - public virtual System.Nullable Weight { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// - /// The specification for fault injection introduced into traffic to test the resiliency of clients to destination - /// service failure. As part of fault injection, when clients send requests to a destination, delays can be - /// introduced by client proxy on a percentage of requests before sending those requests to the destination service. - /// Similarly requests can be aborted by client proxy for a percentage of requests. + /// `LbTrafficExtension` is a resource that lets the extension service modify the headers and payloads of both + /// requests and responses without impacting the choice of backend services or any other security policies + /// associated with the backend service. /// - public class HttpRouteFaultInjectionPolicy : Google.Apis.Requests.IDirectResponseSchema + public class LbTrafficExtension : Google.Apis.Requests.IDirectResponseSchema { - /// The specification for aborting to client requests. - [Newtonsoft.Json.JsonPropertyAttribute("abort")] - public virtual HttpRouteFaultInjectionPolicyAbort Abort { get; set; } - - /// The specification for injecting delay to client requests. - [Newtonsoft.Json.JsonPropertyAttribute("delay")] - public virtual HttpRouteFaultInjectionPolicyDelay Delay { get; set; } + private string _createTimeRaw; - /// The ETag of the item. - public virtual string ETag { get; set; } - } + private object _createTime; - /// - /// Specification of how client requests are aborted as part of fault injection before being sent to a destination. - /// - public class HttpRouteFaultInjectionPolicyAbort : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("httpStatus")] - public virtual System.Nullable HttpStatus { get; set; } + /// Output only. The timestamp when the resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } - /// The percentage of traffic which will be aborted. The value must be between [0, 100] - [Newtonsoft.Json.JsonPropertyAttribute("percentage")] - public virtual System.Nullable Percentage { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } - /// - /// Specification of how client requests are delayed as part of fault injection before being sent to a destination. - /// - public class HttpRouteFaultInjectionPolicyDelay : Google.Apis.Requests.IDirectResponseSchema - { - /// Specify a fixed delay before forwarding the request. - [Newtonsoft.Json.JsonPropertyAttribute("fixedDelay")] - public virtual object FixedDelay { get; set; } + /// Optional. A human-readable description of the resource. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } /// - /// The percentage of traffic on which delay will be injected. The value must be between [0, 100] - /// - [Newtonsoft.Json.JsonPropertyAttribute("percentage")] - public virtual System.Nullable Percentage { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specifies how to select a route rule based on HTTP request headers. - public class HttpRouteHeaderMatch : Google.Apis.Requests.IDirectResponseSchema - { - /// The value of the header should match exactly the content of exact_match. - [Newtonsoft.Json.JsonPropertyAttribute("exactMatch")] - public virtual string ExactMatch { get; set; } - - /// The name of the HTTP header to match against. - [Newtonsoft.Json.JsonPropertyAttribute("header")] - public virtual string Header { get; set; } + /// Required. A set of ordered extension chains that contain the match conditions and extensions to execute. + /// Match conditions for each extension chain are evaluated in sequence for a given request. The first extension + /// chain that has a condition that matches the request is executed. Any subsequent extension chains do not + /// execute. Limited to 5 extension chains per resource. + /// + [Newtonsoft.Json.JsonPropertyAttribute("extensionChains")] + public virtual System.Collections.Generic.IList ExtensionChains { get; set; } /// - /// If specified, the match result will be inverted before checking. Default value is set to false. + /// Required. A list of references to the forwarding rules to which this service extension is attached to. At + /// least one forwarding rule is required. There can be only one `LBTrafficExtension` resource per forwarding + /// rule. /// - [Newtonsoft.Json.JsonPropertyAttribute("invertMatch")] - public virtual System.Nullable InvertMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("forwardingRules")] + public virtual System.Collections.Generic.IList ForwardingRules { get; set; } - /// The value of the header must start with the contents of prefix_match. - [Newtonsoft.Json.JsonPropertyAttribute("prefixMatch")] - public virtual string PrefixMatch { get; set; } + /// + /// Optional. Set of labels associated with the `LbTrafficExtension` resource. The format must comply with [the + /// requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google + /// Cloud resources. + /// + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// A header with header_name must exist. The match takes place whether or not the header has a value. + /// Required. All backend services and forwarding rules referenced by this extension must share the same load + /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to + /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). /// - [Newtonsoft.Json.JsonPropertyAttribute("presentMatch")] - public virtual System.Nullable PresentMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] + public virtual string LoadBalancingScheme { get; set; } - /// If specified, the rule will match if the request header value is within the range. - [Newtonsoft.Json.JsonPropertyAttribute("rangeMatch")] - public virtual HttpRouteHeaderMatchIntegerRange RangeMatch { get; set; } + /// + /// Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` + /// map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following + /// variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's + /// fully qualified resource name. This field is not supported for plugin extensions and must not be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } /// - /// The value of the header must match the regular expression specified in regex_match. For regular expression - /// grammar, please see: https://github.com/google/re2/wiki/Syntax + /// Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: + /// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`. /// - [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] - public virtual string RegexMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } - /// The value of the header must end with the contents of suffix_match. - [Newtonsoft.Json.JsonPropertyAttribute("suffixMatch")] - public virtual string SuffixMatch { get; set; } + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Represents an integer value range. - public class HttpRouteHeaderMatchIntegerRange : Google.Apis.Requests.IDirectResponseSchema + /// Message for response to listing `AuthzExtension` resources. + public class ListAuthzExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema { - /// End of the range (exclusive) - [Newtonsoft.Json.JsonPropertyAttribute("end")] - public virtual System.Nullable End { get; set; } + /// The list of `AuthzExtension` resources. + [Newtonsoft.Json.JsonPropertyAttribute("authzExtensions")] + public virtual System.Collections.Generic.IList AuthzExtensions { get; set; } - /// Start of the range (inclusive) - [Newtonsoft.Json.JsonPropertyAttribute("start")] - public virtual System.Nullable Start { get; set; } + /// A token identifying a page of results that the server returns. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The specification for modifying HTTP header in HTTP request and HTTP response. - public class HttpRouteHeaderModifier : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListEndpointPolicies method. + public class ListEndpointPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Add the headers with given map where key is the name of the header, value is the value of the header. - /// - [Newtonsoft.Json.JsonPropertyAttribute("add")] - public virtual System.Collections.Generic.IDictionary Add { get; set; } - - /// Remove headers (matching by header names) specified in the list. - [Newtonsoft.Json.JsonPropertyAttribute("remove")] - public virtual System.Collections.Generic.IList Remove { get; set; } + /// List of EndpointPolicy resources. + [Newtonsoft.Json.JsonPropertyAttribute("endpointPolicies")] + public virtual System.Collections.Generic.IList EndpointPolicies { get; set; } /// - /// Completely overwrite/replace the headers with given map where key is the name of the header, value is the - /// value of the header. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("set")] - public virtual System.Collections.Generic.IDictionary Set { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Static HTTP response object to be returned. - public class HttpRouteHttpDirectResponse : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListGateways method. + public class ListGatewaysResponse : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. Response body as bytes. Maximum body size is 4096B. - [Newtonsoft.Json.JsonPropertyAttribute("bytesBody")] - public virtual string BytesBody { get; set; } + /// List of Gateway resources. + [Newtonsoft.Json.JsonPropertyAttribute("gateways")] + public virtual System.Collections.Generic.IList Gateways { get; set; } - /// Required. Status to return as part of HTTP Response. Must be a positive integer. - [Newtonsoft.Json.JsonPropertyAttribute("status")] - public virtual System.Nullable Status { get; set; } + /// + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// Optional. Response body as a string. Maximum body length is 1024 characters. - [Newtonsoft.Json.JsonPropertyAttribute("stringBody")] - public virtual string StringBody { get; set; } + /// Locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Specifications to match a query parameter in the request. - public class HttpRouteQueryParameterMatch : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListGrpcRoutes method. + public class ListGrpcRoutesResponse : Google.Apis.Requests.IDirectResponseSchema { - /// - /// The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, - /// regex_match, or present_match must be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exactMatch")] - public virtual string ExactMatch { get; set; } + /// List of GrpcRoute resources. + [Newtonsoft.Json.JsonPropertyAttribute("grpcRoutes")] + public virtual System.Collections.Generic.IList GrpcRoutes { get; set; } /// - /// Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of - /// whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be - /// set. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("presentMatch")] - public virtual System.Nullable PresentMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// The name of the query parameter to match. - [Newtonsoft.Json.JsonPropertyAttribute("queryParameter")] - public virtual string QueryParameter { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response returned by the ListHttpRoutes method. + public class ListHttpRoutesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// List of HttpRoute resources. + [Newtonsoft.Json.JsonPropertyAttribute("httpRoutes")] + public virtual System.Collections.Generic.IList HttpRoutes { get; set; } /// - /// The value of the query parameter must match the regular expression specified by regex_match. For regular - /// expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, - /// regex_match, or present_match must be set. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] - public virtual string RegexMatch { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The specification for redirecting traffic. - public class HttpRouteRedirect : Google.Apis.Requests.IDirectResponseSchema + /// Message for response to listing `LbRouteExtension` resources. + public class ListLbRouteExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema { - /// - /// The host that will be used in the redirect response instead of the one that was supplied in the request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hostRedirect")] - public virtual string HostRedirect { get; set; } + /// The list of `LbRouteExtension` resources. + [Newtonsoft.Json.JsonPropertyAttribute("lbRouteExtensions")] + public virtual System.Collections.Generic.IList LbRouteExtensions { get; set; } - /// - /// If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of - /// the redirected request will remain the same as that of the request. The default is set to false. - /// - [Newtonsoft.Json.JsonPropertyAttribute("httpsRedirect")] - public virtual System.Nullable HttpsRedirect { get; set; } + /// A token identifying a page of results that the server returns. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// The path that will be used in the redirect response instead of the one that was supplied in the request. - /// path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is - /// supplied, the path of the original request will be used for the redirect. - /// - [Newtonsoft.Json.JsonPropertyAttribute("pathRedirect")] - public virtual string PathRedirect { get; set; } + /// Locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } - /// - /// The port that will be used in the redirected request instead of the one that was supplied in the request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("portRedirect")] - public virtual System.Nullable PortRedirect { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } - /// - /// Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This - /// option allows URLs be dynamically created based on the request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("prefixRewrite")] - public virtual string PrefixRewrite { get; set; } + /// Message for response to listing `LbTrafficExtension` resources. + public class ListLbTrafficExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of `LbTrafficExtension` resources. + [Newtonsoft.Json.JsonPropertyAttribute("lbTrafficExtensions")] + public virtual System.Collections.Generic.IList LbTrafficExtensions { get; set; } - /// The HTTP Status code to use for the redirect. - [Newtonsoft.Json.JsonPropertyAttribute("responseCode")] - public virtual string ResponseCode { get; set; } + /// A token identifying a page of results that the server returns. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// if set to true, any accompanying query portion of the original URL is removed prior to redirecting the - /// request. If set to false, the query portion of the original URL is retained. The default is set to false. - /// - [Newtonsoft.Json.JsonPropertyAttribute("stripQuery")] - public virtual System.Nullable StripQuery { get; set; } + /// Locations that could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not - /// wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority - /// header is suffixed with -shadow. - /// - public class HttpRouteRequestMirrorPolicy : Google.Apis.Requests.IDirectResponseSchema + /// The response message for Locations.ListLocations. + public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema { - /// - /// The destination the requests will be mirrored to. The weight of the destination will be ignored. - /// - [Newtonsoft.Json.JsonPropertyAttribute("destination")] - public virtual HttpRouteDestination Destination { get; set; } + /// A list of locations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } - /// Optional. The percentage of requests to get mirrored to the desired destination. - [Newtonsoft.Json.JsonPropertyAttribute("mirrorPercent")] - public virtual System.Nullable MirrorPercent { get; set; } + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The specifications for retries. - public class HttpRouteRetryPolicy : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the ListMeshes method. + public class ListMeshesResponse : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1. - /// - [Newtonsoft.Json.JsonPropertyAttribute("numRetries")] - public virtual System.Nullable NumRetries { get; set; } - - /// Specifies a non-zero timeout per retry attempt. - [Newtonsoft.Json.JsonPropertyAttribute("perTryTimeout")] - public virtual object PerTryTimeout { get; set; } + /// List of Mesh resources. + [Newtonsoft.Json.JsonPropertyAttribute("meshes")] + public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a - /// retry if the destination service responds with any 5xx response code, of if the destination service does not - /// respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. - /// gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a - /// retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: - /// Proxy will retry on failures connecting to destination for example due to connection timeouts. - /// retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error - /// supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a - /// REFUSED_STREAM error code. This reset type indicates that it is safe to retry. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("retryConditions")] - public virtual System.Collections.Generic.IList RetryConditions { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// The specifications for routing traffic and applying associated policies. - public class HttpRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + /// The response message for Operations.ListOperations. + public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema { - /// The specification for allowing client side cross-origin requests. - [Newtonsoft.Json.JsonPropertyAttribute("corsPolicy")] - public virtual HttpRouteCorsPolicy CorsPolicy { get; set; } + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// The destination to which traffic should be forwarded. - [Newtonsoft.Json.JsonPropertyAttribute("destinations")] - public virtual System.Collections.Generic.IList Destinations { get; set; } + /// A list of operations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual System.Collections.Generic.IList Operations { get; set; } - /// Optional. Static HTTP Response object to be returned regardless of the request. - [Newtonsoft.Json.JsonPropertyAttribute("directResponse")] - public virtual HttpRouteHttpDirectResponse DirectResponse { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response returned by the ListServiceBindings method. + public class ListServiceBindingsResponse : Google.Apis.Requests.IDirectResponseSchema + { /// - /// The specification for fault injection introduced into traffic to test the resiliency of clients to backend - /// service failure. As part of fault injection, when clients send requests to a backend service, delays can be - /// introduced on a percentage of requests before sending those requests to the backend service. Similarly - /// requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored - /// by clients that are configured with a fault_injection_policy + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] - public virtual HttpRouteFaultInjectionPolicy FaultInjectionPolicy { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in - /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the - /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. - /// - [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] - public virtual object IdleTimeout { get; set; } + /// List of ServiceBinding resources. + [Newtonsoft.Json.JsonPropertyAttribute("serviceBindings")] + public virtual System.Collections.Generic.IList ServiceBindings { get; set; } - /// If set, the request is directed as configured by this field. - [Newtonsoft.Json.JsonPropertyAttribute("redirect")] - public virtual HttpRouteRedirect Redirect { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response returned by the ListServiceLbPolicies method. + public class ListServiceLbPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema + { /// - /// The specification for modifying the headers of a matching request prior to delivery of the request to the - /// destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. - /// Conflicts between the two will not be resolved on the configuration. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("requestHeaderModifier")] - public virtual HttpRouteHeaderModifier RequestHeaderModifier { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored - /// destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior - /// to sending traffic to the shadow service, the host/authority header is suffixed with -shadow. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requestMirrorPolicy")] - public virtual HttpRouteRequestMirrorPolicy RequestMirrorPolicy { get; set; } + /// List of ServiceLbPolicy resources. + [Newtonsoft.Json.JsonPropertyAttribute("serviceLbPolicies")] + public virtual System.Collections.Generic.IList ServiceLbPolicies { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response returned by the ListTcpRoutes method. + public class ListTcpRoutesResponse : Google.Apis.Requests.IDirectResponseSchema + { /// - /// The specification for modifying the headers of a response prior to sending the response back to the client. - /// If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts - /// between the two will not be resolved on the configuration. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("responseHeaderModifier")] - public virtual HttpRouteHeaderModifier ResponseHeaderModifier { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// Specifies the retry policy associated with this route. - [Newtonsoft.Json.JsonPropertyAttribute("retryPolicy")] - public virtual HttpRouteRetryPolicy RetryPolicy { get; set; } + /// List of TcpRoute resources. + [Newtonsoft.Json.JsonPropertyAttribute("tcpRoutes")] + public virtual System.Collections.Generic.IList TcpRoutes { get; set; } - /// Optional. Specifies cookie-based stateful session affinity. - [Newtonsoft.Json.JsonPropertyAttribute("statefulSessionAffinity")] - public virtual HttpRouteStatefulSessionAffinityPolicy StatefulSessionAffinity { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response returned by the ListTlsRoutes method. + public class ListTlsRoutesResponse : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Specifies the timeout for selected route. Timeout is computed from the time the request has been fully - /// processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all - /// retries. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("timeout")] - public virtual object Timeout { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// The specification for rewrite URL before forwarding requests to the destination. - [Newtonsoft.Json.JsonPropertyAttribute("urlRewrite")] - public virtual HttpRouteURLRewrite UrlRewrite { get; set; } + /// List of TlsRoute resources. + [Newtonsoft.Json.JsonPropertyAttribute("tlsRoutes")] + public virtual System.Collections.Generic.IList TlsRoutes { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will - /// match if ALL type of matches are matched. - /// - public class HttpRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema + /// Response returned by the `ListWasmPluginVersions` method. + public class ListWasmPluginVersionsResponse : Google.Apis.Requests.IDirectResponseSchema { /// - /// The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or - /// regex_match should be used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fullPathMatch")] - public virtual string FullPathMatch { get; set; } - - /// - /// Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("headers")] - public virtual System.Collections.Generic.IList Headers { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ignoreCase")] - public virtual System.Nullable IgnoreCase { get; set; } + /// List of `WasmPluginVersion` resources. + [Newtonsoft.Json.JsonPropertyAttribute("wasmPluginVersions")] + public virtual System.Collections.Generic.IList WasmPluginVersions { get; set; } - /// - /// The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only - /// one of full_path_match, prefix_match, or regex_match should be used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("prefixMatch")] - public virtual string PrefixMatch { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response returned by the `ListWasmPlugins` method. + public class ListWasmPluginsResponse : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Specifies a list of query parameters to match against. ALL of the query parameters must be matched. + /// If there might be more results than those appearing in this response, then `next_page_token` is included. To + /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. /// - [Newtonsoft.Json.JsonPropertyAttribute("queryParameters")] - public virtual System.Collections.Generic.IList QueryParameters { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } - /// - /// The HTTP request path value must satisfy the regular expression specified by regex_match after removing any - /// query parameters and anchor supplied with the original URL. For regular expression grammar, please see - /// https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should - /// be used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regexMatch")] - public virtual string RegexMatch { get; set; } + /// List of `WasmPlugin` resources. + [Newtonsoft.Json.JsonPropertyAttribute("wasmPlugins")] + public virtual System.Collections.Generic.IList WasmPlugins { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Specifies how to match traffic and how to route traffic when traffic is matched. - public class HttpRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + /// A resource that represents a Google Cloud location. + public class Location : Google.Apis.Requests.IDirectResponseSchema { - /// The detailed rule defining how to route matched traffic. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual HttpRouteRouteAction Action { get; set; } + /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } /// - /// A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is - /// independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is - /// specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add - /// a rule with no matches specified to the end of the rules list. + /// Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} /// - [Newtonsoft.Json.JsonPropertyAttribute("matches")] - public virtual System.Collections.Generic.IList Matches { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The canonical id for this location. For example: `"us-east1"`. + [Newtonsoft.Json.JsonPropertyAttribute("locationId")] + public virtual string LocationId { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// Service-specific metadata. For example the available capacity at the given location. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } - /// - /// The specification for cookie-based stateful session affinity where the date plane supplies a “session cookie” - /// with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be - /// directed to that host as long as the destination host remains up and healthy. The gRPC proxyless mesh library or - /// sidecar proxy will manage the session cookie but the client application code is responsible for copying the - /// cookie from each RPC in the session to the next. - /// - public class HttpRouteStatefulSessionAffinityPolicy : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the - /// cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive. + /// Resource name for the location, which may vary between implementations. For example: + /// `"projects/example-project/locations/us-east1"` /// - [Newtonsoft.Json.JsonPropertyAttribute("cookieTtl")] - public virtual object CookieTtl { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// The specification for modifying the URL of the request, prior to forwarding the request to the destination. - /// - public class HttpRouteURLRewrite : Google.Apis.Requests.IDirectResponseSchema + /// The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. + public class LoggingConfig : Google.Apis.Requests.IDirectResponseSchema { /// - /// Prior to forwarding the request to the selected destination, the requests host header is replaced by this - /// value. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hostRewrite")] - public virtual string HostRewrite { get; set; } - - /// - /// Prior to forwarding the request to the selected destination, the matching portion of the requests path is - /// replaced by this value. + /// Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at + /// severitiy ≥ this value will be sent, unless it is NONE. /// - [Newtonsoft.Json.JsonPropertyAttribute("pathPrefixRewrite")] - public virtual string PathPrefixRewrite { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("logSeverity")] + public virtual string LogSeverity { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// `LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request. + /// Mesh represents a logical configuration grouping for workload to workload communication within a service mesh. + /// Routes that point to mesh dictate how requests are routed within this logical mesh boundary. /// - public class LbRouteExtension : Google.Apis.Requests.IDirectResponseSchema + public class Mesh : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -6879,107 +8169,289 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A human-readable description of the resource. + /// Optional. A free-text description of the resource. Max length 1024 characters. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } /// - /// Required. A set of ordered extension chains that contain the match conditions and extensions to execute. - /// Match conditions for each extension chain are evaluated in sequence for a given request. The first extension - /// chain that has a condition that matches the request is executed. Any subsequent extension chains do not - /// execute. Limited to 5 extension chains per resource. + /// Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers + /// may still be injected. By default, envoy will not insert any debug headers. /// - [Newtonsoft.Json.JsonPropertyAttribute("extensionChains")] - public virtual System.Collections.Generic.IList ExtensionChains { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("envoyHeaders")] + public virtual string EnvoyHeaders { get; set; } /// - /// Required. A list of references to the forwarding rules to which this service extension is attached to. At - /// least one forwarding rule is required. There can be only one `LbRouteExtension` resource per forwarding - /// rule. + /// Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port + /// of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port + /// regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. + /// This is applicable only for sidecar proxy deployments. /// - [Newtonsoft.Json.JsonPropertyAttribute("forwardingRules")] - public virtual System.Collections.Generic.IList ForwardingRules { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("interceptionPort")] + public virtual System.Nullable InterceptionPort { get; set; } - /// - /// Optional. Set of labels associated with the `LbRouteExtension` resource. The format must comply with [the - /// requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google - /// Cloud resources. - /// + /// Optional. Set of label tags associated with the Mesh resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Required. All backend services and forwarding rules referenced by this extension must share the same load - /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to - /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). + /// Identifier. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`. /// - [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] - public virtual string LoadBalancingScheme { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp when the resource was updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The matcher that is based on node metadata presented by xDS clients. + public class MetadataLabelMatcher : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Optional. The metadata provided here is included as part of the `metadata_context` (of type - /// `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is - /// available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the - /// metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource - /// name. + /// Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified + /// in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the + /// xDS client should contain all of the labels specified here. The selection is determined based on the best + /// match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the + /// matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config + /// from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client + /// with label connects, the config from P3 will be selected. If there is more than one best match, (for + /// example, if a config P4 with selector exists and if a client with label connects), pick up the one with + /// older creation time. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadataLabelMatchCriteria")] + public virtual string MetadataLabelMatchCriteria { get; set; } + + /// + /// The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria + /// This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify + /// a wildcard match (i.e this matches any client). + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadataLabels")] + public virtual System.Collections.Generic.IList MetadataLabels { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Defines a name-pair value for a single label. + public class MetadataLabels : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Label name presented as key in xDS Node Metadata. + [Newtonsoft.Json.JsonPropertyAttribute("labelName")] + public virtual string LabelName { get; set; } + + /// + /// Required. Label value presented as value corresponding to the above key, in xDS Node Metadata. + /// + [Newtonsoft.Json.JsonPropertyAttribute("labelValue")] + public virtual string LabelValue { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This resource represents a long-running operation that is the result of a network API call. + public class Operation : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, + /// and either `error` or `response` is available. + /// + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual Status Error { get; set; } + + /// + /// Service-specific metadata associated with the operation. It typically contains progress information and + /// common metadata such as create time. Some services might not provide such metadata. Any method that returns + /// a long-running operation should document the metadata type, if any. /// [Newtonsoft.Json.JsonPropertyAttribute("metadata")] public virtual System.Collections.Generic.IDictionary Metadata { get; set; } /// - /// Required. Identifier. Name of the `LbRouteExtension` resource in the following format: - /// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`. + /// The server-assigned name, which is only unique within the same service that originally returns it. If you + /// use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - private string _updateTimeRaw; + /// + /// The normal, successful response of the operation. If the original method returns no data on success, such as + /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have + /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is + /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class OperationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + private string _endTimeRaw; - private object _updateTime; + private object _endTime; - /// Output only. The timestamp when the resource was updated. - [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] - public virtual string UpdateTimeRaw + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual string EndTimeRaw { - get => _updateTimeRaw; + get => _endTimeRaw; set { - _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _updateTimeRaw = value; + _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _endTimeRaw = value; } } - /// representation of . + /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] + public virtual object EndTime { - get => _updateTime; + get => _endTime; set { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; + _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _endTime = value; } } - /// representation of . + /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + public virtual System.DateTimeOffset? EndTimeDateTimeOffset { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); + set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } + /// + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations that have + /// successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] + public virtual System.Nullable RequestedCancellation { get; set; } + + /// Output only. Human-readable status of the operation, if any. + [Newtonsoft.Json.JsonPropertyAttribute("statusMessage")] + public virtual string StatusMessage { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class RetryFilterPerRouteConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// The name of the crypto key to use for encrypting event data. + [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] + public virtual string CryptoKeyName { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// `LbTrafficExtension` is a resource that lets the extension service modify the headers and payloads of both - /// requests and responses without impacting the choice of backend services or any other security policies - /// associated with the backend service. + /// ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource. /// - public class LbTrafficExtension : Google.Apis.Requests.IDirectResponseSchema + public class ServiceBinding : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -7018,58 +8490,35 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A human-readable description of the resource. + /// Optional. A free-text description of the resource. Max length 1024 characters. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// - /// Required. A set of ordered extension chains that contain the match conditions and extensions to execute. - /// Match conditions for each extension chain are evaluated in sequence for a given request. The first extension - /// chain that has a condition that matches the request is executed. Any subsequent extension chains do not - /// execute. Limited to 5 extension chains per resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("extensionChains")] - public virtual System.Collections.Generic.IList ExtensionChains { get; set; } - - /// - /// Required. A list of references to the forwarding rules to which this service extension is attached to. At - /// least one forwarding rule is required. There can be only one `LBTrafficExtension` resource per forwarding - /// rule. - /// - [Newtonsoft.Json.JsonPropertyAttribute("forwardingRules")] - public virtual System.Collections.Generic.IList ForwardingRules { get; set; } - - /// - /// Optional. Set of labels associated with the `LbTrafficExtension` resource. The format must comply with [the - /// requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google - /// Cloud resources. - /// + /// Optional. Set of label tags associated with the ServiceBinding resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Required. All backend services and forwarding rules referenced by this extension must share the same load - /// balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to - /// [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). + /// Identifier. Name of the ServiceBinding resource. It matches pattern + /// `projects/*/locations/global/serviceBindings/service_binding_name`. /// - [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingScheme")] - public virtual string LoadBalancingScheme { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// - /// Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` - /// map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following - /// variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's - /// fully qualified resource name. + /// Required. The full Service Directory Service name of the format + /// projects/*/locations/*/namespaces/*/services/* /// - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } /// - /// Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: - /// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`. + /// Output only. The unique identifier of the Service Directory Service against which the Service Binding + /// resource is validated. This is populated when the Service Binding resource is used in another resource (like + /// Backend Service). This is of the UUID4 format. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("serviceId")] + public virtual string ServiceId { get; set; } private string _updateTimeRaw; @@ -7091,331 +8540,211 @@ public virtual string UpdateTimeRaw [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Message for response to listing `AuthzExtension` resources. - public class ListAuthzExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of `AuthzExtension` resources. - [Newtonsoft.Json.JsonPropertyAttribute("authzExtensions")] - public virtual System.Collections.Generic.IList AuthzExtensions { get; set; } - - /// A token identifying a page of results that the server returns. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// Locations that could not be reached. - [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] - public virtual System.Collections.Generic.IList Unreachable { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response returned by the ListEndpointPolicies method. - public class ListEndpointPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of EndpointPolicy resources. - [Newtonsoft.Json.JsonPropertyAttribute("endpointPolicies")] - public virtual System.Collections.Generic.IList EndpointPolicies { get; set; } - - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response returned by the ListGateways method. - public class ListGatewaysResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of Gateway resources. - [Newtonsoft.Json.JsonPropertyAttribute("gateways")] - public virtual System.Collections.Generic.IList Gateways { get; set; } - - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// Locations that could not be reached. - [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] - public virtual System.Collections.Generic.IList Unreachable { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response returned by the ListGrpcRoutes method. - public class ListGrpcRoutesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of GrpcRoute resources. - [Newtonsoft.Json.JsonPropertyAttribute("grpcRoutes")] - public virtual System.Collections.Generic.IList GrpcRoutes { get; set; } - - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response returned by the ListHttpRoutes method. - public class ListHttpRoutesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of HttpRoute resources. - [Newtonsoft.Json.JsonPropertyAttribute("httpRoutes")] - public virtual System.Collections.Generic.IList HttpRoutes { get; set; } - - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Message for response to listing `LbRouteExtension` resources. - public class ListLbRouteExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of `LbRouteExtension` resources. - [Newtonsoft.Json.JsonPropertyAttribute("lbRouteExtensions")] - public virtual System.Collections.Generic.IList LbRouteExtensions { get; set; } - - /// A token identifying a page of results that the server returns. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } - /// Locations that could not be reached. - [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] - public virtual System.Collections.Generic.IList Unreachable { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Message for response to listing `LbTrafficExtension` resources. - public class ListLbTrafficExtensionsResponse : Google.Apis.Requests.IDirectResponseSchema + /// + /// ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a + /// BackendService. + /// + public class ServiceLbPolicy : Google.Apis.Requests.IDirectResponseSchema { - /// The list of `LbTrafficExtension` resources. - [Newtonsoft.Json.JsonPropertyAttribute("lbTrafficExtensions")] - public virtual System.Collections.Generic.IList LbTrafficExtensions { get; set; } + /// + /// Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend + /// Service. + /// + [Newtonsoft.Json.JsonPropertyAttribute("autoCapacityDrain")] + public virtual ServiceLbPolicyAutoCapacityDrain AutoCapacityDrain { get; set; } - /// A token identifying a page of results that the server returns. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + private string _createTimeRaw; - /// Locations that could not be reached. - [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] - public virtual System.Collections.Generic.IList Unreachable { get; set; } + private object _createTime; - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// Output only. The timestamp when this resource was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } - /// The response message for Locations.ListLocations. - public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// A list of locations that matches the specified filter in the request. - [Newtonsoft.Json.JsonPropertyAttribute("locations")] - public virtual System.Collections.Generic.IList Locations { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } - /// The standard List next-page token. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// Optional. A free-text description of the resource. Max length 1024 characters. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } - /// Response returned by the ListMeshes method. - public class ListMeshesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// List of Mesh resources. - [Newtonsoft.Json.JsonPropertyAttribute("meshes")] - public virtual System.Collections.Generic.IList Meshes { get; set; } + /// Optional. Configuration related to health based failover. + [Newtonsoft.Json.JsonPropertyAttribute("failoverConfig")] + public virtual ServiceLbPolicyFailoverConfig FailoverConfig { get; set; } + + /// Optional. Set of label tags associated with the ServiceLbPolicy resource. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION. /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The response message for Operations.ListOperations. - public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The standard List next-page token. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// A list of operations that matches the specified filter in the request. - [Newtonsoft.Json.JsonPropertyAttribute("operations")] - public virtual System.Collections.Generic.IList Operations { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } + [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingAlgorithm")] + public virtual string LoadBalancingAlgorithm { get; set; } - /// Response returned by the ListServiceBindings method. - public class ListServiceBindingsResponse : Google.Apis.Requests.IDirectResponseSchema - { /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// Identifier. Name of the ServiceLbPolicy resource. It matches pattern + /// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } - /// List of ServiceBinding resources. - [Newtonsoft.Json.JsonPropertyAttribute("serviceBindings")] - public virtual System.Collections.Generic.IList ServiceBindings { get; set; } + private string _updateTimeRaw; - /// The ETag of the item. - public virtual string ETag { get; set; } - } + private object _updateTime; - /// Response returned by the ListServiceLbPolicies method. - public class ListServiceLbPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } + /// Output only. The timestamp when this resource was last updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } - /// List of ServiceLbPolicy resources. - [Newtonsoft.Json.JsonPropertyAttribute("serviceLbPolicies")] - public virtual System.Collections.Generic.IList ServiceLbPolicies { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Response returned by the ListTcpRoutes method. - public class ListTcpRoutesResponse : Google.Apis.Requests.IDirectResponseSchema + /// + /// Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. + /// + public class ServiceLbPolicyAutoCapacityDrain : Google.Apis.Requests.IDirectResponseSchema { /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy + /// if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in + /// draining more than 50% of the configured IGs/NEGs for the Backend Service. /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// List of TcpRoute resources. - [Newtonsoft.Json.JsonPropertyAttribute("tcpRoutes")] - public virtual System.Collections.Generic.IList TcpRoutes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("enable")] + public virtual System.Nullable Enable { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Response returned by the ListTlsRoutes method. - public class ListTlsRoutesResponse : Google.Apis.Requests.IDirectResponseSchema + /// + /// Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy. + /// + public class ServiceLbPolicyFailoverConfig : Google.Apis.Requests.IDirectResponseSchema { /// - /// If there might be more results than those appearing in this response, then `next_page_token` is included. To - /// get the next set of results, call this method again using the value of `next_page_token` as `page_token`. + /// Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If + /// the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover + /// backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for + /// Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others. /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// List of TlsRoute resources. - [Newtonsoft.Json.JsonPropertyAttribute("tlsRoutes")] - public virtual System.Collections.Generic.IList TlsRoutes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("failoverHealthThreshold")] + public virtual System.Nullable FailoverHealthThreshold { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// A resource that represents a Google Cloud location. - public class Location : Google.Apis.Requests.IDirectResponseSchema - { - /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} - /// - [Newtonsoft.Json.JsonPropertyAttribute("labels")] - public virtual System.Collections.Generic.IDictionary Labels { get; set; } - - /// The canonical id for this location. For example: `"us-east1"`. - [Newtonsoft.Json.JsonPropertyAttribute("locationId")] - public virtual string LocationId { get; set; } - - /// Service-specific metadata. For example the available capacity at the given location. - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + /// + /// The `Status` type defines a logical error model that is suitable for different programming environments, + /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains + /// three pieces of data: error code, error message, and error details. You can find out more about this error model + /// and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). + /// + public class Status : Google.Apis.Requests.IDirectResponseSchema + { + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } /// - /// Resource name for the location, which may vary between implementations. For example: - /// `"projects/example-project/locations/us-east1"` + /// A list of messages that carry the error details. There is a common set of message types for APIs to use. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } - /// The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. - public class LoggingConfig : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at - /// severitiy ≥ this value will be sent, unless it is NONE. + /// A developer-facing error message, which should be in English. Any user-facing error message should be + /// localized and sent in the google.rpc.Status.details field, or localized by the client. /// - [Newtonsoft.Json.JsonPropertyAttribute("logSeverity")] - public virtual string LogSeverity { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// Mesh represents a logical configuration grouping for workload to workload communication within a service mesh. - /// Routes that point to mesh dictate how requests are routed within this logical mesh boundary. + /// TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource. /// - public class Mesh : Google.Apis.Requests.IDirectResponseSchema + public class TcpRoute : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -7459,31 +8788,39 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string Description { get; set; } /// - /// Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers - /// may still be injected. By default, envoy will not insert any debug headers. - /// - [Newtonsoft.Json.JsonPropertyAttribute("envoyHeaders")] - public virtual string EnvoyHeaders { get; set; } - - /// - /// Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port - /// of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port - /// regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. - /// This is applicable only for sidecar proxy deployments. + /// Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to + /// route the requests served by the gateway. Each gateway reference should match the pattern: + /// `projects/*/locations/global/gateways/` /// - [Newtonsoft.Json.JsonPropertyAttribute("interceptionPort")] - public virtual System.Nullable InterceptionPort { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("gateways")] + public virtual System.Collections.Generic.IList Gateways { get; set; } - /// Optional. Set of label tags associated with the Mesh resource. + /// Optional. Set of label tags associated with the TcpRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Identifier. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`. + /// Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route + /// the requests served by the mesh. Each mesh reference should match the pattern: + /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR + /// + [Newtonsoft.Json.JsonPropertyAttribute("meshes")] + public virtual System.Collections.Generic.IList Meshes { get; set; } + + /// + /// Identifier. Name of the TcpRoute resource. It matches pattern + /// `projects/*/locations/global/tcpRoutes/tcp_route_name&gt;`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If + /// there are multiple rules then the action taken will be the first rule to match. + /// + [Newtonsoft.Json.JsonPropertyAttribute("rules")] + public virtual System.Collections.Generic.IList Rules { get; set; } + /// Output only. Server-defined URL of this resource [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] public virtual string SelfLink { get; set; } @@ -7529,214 +8866,103 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// The matcher that is based on node metadata presented by xDS clients. - public class MetadataLabelMatcher : Google.Apis.Requests.IDirectResponseSchema + /// The specifications for routing traffic and applying associated policies. + public class TcpRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema { /// - /// Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified - /// in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the - /// xDS client should contain all of the labels specified here. The selection is determined based on the best - /// match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the - /// matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config - /// from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client - /// with label connects, the config from P3 will be selected. If there is more than one best match, (for - /// example, if a config P4 with selector exists and if a client with label connects), pick up the one with - /// older creation time. + /// Optional. The destination services to which traffic should be forwarded. At least one destination service is + /// required. Only one of route destination or original destination can be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("metadataLabelMatchCriteria")] - public virtual string MetadataLabelMatchCriteria { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("destinations")] + public virtual System.Collections.Generic.IList Destinations { get; set; } /// - /// The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria - /// This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify - /// a wildcard match (i.e this matches any client). + /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in + /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the + /// default idle timeout is 30 seconds. If set to 0s, the timeout will be disabled. /// - [Newtonsoft.Json.JsonPropertyAttribute("metadataLabels")] - public virtual System.Collections.Generic.IList MetadataLabels { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Defines a name-pair value for a single label. - public class MetadataLabels : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Label name presented as key in xDS Node Metadata. - [Newtonsoft.Json.JsonPropertyAttribute("labelName")] - public virtual string LabelName { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] + public virtual object IdleTimeout { get; set; } /// - /// Required. Label value presented as value corresponding to the above key, in xDS Node Metadata. + /// Optional. If true, Router will use the destination IP and port of the original connection as the destination + /// of the request. Default is false. Only one of route destinations or original destination can be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("labelValue")] - public virtual string LabelValue { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("originalDestination")] + public virtual System.Nullable OriginalDestination { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// This resource represents a long-running operation that is the result of a network API call. - public class Operation : Google.Apis.Requests.IDirectResponseSchema + /// Describe the destination for traffic to be routed to. + public class TcpRouteRouteDestination : Google.Apis.Requests.IDirectResponseSchema { - /// - /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, - /// and either `error` or `response` is available. - /// - [Newtonsoft.Json.JsonPropertyAttribute("done")] - public virtual System.Nullable Done { get; set; } - - /// The error result of the operation in case of failure or cancellation. - [Newtonsoft.Json.JsonPropertyAttribute("error")] - public virtual Status Error { get; set; } - - /// - /// Service-specific metadata associated with the operation. It typically contains progress information and - /// common metadata such as create time. Some services might not provide such metadata. Any method that returns - /// a long-running operation should document the metadata type, if any. - /// - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual System.Collections.Generic.IDictionary Metadata { get; set; } - - /// - /// The server-assigned name, which is only unique within the same service that originally returns it. If you - /// use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + /// Required. The URL of a BackendService to route traffic to. + [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] + public virtual string ServiceName { get; set; } /// - /// The normal, successful response of the operation. If the original method returns no data on success, such as - /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard - /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have - /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is - /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. + /// This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some + /// epsilon from the exact proportion defined here depending on the precision an implementation supports. If + /// only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to + /// that backend. If weights are specified for any one service name, they need to be specified for all of them. + /// If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of + /// them. /// - [Newtonsoft.Json.JsonPropertyAttribute("response")] - public virtual System.Collections.Generic.IDictionary Response { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("weight")] + public virtual System.Nullable Weight { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Represents the metadata of the long-running operation. - public class OperationMetadata : Google.Apis.Requests.IDirectResponseSchema + /// + /// RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for + /// evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. + /// + public class TcpRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema { - /// Output only. API version used to start the operation. - [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] - public virtual string ApiVersion { get; set; } - - private string _createTimeRaw; - - private object _createTime; - - /// Output only. The time the operation was created. - [Newtonsoft.Json.JsonPropertyAttribute("createTime")] - public virtual string CreateTimeRaw - { - get => _createTimeRaw; - set - { - _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _createTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] - public virtual object CreateTime - { - get => _createTime; - set - { - _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _createTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? CreateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); - set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - private string _endTimeRaw; - - private object _endTime; - - /// Output only. The time the operation finished running. - [Newtonsoft.Json.JsonPropertyAttribute("endTime")] - public virtual string EndTimeRaw - { - get => _endTimeRaw; - set - { - _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _endTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] - public virtual object EndTime - { - get => _endTime; - set - { - _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _endTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? EndTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); - set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - /// - /// Output only. Identifies whether the user has requested cancellation of the operation. Operations that have - /// successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to - /// `Code.CANCELLED`. + /// Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix + /// length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). + /// Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. + /// "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" + /// - matches against any IP address'. /// - [Newtonsoft.Json.JsonPropertyAttribute("requestedCancellation")] - public virtual System.Nullable RequestedCancellation { get; set; } - - /// Output only. Human-readable status of the operation, if any. - [Newtonsoft.Json.JsonPropertyAttribute("statusMessage")] - public virtual string StatusMessage { get; set; } - - /// Output only. Server-defined resource path for the target of the operation. - [Newtonsoft.Json.JsonPropertyAttribute("target")] - public virtual string Target { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("address")] + public virtual string Address { get; set; } - /// Output only. Name of the verb executed by the operation. - [Newtonsoft.Json.JsonPropertyAttribute("verb")] - public virtual string Verb { get; set; } + /// Required. Specifies the destination port to match against. + [Newtonsoft.Json.JsonPropertyAttribute("port")] + public virtual string Port { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - public class RetryFilterPerRouteConfig : Google.Apis.Requests.IDirectResponseSchema + /// Specifies how to match traffic and how to route traffic when traffic is matched. + public class TcpRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema { - /// The name of the crypto key to use for encrypting event data. - [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] - public virtual string CryptoKeyName { get; set; } + /// Required. The detailed rule defining how to route matched traffic. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual TcpRouteRouteAction Action { get; set; } + + /// + /// Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types + /// are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match + /// traffic. + /// + [Newtonsoft.Json.JsonPropertyAttribute("matches")] + public virtual System.Collections.Generic.IList Matches { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource. - /// - public class ServiceBinding : Google.Apis.Requests.IDirectResponseSchema + /// TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes. + public class TlsRoute : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -7779,31 +9005,43 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// Optional. Set of label tags associated with the ServiceBinding resource. + /// + /// Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to + /// route the requests served by the gateway. Each gateway reference should match the pattern: + /// `projects/*/locations/global/gateways/` + /// + [Newtonsoft.Json.JsonPropertyAttribute("gateways")] + public virtual System.Collections.Generic.IList Gateways { get; set; } + + /// Optional. Set of label tags associated with the TlsRoute resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Identifier. Name of the ServiceBinding resource. It matches pattern - /// `projects/*/locations/global/serviceBindings/service_binding_name`. + /// Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route + /// the requests served by the mesh. Each mesh reference should match the pattern: + /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("meshes")] + public virtual System.Collections.Generic.IList Meshes { get; set; } /// - /// Required. The full Service Directory Service name of the format - /// projects/*/locations/*/namespaces/*/services/* + /// Identifier. Name of the TlsRoute resource. It matches pattern + /// `projects/*/locations/global/tlsRoutes/tls_route_name&gt;`. /// - [Newtonsoft.Json.JsonPropertyAttribute("service")] - public virtual string Service { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// - /// Output only. The unique identifier of the Service Directory Service against which the Service Binding - /// resource is validated. This is populated when the Service Binding resource is used in another resource (like - /// Backend Service). This is of the UUID4 format. + /// Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If + /// there are multiple rules then the action taken will be the first rule to match. /// - [Newtonsoft.Json.JsonPropertyAttribute("serviceId")] - public virtual string ServiceId { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("rules")] + public virtual System.Collections.Generic.IList Rules { get; set; } + + /// Output only. Server-defined URL of this resource + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } private string _updateTimeRaw; @@ -7846,24 +9084,114 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// The specifications for routing traffic and applying associated policies. + public class TlsRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The destination services to which traffic should be forwarded. At least one destination service is + /// required. + /// + [Newtonsoft.Json.JsonPropertyAttribute("destinations")] + public virtual System.Collections.Generic.IList Destinations { get; set; } + + /// + /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in + /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the + /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. + /// + [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] + public virtual object IdleTimeout { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describe the destination for traffic to be routed to. + public class TlsRouteRouteDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The URL of a BackendService to route traffic to. + [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] + public virtual string ServiceName { get; set; } + + /// + /// Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name + /// field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need + /// to sum up to 100. + /// + [Newtonsoft.Json.JsonPropertyAttribute("weight")] + public virtual System.Nullable Weight { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// - /// ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a - /// BackendService. + /// RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for + /// evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. /// - public class ServiceLbPolicy : Google.Apis.Requests.IDirectResponseSchema + public class TlsRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend - /// Service. + /// Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At + /// least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. /// - [Newtonsoft.Json.JsonPropertyAttribute("autoCapacityDrain")] - public virtual ServiceLbPolicyAutoCapacityDrain AutoCapacityDrain { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("alpn")] + public virtual System.Collections.Generic.IList Alpn { get; set; } + + /// + /// Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, + /// i.e. `www.example.com` will be first matched against `www.example.com`, then `*.example.com`, then `*.com.` + /// Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host + /// and alpn is required. Up to 100 sni hosts across all matches can be set. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sniHost")] + public virtual System.Collections.Generic.IList SniHost { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Specifies how to match traffic and how to route traffic when traffic is matched. + public class TlsRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The detailed rule defining how to route matched traffic. + [Newtonsoft.Json.JsonPropertyAttribute("action")] + public virtual TlsRouteRouteAction Action { get; set; } + + /// + /// Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types + /// are "OR"ed for evaluation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("matches")] + public virtual System.Collections.Generic.IList Matches { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Specification of a port-based selector. + public class TrafficPortSelector : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 + /// to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are + /// selected. + /// + [Newtonsoft.Json.JsonPropertyAttribute("ports")] + public virtual System.Collections.Generic.IList Ports { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// `WasmPlugin` is a resource representing a service executing a customer-provided Wasm module. + public class WasmPlugin : Google.Apis.Requests.IDirectResponseSchema + { private string _createTimeRaw; private object _createTime; - /// Output only. The timestamp when this resource was created. + /// Output only. The timestamp when the resource was created. [Newtonsoft.Json.JsonPropertyAttribute("createTime")] public virtual string CreateTimeRaw { @@ -7896,27 +9224,35 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A free-text description of the resource. Max length 1024 characters. + /// Optional. A human-readable description of the resource. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } - /// Optional. Configuration related to health based failover. - [Newtonsoft.Json.JsonPropertyAttribute("failoverConfig")] - public virtual ServiceLbPolicyFailoverConfig FailoverConfig { get; set; } - - /// Optional. Set of label tags associated with the ServiceLbPolicy resource. + /// + /// Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the + /// following requirements](/compute/docs/labeling-resources#requirements). + /// [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION. + /// Optional. Specifies the logging options for the activity performed by this `WasmPlugin`. If logging is + /// enabled, plugin logs are exported to Cloud Logging. Note that the settings relate to the logs generated by + /// using logging statements in your Wasm code. /// - [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingAlgorithm")] - public virtual string LoadBalancingAlgorithm { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("logConfig")] + public virtual WasmPluginLogConfig LogConfig { get; set; } /// - /// Required. Name of the ServiceLbPolicy resource. It matches pattern - /// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. + /// Optional. The ID of the `WasmPluginVersion` resource that is the currently serving one. The version referred + /// to must be a child of this `WasmPlugin` resource. + /// + [Newtonsoft.Json.JsonPropertyAttribute("mainVersionId")] + public virtual string MainVersionId { get; set; } + + /// + /// Identifier. Name of the `WasmPlugin` resource in the following format: + /// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -7925,7 +9261,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset private object _updateTime; - /// Output only. The timestamp when this resource was last updated. + /// Output only. The timestamp when the resource was updated. [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] public virtual string UpdateTimeRaw { @@ -7958,78 +9294,82 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } + /// + /// Output only. List of all [Service Extensions](https://cloud.google.com/service-extensions/docs/overview) + /// that use this `WasmPlugin`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("usedBy")] + public virtual System.Collections.Generic.IList UsedBy { get; set; } + + /// + /// Optional. All versions of this `WasmPlugin` in the key-value format. The key is the resource ID, the value + /// is the `VersionDetails`. Allows to create or update `WasmPlugin` and its WasmPluginVersions in a single + /// request. When the `main_version_id` field is not empty it must point to one of the VersionDetails in the + /// map. If provided in the update request, the new versions replace the previous set. Any version omitted from + /// the `versions` will be removed. Since the `WasmPluginVersion` resource is immutable, if the + /// WasmPluginVersion with the same name already exists and differs the Update request will fail. Note: In the + /// GET request, this field is populated only if the GetWasmPluginRequest.view is set to WASM_PLUGIN_VIEW_FULL. + /// + [Newtonsoft.Json.JsonPropertyAttribute("versions")] + public virtual System.Collections.Generic.IDictionary Versions { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. + /// Specifies the logging options for the activity performed by this `WasmPlugin`. If logging is enabled, plugin + /// logs are exported to Cloud Logging. /// - public class ServiceLbPolicyAutoCapacityDrain : Google.Apis.Requests.IDirectResponseSchema + public class WasmPluginLogConfig : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy - /// if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in - /// draining more than 50% of the configured IGs/NEGs for the Backend Service. + /// Optional. Specifies whether to enable logging for activity by this `WasmPlugin`. Defaults to `false`. /// [Newtonsoft.Json.JsonPropertyAttribute("enable")] public virtual System.Nullable Enable { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// + /// Non-empty default. Specificies the lowest level of the plugin logs that are exported to Cloud Logging. This + /// setting relates to the logs generated by using logging statements in your Wasm code. This field is can be + /// set only if logging is enabled for the `WasmPlugin` resource. If the field is not provided when logging is + /// enabled, it is set to `INFO` by default. + /// + [Newtonsoft.Json.JsonPropertyAttribute("minLogLevel")] + public virtual string MinLogLevel { get; set; } - /// - /// Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy. - /// - public class ServiceLbPolicyFailoverConfig : Google.Apis.Requests.IDirectResponseSchema - { /// - /// Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If - /// the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover - /// backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for - /// Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others. + /// Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is + /// reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates + /// that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value + /// of the field must be between `0` and `1` (inclusive). This field can only be specified if logging is enabled + /// for this `WasmPlugin`. /// - [Newtonsoft.Json.JsonPropertyAttribute("failoverHealthThreshold")] - public virtual System.Nullable FailoverHealthThreshold { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("sampleRate")] + public virtual System.Nullable SampleRate { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// - /// The `Status` type defines a logical error model that is suitable for different programming environments, - /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains - /// three pieces of data: error code, error message, and error details. You can find out more about this error model - /// and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). - /// - public class Status : Google.Apis.Requests.IDirectResponseSchema + /// Defines a resource that uses the `WasmPlugin`. + public class WasmPluginUsedBy : Google.Apis.Requests.IDirectResponseSchema { - /// The status code, which should be an enum value of google.rpc.Code. - [Newtonsoft.Json.JsonPropertyAttribute("code")] - public virtual System.Nullable Code { get; set; } - - /// - /// A list of messages that carry the error details. There is a common set of message types for APIs to use. - /// - [Newtonsoft.Json.JsonPropertyAttribute("details")] - public virtual System.Collections.Generic.IList> Details { get; set; } - /// - /// A developer-facing error message, which should be in English. Any user-facing error message should be - /// localized and sent in the google.rpc.Status.details field, or localized by the client. + /// Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. + /// `//networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}` /// - [Newtonsoft.Json.JsonPropertyAttribute("message")] - public virtual string Message { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// - /// TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource. + /// A single immutable version of a `WasmPlugin`. Defines the Wasm module used and optionally its runtime config. /// - public class TcpRoute : Google.Apis.Requests.IDirectResponseSchema + public class WasmPluginVersion : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -8068,47 +9408,61 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A free-text description of the resource. Max length 1024 characters. + /// Optional. A human-readable description of the resource. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } /// - /// Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to - /// route the requests served by the gateway. Each gateway reference should match the pattern: - /// `projects/*/locations/global/gateways/` + /// Output only. The resolved digest for the image specified in `image`. The digest is resolved during the + /// creation of `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or + /// digest was originally specified in the `image` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("gateways")] - public virtual System.Collections.Generic.IList Gateways { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("imageDigest")] + public virtual string ImageDigest { get; set; } - /// Optional. Set of label tags associated with the TcpRoute resource. + /// + /// Optional. URI of the container image containing the Wasm plugin, stored in the Artifact Registry. When a new + /// `WasmPluginVersion` resource is created, the digest of the container image is saved in the `image_digest` + /// field. When downloading an image, the digest value is used instead of an image tag. + /// + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } + + /// Optional. Set of labels associated with the `WasmPluginVersion` resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route - /// the requests served by the mesh. Each mesh reference should match the pattern: - /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR + /// Identifier. Name of the `WasmPluginVersion` resource in the following format: + /// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/ versions/{wasm_plugin_version}`. /// - [Newtonsoft.Json.JsonPropertyAttribute("meshes")] - public virtual System.Collections.Generic.IList Meshes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } /// - /// Identifier. Name of the TcpRoute resource. It matches pattern - /// `projects/*/locations/global/tcpRoutes/tcp_route_name&gt;`. + /// Configuration for the Wasm plugin. The configuration is provided to the Wasm plugin at runtime through the + /// `ON_CONFIGURE` callback. When a new `WasmPluginVersion` resource is created, the digest of the contents is + /// saved in the `plugin_config_digest` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigData")] + public virtual string PluginConfigData { get; set; } /// - /// Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If - /// there are multiple rules then the action taken will be the first rule to match. + /// Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is + /// calculated based on the contents of the `plugin_config_data` or the container image defined by the + /// `plugin_config_uri` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigDigest")] + public virtual string PluginConfigDigest { get; set; } - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + /// + /// URI of the Wasm plugin configuration stored in the Artifact Registry. The configuration is provided to the + /// plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single file + /// with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the + /// container image is saved in the `plugin_config_digest` field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigUri")] + public virtual string PluginConfigUri { get; set; } private string _updateTimeRaw; @@ -8151,103 +9505,8 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// The specifications for routing traffic and applying associated policies. - public class TcpRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. The destination services to which traffic should be forwarded. At least one destination service is - /// required. Only one of route destination or original destination can be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("destinations")] - public virtual System.Collections.Generic.IList Destinations { get; set; } - - /// - /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in - /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the - /// default idle timeout is 30 seconds. If set to 0s, the timeout will be disabled. - /// - [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] - public virtual object IdleTimeout { get; set; } - - /// - /// Optional. If true, Router will use the destination IP and port of the original connection as the destination - /// of the request. Default is false. Only one of route destinations or original destination can be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("originalDestination")] - public virtual System.Nullable OriginalDestination { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Describe the destination for traffic to be routed to. - public class TcpRouteRouteDestination : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The URL of a BackendService to route traffic to. - [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] - public virtual string ServiceName { get; set; } - - /// - /// Optional. Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. - /// This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some - /// epsilon from the exact proportion defined here depending on the precision an implementation supports. If - /// only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to - /// that backend. If weights are specified for any one service name, they need to be specified for all of them. - /// If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of - /// them. - /// - [Newtonsoft.Json.JsonPropertyAttribute("weight")] - public virtual System.Nullable Weight { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for - /// evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. - /// - public class TcpRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix - /// length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). - /// Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. - /// "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - /// - matches against any IP address'. - /// - [Newtonsoft.Json.JsonPropertyAttribute("address")] - public virtual string Address { get; set; } - - /// Required. Specifies the destination port to match against. - [Newtonsoft.Json.JsonPropertyAttribute("port")] - public virtual string Port { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specifies how to match traffic and how to route traffic when traffic is matched. - public class TcpRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The detailed rule defining how to route matched traffic. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual TcpRouteRouteAction Action { get; set; } - - /// - /// Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types - /// are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match - /// traffic. - /// - [Newtonsoft.Json.JsonPropertyAttribute("matches")] - public virtual System.Collections.Generic.IList Matches { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes. - public class TlsRoute : Google.Apis.Requests.IDirectResponseSchema + /// Details of a `WasmPluginVersion` resource to be inlined in the `WasmPlugin` resource. + public class WasmPluginVersionDetails : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -8286,47 +9545,54 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } - /// Optional. A free-text description of the resource. Max length 1024 characters. + /// Optional. A human-readable description of the resource. [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } /// - /// Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to - /// route the requests served by the gateway. Each gateway reference should match the pattern: - /// `projects/*/locations/global/gateways/` + /// Output only. The resolved digest for the image specified in `image`. The digest is resolved during the + /// creation of a `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or + /// digest was originally specified in the `image` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("gateways")] - public virtual System.Collections.Generic.IList Gateways { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("imageDigest")] + public virtual string ImageDigest { get; set; } - /// Optional. Set of label tags associated with the TlsRoute resource. + /// + /// Optional. URI of the container image containing the Wasm module, stored in the Artifact Registry. The + /// container image must contain only a single file with the name `plugin.wasm`. When a new `WasmPluginVersion` + /// resource is created, the URI gets resolved to an image digest and saved in the `image_digest` field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } + + /// Optional. Set of labels associated with the `WasmPluginVersion` resource. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// - /// Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route - /// the requests served by the mesh. Each mesh reference should match the pattern: - /// `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR + /// Configuration for the Wasm plugin. The configuration is provided to the Wasm plugin at runtime through the + /// `ON_CONFIGURE` callback. When a new `WasmPluginVersion` version is created, the digest of the contents is + /// saved in the `plugin_config_digest` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("meshes")] - public virtual System.Collections.Generic.IList Meshes { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigData")] + public virtual string PluginConfigData { get; set; } /// - /// Identifier. Name of the TlsRoute resource. It matches pattern - /// `projects/*/locations/global/tlsRoutes/tls_route_name&gt;`. + /// Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is + /// calculated based on the contents of the `plugin_config_data` or the container image defined by the + /// `plugin_config_uri` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigDigest")] + public virtual string PluginConfigDigest { get; set; } /// - /// Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If - /// there are multiple rules then the action taken will be the first rule to match. + /// URI of the WasmPlugin configuration stored in the Artifact Registry. The configuration is provided to the + /// Wasm plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single + /// file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the + /// container image is saved in the `plugin_config_digest` field. /// - [Newtonsoft.Json.JsonPropertyAttribute("rules")] - public virtual System.Collections.Generic.IList Rules { get; set; } - - /// Output only. Server-defined URL of this resource - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("pluginConfigUri")] + public virtual string PluginConfigUri { get; set; } private string _updateTimeRaw; @@ -8368,104 +9634,4 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset /// The ETag of the item. public virtual string ETag { get; set; } } - - /// The specifications for routing traffic and applying associated policies. - public class TlsRouteRouteAction : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The destination services to which traffic should be forwarded. At least one destination service is - /// required. - /// - [Newtonsoft.Json.JsonPropertyAttribute("destinations")] - public virtual System.Collections.Generic.IList Destinations { get; set; } - - /// - /// Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in - /// which there are no bytes sent or received on either the upstream or downstream connection. If not set, the - /// default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. - /// - [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] - public virtual object IdleTimeout { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Describe the destination for traffic to be routed to. - public class TlsRouteRouteDestination : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The URL of a BackendService to route traffic to. - [Newtonsoft.Json.JsonPropertyAttribute("serviceName")] - public virtual string ServiceName { get; set; } - - /// - /// Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name - /// field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need - /// to sum up to 100. - /// - [Newtonsoft.Json.JsonPropertyAttribute("weight")] - public virtual System.Nullable Weight { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for - /// evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. - /// - public class TlsRouteRouteMatch : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At - /// least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("alpn")] - public virtual System.Collections.Generic.IList Alpn { get; set; } - - /// - /// Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, - /// i.e. `www.example.com` will be first matched against `www.example.com`, then `*.example.com`, then `*.com.` - /// Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host - /// and alpn is required. Up to 100 sni hosts across all matches can be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sniHost")] - public virtual System.Collections.Generic.IList SniHost { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specifies how to match traffic and how to route traffic when traffic is matched. - public class TlsRouteRouteRule : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The detailed rule defining how to route matched traffic. - [Newtonsoft.Json.JsonPropertyAttribute("action")] - public virtual TlsRouteRouteAction Action { get; set; } - - /// - /// Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types - /// are "OR"ed for evaluation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("matches")] - public virtual System.Collections.Generic.IList Matches { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specification of a port-based selector. - public class TrafficPortSelector : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 - /// to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are - /// selected. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ports")] - public virtual System.Collections.Generic.IList Ports { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } } diff --git a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj index ffe6be60c18..e5924888357 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkServices.v1beta1 Client Library - 1.68.0.3549 + 1.68.0.3570 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.cs b/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.cs index 9747ca2c4f2..2912fa3c2ee 100644 --- a/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.cs +++ b/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.cs @@ -2385,6 +2385,92 @@ public class GoogleCloudOrgpolicyV2Constraint : Google.Apis.Requests.IDirectResp /// public class GoogleCloudOrgpolicyV2ConstraintBooleanConstraint : Google.Apis.Requests.IDirectResponseSchema { + /// Custom constraint definition. This is set only for Managed Constraints + [Newtonsoft.Json.JsonPropertyAttribute("customConstraintDefinition")] + public virtual GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition CustomConstraintDefinition { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Currently used for Managed Constraints. This represents a subset of fields missing from Constraint proto that + /// are required to describe CustomConstraint + /// + public class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition : Google.Apis.Requests.IDirectResponseSchema + { + /// Allow or deny type. + [Newtonsoft.Json.JsonPropertyAttribute("actionType")] + public virtual string ActionType { get; set; } + + /// + /// Org policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` + /// or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("condition")] + public virtual string Condition { get; set; } + + /// All the operations being applied for this constraint. + [Newtonsoft.Json.JsonPropertyAttribute("methodTypes")] + public virtual System.Collections.Generic.IList MethodTypes { get; set; } + + /// + /// Stores Structure of parameters used by Constraint condition. Key of map represents name of the parameter. + /// + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// + /// The resource instance type on which this policy applies. Format will be of the form : `/` Example: * + /// `compute.googleapis.com/Instance`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceTypes")] + public virtual System.Collections.Generic.IList ResourceTypes { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Defines a parameter structure. + public class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter : Google.Apis.Requests.IDirectResponseSchema + { + /// Sets the value of the parameter in an assignment if no value is given. + [Newtonsoft.Json.JsonPropertyAttribute("defaultValue")] + public virtual object DefaultValue { get; set; } + + /// + /// Determines the parameter’s value structure. For example, LIST can be specified by defining type : LIST, and + /// item type as : STRING. + /// + [Newtonsoft.Json.JsonPropertyAttribute("item")] + public virtual string Item { get; set; } + + /// Defines subproperties primarily used by the UI to display user-friendly information. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata Metadata { get; set; } + + /// Type of the parameter. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// + /// Provides a CEL expression to specify the acceptable parameter values during assignment. For example, + /// parameterName in ("parameterValue1", "parameterValue2") + /// + [Newtonsoft.Json.JsonPropertyAttribute("validValuesExpr")] + public virtual string ValidValuesExpr { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Defines Medata structure. + public class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Detailed description of what this `parameter` is and use of it. Mutable. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.csproj b/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.csproj index 5d2ae2ce783..33141314d06 100644 --- a/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.csproj +++ b/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.OrgPolicyAPI.v2 Client Library - 1.68.0.3420 + 1.68.0.3581 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs index 5481a87ecca..2e6f643a383 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs @@ -62,8 +62,6 @@ public ShoppingContentService(Google.Apis.Services.BaseClientService.Initializer Returnaddress = new ReturnaddressResource(this); Returnpolicy = new ReturnpolicyResource(this); Returnpolicyonline = new ReturnpolicyonlineResource(this); - Settlementreports = new SettlementreportsResource(this); - Settlementtransactions = new SettlementtransactionsResource(this); Shippingsettings = new ShippingsettingsResource(this); Shoppingadsprogram = new ShoppingadsprogramResource(this); BaseUri = GetEffectiveUri(BaseUriOverride, "https://shoppingcontent.googleapis.com/content/v2.1/"); @@ -186,12 +184,6 @@ public static class ScopeConstants /// Gets the Returnpolicyonline resource. public virtual ReturnpolicyonlineResource Returnpolicyonline { get; } - /// Gets the Settlementreports resource. - public virtual SettlementreportsResource Settlementreports { get; } - - /// Gets the Settlementtransactions resource. - public virtual SettlementtransactionsResource Settlementtransactions { get; } - /// Gets the Shippingsettings resource. public virtual ShippingsettingsResource Shippingsettings { get; } @@ -3255,7 +3247,7 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Sho [Google.Apis.Util.RequestParameterAttribute("conversionSourceId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ConversionSourceId { get; private set; } - /// Required. List of fields being updated. + /// Optional. List of fields being updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } @@ -9361,293 +9353,6 @@ protected override void InitParameters() } } - /// The "settlementreports" collection of methods. - public class SettlementreportsResource - { - private const string Resource = "settlementreports"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public SettlementreportsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Retrieves a settlement report from your Merchant Center account. - /// The Merchant Center account of the settlement report. - /// The Google-provided ID of the settlement. - public virtual GetRequest Get(ulong merchantId, string settlementId) - { - return new GetRequest(this.service, merchantId, settlementId); - } - - /// Retrieves a settlement report from your Merchant Center account. - public class GetRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, ulong merchantId, string settlementId) : base(service) - { - MerchantId = merchantId; - SettlementId = settlementId; - InitParameters(); - } - - /// The Merchant Center account of the settlement report. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// The Google-provided ID of the settlement. - [Google.Apis.Util.RequestParameterAttribute("settlementId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string SettlementId { get; private set; } - - /// Gets the method name. - public override string MethodName => "get"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/settlementreports/{settlementId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("settlementId", new Google.Apis.Discovery.Parameter - { - Name = "settlementId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Retrieves a list of settlement reports from your Merchant Center account. - /// The Merchant Center account to list settlements for. - public virtual ListRequest List(ulong merchantId) - { - return new ListRequest(this.service, merchantId); - } - - /// Retrieves a list of settlement reports from your Merchant Center account. - public class ListRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) - { - MerchantId = merchantId; - InitParameters(); - } - - /// The Merchant Center account to list settlements for. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// - /// The maximum number of settlements to return in the response, used for paging. The default value is 200 - /// returns per page, and the maximum allowed value is 5000 returns per page. - /// - [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable MaxResults { get; set; } - - /// The token returned by the previous request. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// - /// Obtains settlements which have transactions before this date (inclusively), in ISO 8601 format. - /// - [Google.Apis.Util.RequestParameterAttribute("transferEndDate", Google.Apis.Util.RequestParameterType.Query)] - public virtual string TransferEndDate { get; set; } - - /// - /// Obtains settlements which have transactions after this date (inclusively), in ISO 8601 format. - /// - [Google.Apis.Util.RequestParameterAttribute("transferStartDate", Google.Apis.Util.RequestParameterType.Query)] - public virtual string TransferStartDate { get; set; } - - /// Gets the method name. - public override string MethodName => "list"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/settlementreports"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter - { - Name = "maxResults", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("transferEndDate", new Google.Apis.Discovery.Parameter - { - Name = "transferEndDate", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("transferStartDate", new Google.Apis.Discovery.Parameter - { - Name = "transferStartDate", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "settlementtransactions" collection of methods. - public class SettlementtransactionsResource - { - private const string Resource = "settlementtransactions"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public SettlementtransactionsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Retrieves a list of transactions for the settlement. - /// The Merchant Center account to list transactions for. - /// The Google-provided ID of the settlement. - public virtual ListRequest List(ulong merchantId, string settlementId) - { - return new ListRequest(this.service, merchantId, settlementId); - } - - /// Retrieves a list of transactions for the settlement. - public class ListRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, ulong merchantId, string settlementId) : base(service) - { - MerchantId = merchantId; - SettlementId = settlementId; - InitParameters(); - } - - /// The Merchant Center account to list transactions for. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// The Google-provided ID of the settlement. - [Google.Apis.Util.RequestParameterAttribute("settlementId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string SettlementId { get; private set; } - - /// - /// The maximum number of transactions to return in the response, used for paging. The default value is 200 - /// transactions per page, and the maximum allowed value is 5000 transactions per page. - /// - [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable MaxResults { get; set; } - - /// The token returned by the previous request. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The list of transactions to return. If not set, all transactions will be returned. - [Google.Apis.Util.RequestParameterAttribute("transactionIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable TransactionIds { get; set; } - - /// Gets the method name. - public override string MethodName => "list"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/settlementreports/{settlementId}/transactions"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("settlementId", new Google.Apis.Discovery.Parameter - { - Name = "settlementId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter - { - Name = "maxResults", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("transactionIds", new Google.Apis.Discovery.Parameter - { - Name = "transactionIds", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - /// The "shippingsettings" collection of methods. public class ShippingsettingsResource { @@ -19778,237 +19483,6 @@ public class ServiceStoreConfigCutoffConfigLocalCutoffTime : Google.Apis.Request public virtual string ETag { get; set; } } - /// - /// Settlement reports detail order-level and item-level credits and debits between you and Google. - /// - public class SettlementReport : Google.Apis.Requests.IDirectResponseSchema - { - /// The end date on which all transactions are included in the report, in ISO 8601 format. - [Newtonsoft.Json.JsonPropertyAttribute("endDate")] - public virtual string EndDate { get; set; } - - /// - /// Identifies what kind of resource this is. Value: the fixed string "`content#settlementReport`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// - /// The residual amount from the previous invoice. This is set only if the previous invoices are not paid - /// because of negative balance. - /// - [Newtonsoft.Json.JsonPropertyAttribute("previousBalance")] - public virtual Price PreviousBalance { get; set; } - - /// The ID of the settlement report. - [Newtonsoft.Json.JsonPropertyAttribute("settlementId")] - public virtual string SettlementId { get; set; } - - /// The start date on which all transactions are included in the report, in ISO 8601 format. - [Newtonsoft.Json.JsonPropertyAttribute("startDate")] - public virtual string StartDate { get; set; } - - /// The money due to the merchant. - [Newtonsoft.Json.JsonPropertyAttribute("transferAmount")] - public virtual Price TransferAmount { get; set; } - - /// Date on which transfer for this payment was initiated by Google, in ISO 8601 format. - [Newtonsoft.Json.JsonPropertyAttribute("transferDate")] - public virtual string TransferDate { get; set; } - - /// - /// The list of bank identifiers used for the transfer. For example, Trace ID for Federal Automated Clearing - /// House (ACH). This may also be known as the Wire ID. - /// - [Newtonsoft.Json.JsonPropertyAttribute("transferIds")] - public virtual System.Collections.Generic.IList TransferIds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settlement transactions give a detailed breakdown of the settlement report. - public class SettlementTransaction : Google.Apis.Requests.IDirectResponseSchema - { - /// The amount for the transaction. - [Newtonsoft.Json.JsonPropertyAttribute("amount")] - public virtual SettlementTransactionAmount Amount { get; set; } - - /// Identifiers of the transaction. - [Newtonsoft.Json.JsonPropertyAttribute("identifiers")] - public virtual SettlementTransactionIdentifiers Identifiers { get; set; } - - /// - /// Identifies what kind of resource this is. Value: the fixed string "`content#settlementTransaction`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// Details of the transaction. - [Newtonsoft.Json.JsonPropertyAttribute("transaction")] - public virtual SettlementTransactionTransaction Transaction { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class SettlementTransactionAmount : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commission")] - public virtual SettlementTransactionAmountCommission Commission { get; set; } - - /// - /// The description of the event. Acceptable values are: - "`taxWithhold`" - "`principal`" - - /// "`principalAdjustment`" - "`shippingFee`" - "`merchantRemittedSalesTax`" - "`googleRemittedSalesTax`" - - /// "`merchantCoupon`" - "`merchantCouponTax`" - "`merchantRemittedDisposalTax`" - "`googleRemittedDisposalTax`" - /// - "`merchantRemittedRedemptionFee`" - "`googleRemittedRedemptionFee`" - "`eeeEcoFee`" - "`furnitureEcoFee`" - /// - "`copyPrivateFee`" - "`eeeEcoFeeCommission`" - "`furnitureEcoFeeCommission`" - - /// "`copyPrivateFeeCommission`" - "`principalRefund`" - "`principalRefundTax`" - "`itemCommission`" - - /// "`adjustmentCommission`" - "`shippingFeeCommission`" - "`commissionRefund`" - "`damaged`" - - /// "`damagedOrDefectiveItem`" - "`expiredItem`" - "`faultyItem`" - "`incorrectItemReceived`" - "`itemMissing`" - /// - "`qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`transitPackageMissing`" - - /// "`unsuccessfulDeliveryUndeliverable`" - "`wrongChargeInStore`" - "`wrongItem`" - "`returns`" - - /// "`undeliverable`" - "`issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" - - /// "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`" - "`principalRefundDoesNotFit`" - - /// "`principalRefundOrderedWrongItem`" - "`principalRefundQualityNotExpected`" - - /// "`principalRefundBetterPriceFound`" - "`principalRefundNoLongerNeeded`" - "`principalRefundChangedMind`" - - /// "`principalRefundReceivedTooLate`" - "`principalRefundIncorrectItemReceived`" - - /// "`principalRefundDamagedOrDefectiveItem`" - "`principalRefundDidNotMatchDescription`" - - /// "`principalRefundExpiredItem`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// The amount that contributes to the line item price. - [Newtonsoft.Json.JsonPropertyAttribute("transactionAmount")] - public virtual Price TransactionAmount { get; set; } - - /// - /// The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`" - "`refund`" - - /// "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`returnLabelShippingFeeAmount`" - - /// "`lumpSumCorrectionAmount`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class SettlementTransactionAmountCommission : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The category of the commission. Acceptable values are: - "`animalsAndPetSupplies`" - - /// "`dogCatFoodAndCatLitter`" - "`apparelAndAccessories`" - "`shoesHandbagsAndSunglasses`" - - /// "`costumesAndAccessories`" - "`jewelry`" - "`watches`" - "`hobbiesArtsAndCrafts`" - "`homeAndGarden`" - - /// "`entertainmentCollectibles`" - "`collectibleCoins`" - "`sportsCollectibles`" - "`sportingGoods`" - - /// "`toysAndGames`" - "`musicalInstruments`" - "`giftCards`" - "`babyAndToddler`" - "`babyFoodWipesAndDiapers`" - /// - "`businessAndIndustrial`" - "`camerasOpticsAndPhotography`" - "`consumerElectronics`" - - /// "`electronicsAccessories`" - "`personalComputers`" - "`videoGameConsoles`" - "`foodAndGrocery`" - - /// "`beverages`" - "`tobaccoProducts`" - "`furniture`" - "`hardware`" - "`buildingMaterials`" - "`tools`" - - /// "`healthAndPersonalCare`" - "`beauty`" - "`householdSupplies`" - "`kitchenAndDining`" - "`majorAppliances`" - /// - "`luggageAndBags`" - "`media`" - "`officeSupplies`" - "`softwareAndVideoGames`" - - /// "`vehiclePartsAndAccessories`" - "`vehicleTiresAndWheels`" - "`vehicles`" - "`everythingElse`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("category")] - public virtual string Category { get; set; } - - /// Rate of the commission in percentage. - [Newtonsoft.Json.JsonPropertyAttribute("rate")] - public virtual string Rate { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class SettlementTransactionIdentifiers : Google.Apis.Requests.IDirectResponseSchema - { - /// The identifier of the adjustments, if it's available. - [Newtonsoft.Json.JsonPropertyAttribute("adjustmentId")] - public virtual string AdjustmentId { get; set; } - - /// The merchant provided order ID. - [Newtonsoft.Json.JsonPropertyAttribute("merchantOrderId")] - public virtual string MerchantOrderId { get; set; } - - /// The identifier of the item. - [Newtonsoft.Json.JsonPropertyAttribute("orderItemId")] - public virtual string OrderItemId { get; set; } - - /// The unique ID of the settlement transaction entry. - [Newtonsoft.Json.JsonPropertyAttribute("settlementEntryId")] - public virtual string SettlementEntryId { get; set; } - - /// The shipment ids for the item. - [Newtonsoft.Json.JsonPropertyAttribute("shipmentIds")] - public virtual System.Collections.Generic.IList ShipmentIds { get; set; } - - /// The Google transaction ID. - [Newtonsoft.Json.JsonPropertyAttribute("transactionId")] - public virtual string TransactionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class SettlementTransactionTransaction : Google.Apis.Requests.IDirectResponseSchema - { - /// The time on which the event occurred in ISO 8601 format. - [Newtonsoft.Json.JsonPropertyAttribute("postDate")] - public virtual string PostDate { get; set; } - - /// - /// The type of the transaction that occurred. Acceptable values are: - "`order`" - "`reversal`" - - /// "`orderRefund`" - "`reversalRefund`" - "`issueRelatedRefundAndReplacement`" - - /// "`returnLabelShippingFeeTransaction`" - "`reversalIssueRelatedRefundAndReplacement`" - - /// "`reversalReturnLabelShippingFeeTransaction`" - "`lumpSumCorrectionTransaction`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class SettlementreportsListResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Identifies what kind of resource this is. Value: the fixed string "`content#settlementreportsListResponse`". - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The token for the retrieval of the next page of returns. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("resources")] - public virtual System.Collections.Generic.IList Resources { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class SettlementtransactionsListResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Identifies what kind of resource this is. Value: the fixed string - /// "`content#settlementtransactionsListResponse`". - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The token for the retrieval of the next page of returns. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("resources")] - public virtual System.Collections.Generic.IList Resources { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays /// require the admin role. diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj index e1cf1899a77..8b562178ae8 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj @@ -3,7 +3,7 @@ Google.Apis.ShoppingContent.v2_1 Client Library - 1.68.0.3575 + 1.68.0.3583 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.cs b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.cs index b1686bd3eb9..e439a3c4647 100644 --- a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.cs +++ b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.cs @@ -2571,6 +2571,10 @@ public class MultiNodeParams : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("nodeIdPrefix")] public virtual string NodeIdPrefix { get; set; } + /// Optional. The workload type for the multi-node request. + [Newtonsoft.Json.JsonPropertyAttribute("workloadType")] + public virtual string WorkloadType { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj index 2f9c7166584..7a8c3136562 100644 --- a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj +++ b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.TPU.v2alpha1 Client Library - 1.68.0.3569 + 1.68.0.3577 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj b/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj index f1a890aec6d..00016b9413c 100644 --- a/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj +++ b/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Walletobjects.v1 Client Library - 1.68.0.3577 + 1.68.0.3584 Google LLC Copyright 2024 Google LLC Google diff --git a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs index d2aef01da18..ce6a6c006f8 100644 --- a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs +++ b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs @@ -1787,45 +1787,6 @@ public class AgentCommand : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on - /// its behalf. - /// - public class AssetLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing - /// resource metadata. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ccfeRmsPath")] - public virtual string CcfeRmsPath { get; set; } - - /// - /// Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of - /// asset creation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("expected")] - public virtual IsolationExpectations Expected { get; set; } - - /// Defines extra parameters required for specific asset types. - [Newtonsoft.Json.JsonPropertyAttribute("extraParameters")] - public virtual System.Collections.Generic.IList ExtraParameters { get; set; } - - /// Contains all kinds of physical location definitions for this asset. - [Newtonsoft.Json.JsonPropertyAttribute("locationData")] - public virtual System.Collections.Generic.IList LocationData { get; set; } - - /// - /// Defines parents assets if any in order to allow later generation of child_asset_location data via child - /// assets. - /// - [Newtonsoft.Json.JsonPropertyAttribute("parentAsset")] - public virtual System.Collections.Generic.IList ParentAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Message describing big query destination public class BigQueryDestination : Google.Apis.Requests.IDirectResponseSchema { @@ -1841,19 +1802,6 @@ public class BigQueryDestination : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Policy ID that identified data placement in Blobstore as per - /// go/blobstore-user-guide#data-metadata-placement-and-failure-domains - /// - public class BlobstoreLocation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("policyId")] - public virtual System.Collections.Generic.IList PolicyId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The request message for Operations.CancelOperation. public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -1861,27 +1809,6 @@ public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class CloudAsset : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("assetName")] - public virtual string AssetName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("assetType")] - public virtual string AssetType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class CloudAssetComposition : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("childAsset")] - public virtual System.Collections.Generic.IList ChildAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// * Command specifies the type of command to execute. public class Command : Google.Apis.Requests.IDirectResponseSchema { @@ -1897,15 +1824,6 @@ public class Command : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class DirectLocationAssignment : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual System.Collections.Generic.IList Location { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc @@ -2140,6 +2058,10 @@ public virtual System.DateTimeOffset? InventoryTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// Output only. Additional information generated by the execution + [Newtonsoft.Json.JsonPropertyAttribute("notices")] + public virtual System.Collections.Generic.IList Notices { get; set; } + /// Output only. execution result summary per rule [Newtonsoft.Json.JsonPropertyAttribute("ruleResults")] public virtual System.Collections.Generic.IList RuleResults { get; set; } @@ -2266,19 +2188,6 @@ public class ExternalDataSources : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Defines parameters that should only be used for specific asset types. - public class ExtraParameter : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionalMigDistributionPolicy")] - public virtual RegionalMigDistributionPolicy RegionalMigDistributionPolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Message describing compute engine instance filter public class GceInstanceFilter : Google.Apis.Requests.IDirectResponseSchema { @@ -2353,48 +2262,6 @@ public virtual System.DateTimeOffset? SentTimeDateTimeOffset public virtual string ETag { get; set; } } - public class IsolationExpectations : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS - /// verification logic. - /// - [Newtonsoft.Json.JsonPropertyAttribute("requirementOverride")] - public virtual RequirementOverride RequirementOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziOrgPolicy")] - public virtual string ZiOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionPolicy")] - public virtual string ZiRegionPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("ziRegionState")] - public virtual string ZiRegionState { get; set; } - - /// - /// Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as - /// per go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneIsolation")] - public virtual string ZoneIsolation { get; set; } - - /// - /// Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per - /// go/zicy-publish-physical-location. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zoneSeparation")] - public virtual string ZoneSeparation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOrgPolicy")] - public virtual string ZsOrgPolicy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsRegionState")] - public virtual string ZsRegionState { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Message for response to listing Evaluations public class ListEvaluationsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -2546,37 +2413,12 @@ public class Location : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class LocationAssignment : Google.Apis.Requests.IDirectResponseSchema + /// Message for additional information generated by the execution + public class Notice : Google.Apis.Requests.IDirectResponseSchema { - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual string Location { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("locationType")] - public virtual string LocationType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class LocationData : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("blobstoreLocation")] - public virtual BlobstoreLocation BlobstoreLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("childAssetLocation")] - public virtual CloudAssetComposition ChildAssetLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("directLocation")] - public virtual DirectLocationAssignment DirectLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("gcpProjectProxy")] - public virtual TenantProjectProxy GcpProjectProxy { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("placerLocation")] - public virtual PlacerLocation PlacerLocation { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("spannerLocation")] - public virtual SpannerLocation SpannerLocation { get; set; } + /// Output only. Message of the notice + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -2730,49 +2572,6 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } - /// Message describing that the location of the customer resource is tied to placer allocations - public class PlacerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - [Newtonsoft.Json.JsonPropertyAttribute("placerConfig")] - public virtual string PlacerConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager - /// instances - /// - public class RegionalMigDistributionPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The shape in which the group converges around distribution of resources. Instance of proto2 enum - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetShape")] - public virtual System.Nullable TargetShape { get; set; } - - /// Cloud zones used by regional MIG to create instances. - [Newtonsoft.Json.JsonPropertyAttribute("zones")] - public virtual System.Collections.Generic.IList Zones { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class RequirementOverride : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("ziOverride")] - public virtual string ZiOverride { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("zsOverride")] - public virtual string ZsOverride { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Message represent resource in execution result public class Resource : Google.Apis.Requests.IDirectResponseSchema { @@ -3387,23 +3186,6 @@ public class ShellCommand : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class SpannerLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Set of backups used by the resource with name in the same format as what is available at - /// http://table/spanner_automon.backup_metadata - /// - [Newtonsoft.Json.JsonPropertyAttribute("backupName")] - public virtual System.Collections.Generic.IList BackupName { get; set; } - - /// Set of databases used by the resource in format /span// - [Newtonsoft.Json.JsonPropertyAttribute("dbName")] - public virtual System.Collections.Generic.IList DbName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// A presentation of SQLServer workload insight. The schema of SqlServer workloads validation related data. /// @@ -3488,15 +3270,6 @@ public class Status : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class TenantProjectProxy : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("projectNumbers")] - public virtual System.Collections.Generic.IList ProjectNumbers { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Message describing the violation in an evaluation result. public class ViolationDetails : Google.Apis.Requests.IDirectResponseSchema { @@ -3549,13 +3322,4 @@ public class WriteInsightResponse : Google.Apis.Requests.IDirectResponseSchema /// The ETag of the item. public virtual string ETag { get; set; } } - - public class ZoneConfiguration : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("zone")] - public virtual string Zone { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } } diff --git a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj index d3f172f5646..aea5f2ab0c7 100644 --- a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj +++ b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.WorkloadManager.v1 Client Library - 1.68.0.3569 + 1.68.0.3576 Google LLC Copyright 2024 Google LLC Google