Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Nov 11, 2024
1 parent 6495d84 commit 58faff9
Show file tree
Hide file tree
Showing 28 changed files with 865 additions and 608 deletions.
59 changes: 7 additions & 52 deletions accesscontextmanager/v1/accesscontextmanager-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@
}
}
},
"revision": "20241028",
"revision": "20241103",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessContextManagerOperationMetadata": {
Expand Down Expand Up @@ -1384,13 +1384,9 @@
},
"type": "array"
},
"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"
"description": "Optional. Session settings applied to user access on a given AccessScope."
}
},
"type": "object"
Expand Down Expand Up @@ -1909,10 +1905,6 @@
"description": "Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N\"",
"type": "string"
},
"reauthSettings": {
"$ref": "ReauthSettings",
"description": "Optional. GCSL policy for the group key."
},
"restrictedClientApplications": {
"description": "Optional. A list of applications that are subject to this binding's restrictions. If the list is empty, the binding restrictions will universally apply to all applications.",
"items": {
Expand All @@ -1929,7 +1921,7 @@
},
"sessionSettings": {
"$ref": "SessionSettings",
"description": "Optional. GCSL policy for the group key. Migrated from ReauthSettings"
"description": "Optional. GCSL policy for the group key."
}
},
"type": "object"
Expand Down Expand Up @@ -2295,47 +2287,6 @@
},
"type": "object"
},
"ReauthSettings": {
"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": "ReauthSettings",
"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"
},
"reauthMethod": {
"description": "Optional. Reauth method when users GCP session is up.",
"enum": [
"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"
},
"sessionLength": {
"description": "Optional. The session length. Setting this field to zero is equal to disabling. Reauth. 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"
},
"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"
},
"ReplaceAccessLevelsRequest": {
"description": "A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically.",
"id": "ReplaceAccessLevelsRequest",
Expand Down Expand Up @@ -2427,6 +2378,10 @@
"description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.",
"type": "string"
},
"etag": {
"description": "Optional. An opaque identifier for the current version of the `ServicePerimeter`. Clients should not expect this to be in any specific format. If etag is not provided, the operation will be performed as if a valid etag is provided.",
"type": "string"
},
"name": {
"description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.",
"type": "string"
Expand Down
67 changes: 7 additions & 60 deletions accesscontextmanager/v1/accesscontextmanager-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 57 additions & 5 deletions assuredworkloads/v1/assuredworkloads-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
}
}
},
"revision": "20241007",
"revision": "20241107",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -702,15 +702,41 @@
"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT",
"IRS_1075"
],
"enumDeprecated": [
false,
false,
false,
false,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
"Unknown compliance regime.",
"Information protection as per DoD IL4 requirements.",
"Criminal Justice Information Services (CJIS) Security policies.",
"FedRAMP High data protection controls",
"FedRAMP Moderate data protection controls",
"Assured Workloads For US Regions data protection controls",
"Health Insurance Portability and Accountability Act controls",
"Health Information Trust Alliance controls",
"[DEPRECATED] Health Insurance Portability and Accountability Act controls",
"[DEPRECATED] Health Information Trust Alliance controls",
"Assured Workloads For EU Regions and Support controls",
"Assured Workloads For Canada Regions and Support controls",
"International Traffic in Arms Regulations",
Expand Down Expand Up @@ -1191,15 +1217,41 @@
"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT",
"IRS_1075"
],
"enumDeprecated": [
false,
false,
false,
false,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
"Unknown compliance regime.",
"Information protection as per DoD IL4 requirements.",
"Criminal Justice Information Services (CJIS) Security policies.",
"FedRAMP High data protection controls",
"FedRAMP Moderate data protection controls",
"Assured Workloads For US Regions data protection controls",
"Health Insurance Portability and Accountability Act controls",
"Health Information Trust Alliance controls",
"[DEPRECATED] Health Insurance Portability and Accountability Act controls",
"[DEPRECATED] Health Information Trust Alliance controls",
"Assured Workloads For EU Regions and Support controls",
"Assured Workloads For Canada Regions and Support controls",
"International Traffic in Arms Regulations",
Expand Down
10 changes: 6 additions & 4 deletions assuredworkloads/v1/assuredworkloads-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 58faff9

Please sign in to comment.