diff --git a/services/serviceaccount/model_access_token.go b/services/serviceaccount/model_access_token.go index 29ab98e1d..88ac3c699 100644 --- a/services/serviceaccount/model_access_token.go +++ b/services/serviceaccount/model_access_token.go @@ -124,19 +124,19 @@ func setAccessTokenGetValidUntilAttributeType(arg *AccessTokenGetValidUntilAttri type AccessToken struct { // Newly created access tokens are valid, and can be revoked if needed. // REQUIRED - Active AccessTokengetActiveAttributeType `json:"active"` + Active AccessTokengetActiveAttributeType `json:"active" required:"true"` // Creation time of the access token. // REQUIRED - CreatedAt AccessTokenGetCreatedAtAttributeType `json:"createdAt"` + CreatedAt AccessTokenGetCreatedAtAttributeType `json:"createdAt" required:"true"` // Unique ID of the access token. Also used as JTI field. // REQUIRED - Id AccessTokenGetIdAttributeType `json:"id"` + Id AccessTokenGetIdAttributeType `json:"id" required:"true"` // The access token in JWT format. Use this with `Bearer` prefix for API calls. Store it, as it is not recoverable later. // REQUIRED - Token AccessTokenGetTokenAttributeType `json:"token"` + Token AccessTokenGetTokenAttributeType `json:"token" required:"true"` // Approximate expiration time of the access token. Check the JWT for actual validity date. // REQUIRED - ValidUntil AccessTokenGetValidUntilAttributeType `json:"validUntil"` + ValidUntil AccessTokenGetValidUntilAttributeType `json:"validUntil" required:"true"` } type _AccessToken AccessToken diff --git a/services/serviceaccount/model_access_token_metadata.go b/services/serviceaccount/model_access_token_metadata.go index cc04673ed..fa80ad676 100644 --- a/services/serviceaccount/model_access_token_metadata.go +++ b/services/serviceaccount/model_access_token_metadata.go @@ -103,16 +103,16 @@ func setAccessTokenMetadataGetValidUntilAttributeType(arg *AccessTokenMetadataGe type AccessTokenMetadata struct { // If true, access token can be used for authorized API calls, if false, the token is not usable anymore. // REQUIRED - Active AccessTokenMetadatagetActiveAttributeType `json:"active"` + Active AccessTokenMetadatagetActiveAttributeType `json:"active" required:"true"` // Creation time of the access token. // REQUIRED - CreatedAt AccessTokenMetadataGetCreatedAtAttributeType `json:"createdAt"` + CreatedAt AccessTokenMetadataGetCreatedAtAttributeType `json:"createdAt" required:"true"` // Unique ID of the access token. Also used as JTI field. // REQUIRED - Id AccessTokenMetadataGetIdAttributeType `json:"id"` + Id AccessTokenMetadataGetIdAttributeType `json:"id" required:"true"` // Approximate expiration time of the access token. Check the JWT for actual validity date. // REQUIRED - ValidUntil AccessTokenMetadataGetValidUntilAttributeType `json:"validUntil"` + ValidUntil AccessTokenMetadataGetValidUntilAttributeType `json:"validUntil" required:"true"` } type _AccessTokenMetadata AccessTokenMetadata diff --git a/services/serviceaccount/model_auth_error.go b/services/serviceaccount/model_auth_error.go index 94f1c6761..a5ef6bfc9 100644 --- a/services/serviceaccount/model_auth_error.go +++ b/services/serviceaccount/model_auth_error.go @@ -40,7 +40,7 @@ func setAuthErrorGetErrorAttributeType(arg *AuthErrorGetErrorAttributeType, val // AuthError struct for AuthError type AuthError struct { // REQUIRED - Error AuthErrorGetErrorAttributeType `json:"error"` + Error AuthErrorGetErrorAttributeType `json:"error" required:"true"` } type _AuthError AuthError diff --git a/services/serviceaccount/model_auth_error_error.go b/services/serviceaccount/model_auth_error_error.go index aa414e3ab..fca97b576 100644 --- a/services/serviceaccount/model_auth_error_error.go +++ b/services/serviceaccount/model_auth_error_error.go @@ -82,11 +82,11 @@ type AuthErrorErrorGetStatusRetType = string // AuthErrorError struct for AuthErrorError type AuthErrorError struct { // REQUIRED - Code AuthErrorErrorGetCodeAttributeType `json:"code"` + Code AuthErrorErrorGetCodeAttributeType `json:"code" required:"true"` // REQUIRED - Message AuthErrorErrorGetMessageAttributeType `json:"message"` + Message AuthErrorErrorGetMessageAttributeType `json:"message" required:"true"` // REQUIRED - Status AuthErrorErrorGetStatusAttributeType `json:"status"` + Status AuthErrorErrorGetStatusAttributeType `json:"status" required:"true"` } type _AuthErrorError AuthErrorError diff --git a/services/serviceaccount/model_create_access_token_payload.go b/services/serviceaccount/model_create_access_token_payload.go index a0db0b3f5..ac647bd2d 100644 --- a/services/serviceaccount/model_create_access_token_payload.go +++ b/services/serviceaccount/model_create_access_token_payload.go @@ -41,7 +41,7 @@ func setCreateAccessTokenPayloadGetTtlDaysAttributeType(arg *CreateAccessTokenPa type CreateAccessTokenPayload struct { // The duration in days for how long the new Access Token should be valid. // REQUIRED - TtlDays CreateAccessTokenPayloadGetTtlDaysAttributeType `json:"ttlDays"` + TtlDays CreateAccessTokenPayloadGetTtlDaysAttributeType `json:"ttlDays" required:"true"` } type _CreateAccessTokenPayload CreateAccessTokenPayload diff --git a/services/serviceaccount/model_create_service_account_key_response.go b/services/serviceaccount/model_create_service_account_key_response.go index 8307618cf..2ebce5ec5 100644 --- a/services/serviceaccount/model_create_service_account_key_response.go +++ b/services/serviceaccount/model_create_service_account_key_response.go @@ -514,24 +514,24 @@ func setCreateServiceAccountKeyResponseGetValidUntilAttributeType(arg *CreateSer // CreateServiceAccountKeyResponse struct for CreateServiceAccountKeyResponse type CreateServiceAccountKeyResponse struct { // REQUIRED - Active CreateServiceAccountKeyResponsegetActiveAttributeType `json:"active"` + Active CreateServiceAccountKeyResponsegetActiveAttributeType `json:"active" required:"true"` // Creation time of the key // REQUIRED - CreatedAt CreateServiceAccountKeyResponseGetCreatedAtAttributeType `json:"createdAt"` + CreatedAt CreateServiceAccountKeyResponseGetCreatedAtAttributeType `json:"createdAt" required:"true"` // REQUIRED - Credentials CreateServiceAccountKeyResponseGetCredentialsAttributeType `json:"credentials"` + Credentials CreateServiceAccountKeyResponseGetCredentialsAttributeType `json:"credentials" required:"true"` // Unique ID of the key. // REQUIRED - Id CreateServiceAccountKeyResponseGetIdAttributeType `json:"id"` + Id CreateServiceAccountKeyResponseGetIdAttributeType `json:"id" required:"true"` // REQUIRED - KeyAlgorithm CreateServiceAccountKeyResponseGetKeyAlgorithmAttributeType `json:"keyAlgorithm"` + KeyAlgorithm CreateServiceAccountKeyResponseGetKeyAlgorithmAttributeType `json:"keyAlgorithm" required:"true"` // REQUIRED - KeyOrigin CreateServiceAccountKeyResponseGetKeyOriginAttributeType `json:"keyOrigin"` + KeyOrigin CreateServiceAccountKeyResponseGetKeyOriginAttributeType `json:"keyOrigin" required:"true"` // REQUIRED - KeyType CreateServiceAccountKeyResponseGetKeyTypeAttributeType `json:"keyType"` + KeyType CreateServiceAccountKeyResponseGetKeyTypeAttributeType `json:"keyType" required:"true"` // Public key, that was provider, or was generated by the service account API // REQUIRED - PublicKey CreateServiceAccountKeyResponseGetPublicKeyAttributeType `json:"publicKey"` + PublicKey CreateServiceAccountKeyResponseGetPublicKeyAttributeType `json:"publicKey" required:"true"` // If specified, the timestamp until the key is active. May be null ValidUntil CreateServiceAccountKeyResponseGetValidUntilAttributeType `json:"validUntil,omitempty"` } diff --git a/services/serviceaccount/model_create_service_account_key_response_credentials.go b/services/serviceaccount/model_create_service_account_key_response_credentials.go index 786f8b183..b646d1ab7 100644 --- a/services/serviceaccount/model_create_service_account_key_response_credentials.go +++ b/services/serviceaccount/model_create_service_account_key_response_credentials.go @@ -126,18 +126,18 @@ type CreateServiceAccountKeyResponseCredentialsGetSubRetType = string type CreateServiceAccountKeyResponseCredentials struct { // Audience - service account API URL // REQUIRED - Aud CreateServiceAccountKeyResponseCredentialsGetAudAttributeType `json:"aud"` + Aud CreateServiceAccountKeyResponseCredentialsGetAudAttributeType `json:"aud" required:"true"` // Service account email // REQUIRED - Iss CreateServiceAccountKeyResponseCredentialsGetIssAttributeType `json:"iss"` + Iss CreateServiceAccountKeyResponseCredentialsGetIssAttributeType `json:"iss" required:"true"` // Key id to use // REQUIRED - Kid CreateServiceAccountKeyResponseCredentialsGetKidAttributeType `json:"kid"` + Kid CreateServiceAccountKeyResponseCredentialsGetKidAttributeType `json:"kid" required:"true"` // Private key. Only present, if the service account API was generating the key. Not recoverable later. PrivateKey CreateServiceAccountKeyResponseCredentialsGetPrivateKeyAttributeType `json:"privateKey,omitempty"` // Service account id // REQUIRED - Sub CreateServiceAccountKeyResponseCredentialsGetSubAttributeType `json:"sub"` + Sub CreateServiceAccountKeyResponseCredentialsGetSubAttributeType `json:"sub" required:"true"` } type _CreateServiceAccountKeyResponseCredentials CreateServiceAccountKeyResponseCredentials diff --git a/services/serviceaccount/model_create_service_account_payload.go b/services/serviceaccount/model_create_service_account_payload.go index fa4e54f3a..82fd5b2ee 100644 --- a/services/serviceaccount/model_create_service_account_payload.go +++ b/services/serviceaccount/model_create_service_account_payload.go @@ -42,7 +42,7 @@ type CreateServiceAccountPayloadGetNameRetType = string type CreateServiceAccountPayload struct { // The requested name of the service account. The service will generate a unique email from this name. // REQUIRED - Name CreateServiceAccountPayloadGetNameAttributeType `json:"name"` + Name CreateServiceAccountPayloadGetNameAttributeType `json:"name" required:"true"` } type _CreateServiceAccountPayload CreateServiceAccountPayload diff --git a/services/serviceaccount/model_create_short_lived_access_token_response.go b/services/serviceaccount/model_create_short_lived_access_token_response.go index 7049410fa..6cf39f7c8 100644 --- a/services/serviceaccount/model_create_short_lived_access_token_response.go +++ b/services/serviceaccount/model_create_short_lived_access_token_response.go @@ -227,17 +227,17 @@ func setCreateShortLivedAccessTokenResponseGetTokenTypeAttributeType(arg *Create type CreateShortLivedAccessTokenResponse struct { // The short lived token that can be used for API access // REQUIRED - AccessToken CreateShortLivedAccessTokenResponseGetAccessTokenAttributeType `json:"access_token"` + AccessToken CreateShortLivedAccessTokenResponseGetAccessTokenAttributeType `json:"access_token" required:"true"` // REQUIRED - ExpiresIn CreateShortLivedAccessTokenResponseGetExpiresInAttributeType `json:"expires_in"` + ExpiresIn CreateShortLivedAccessTokenResponseGetExpiresInAttributeType `json:"expires_in" required:"true"` // Refresh token that can be used to request a new access token when it expires (and before refresh token expires). Tokens are rotated. // REQUIRED - RefreshToken CreateShortLivedAccessTokenResponseGetRefreshTokenAttributeType `json:"refresh_token"` + RefreshToken CreateShortLivedAccessTokenResponseGetRefreshTokenAttributeType `json:"refresh_token" required:"true"` // scope field of the self signed token // REQUIRED - Scope CreateShortLivedAccessTokenResponseGetScopeAttributeType `json:"scope"` + Scope CreateShortLivedAccessTokenResponseGetScopeAttributeType `json:"scope" required:"true"` // REQUIRED - TokenType CreateShortLivedAccessTokenResponseGetTokenTypeAttributeType `json:"token_type"` + TokenType CreateShortLivedAccessTokenResponseGetTokenTypeAttributeType `json:"token_type" required:"true"` } type _CreateShortLivedAccessTokenResponse CreateShortLivedAccessTokenResponse diff --git a/services/serviceaccount/model_error.go b/services/serviceaccount/model_error.go index 3a846ec22..779940d42 100644 --- a/services/serviceaccount/model_error.go +++ b/services/serviceaccount/model_error.go @@ -124,15 +124,15 @@ func setErrorGetTimeStampAttributeType(arg *ErrorGetTimeStampAttributeType, val // Error Contains error information. type Error struct { // REQUIRED - Error ErrorGetErrorAttributeType `json:"error"` + Error ErrorGetErrorAttributeType `json:"error" required:"true"` // REQUIRED - Message ErrorGetMessageAttributeType `json:"message"` + Message ErrorGetMessageAttributeType `json:"message" required:"true"` // REQUIRED - Path ErrorGetPathAttributeType `json:"path"` + Path ErrorGetPathAttributeType `json:"path" required:"true"` // REQUIRED - Status ErrorGetStatusAttributeType `json:"status"` + Status ErrorGetStatusAttributeType `json:"status" required:"true"` // REQUIRED - TimeStamp ErrorGetTimeStampAttributeType `json:"timeStamp"` + TimeStamp ErrorGetTimeStampAttributeType `json:"timeStamp" required:"true"` } type _Error Error diff --git a/services/serviceaccount/model_get_service_account_key_response.go b/services/serviceaccount/model_get_service_account_key_response.go index 8776185a9..38664b362 100644 --- a/services/serviceaccount/model_get_service_account_key_response.go +++ b/services/serviceaccount/model_get_service_account_key_response.go @@ -514,21 +514,21 @@ func setGetServiceAccountKeyResponseGetValidUntilAttributeType(arg *GetServiceAc // GetServiceAccountKeyResponse struct for GetServiceAccountKeyResponse type GetServiceAccountKeyResponse struct { // REQUIRED - Active GetServiceAccountKeyResponsegetActiveAttributeType `json:"active"` + Active GetServiceAccountKeyResponsegetActiveAttributeType `json:"active" required:"true"` // Creation time of the key // REQUIRED - CreatedAt GetServiceAccountKeyResponseGetCreatedAtAttributeType `json:"createdAt"` + CreatedAt GetServiceAccountKeyResponseGetCreatedAtAttributeType `json:"createdAt" required:"true"` // REQUIRED - Credentials GetServiceAccountKeyResponseGetCredentialsAttributeType `json:"credentials"` + Credentials GetServiceAccountKeyResponseGetCredentialsAttributeType `json:"credentials" required:"true"` // Unique ID of the key. // REQUIRED - Id GetServiceAccountKeyResponseGetIdAttributeType `json:"id"` + Id GetServiceAccountKeyResponseGetIdAttributeType `json:"id" required:"true"` // REQUIRED - KeyAlgorithm GetServiceAccountKeyResponseGetKeyAlgorithmAttributeType `json:"keyAlgorithm"` + KeyAlgorithm GetServiceAccountKeyResponseGetKeyAlgorithmAttributeType `json:"keyAlgorithm" required:"true"` // REQUIRED - KeyOrigin GetServiceAccountKeyResponseGetKeyOriginAttributeType `json:"keyOrigin"` + KeyOrigin GetServiceAccountKeyResponseGetKeyOriginAttributeType `json:"keyOrigin" required:"true"` // REQUIRED - KeyType GetServiceAccountKeyResponseGetKeyTypeAttributeType `json:"keyType"` + KeyType GetServiceAccountKeyResponseGetKeyTypeAttributeType `json:"keyType" required:"true"` // Public key, in the requested format PublicKey GetServiceAccountKeyResponseGetPublicKeyAttributeType `json:"publicKey,omitempty"` // If specified, the timestamp until the key is active. May be null diff --git a/services/serviceaccount/model_get_service_account_key_response_credentials.go b/services/serviceaccount/model_get_service_account_key_response_credentials.go index 87c8e210a..c888e4b1f 100644 --- a/services/serviceaccount/model_get_service_account_key_response_credentials.go +++ b/services/serviceaccount/model_get_service_account_key_response_credentials.go @@ -105,16 +105,16 @@ type GetServiceAccountKeyResponseCredentialsGetSubRetType = string type GetServiceAccountKeyResponseCredentials struct { // Audience - service account API URL // REQUIRED - Aud GetServiceAccountKeyResponseCredentialsGetAudAttributeType `json:"aud"` + Aud GetServiceAccountKeyResponseCredentialsGetAudAttributeType `json:"aud" required:"true"` // Service account email // REQUIRED - Iss GetServiceAccountKeyResponseCredentialsGetIssAttributeType `json:"iss"` + Iss GetServiceAccountKeyResponseCredentialsGetIssAttributeType `json:"iss" required:"true"` // Key id to use // REQUIRED - Kid GetServiceAccountKeyResponseCredentialsGetKidAttributeType `json:"kid"` + Kid GetServiceAccountKeyResponseCredentialsGetKidAttributeType `json:"kid" required:"true"` // Service account id // REQUIRED - Sub GetServiceAccountKeyResponseCredentialsGetSubAttributeType `json:"sub"` + Sub GetServiceAccountKeyResponseCredentialsGetSubAttributeType `json:"sub" required:"true"` } type _GetServiceAccountKeyResponseCredentials GetServiceAccountKeyResponseCredentials diff --git a/services/serviceaccount/model_jwk.go b/services/serviceaccount/model_jwk.go index cb83a306d..fa0554009 100644 --- a/services/serviceaccount/model_jwk.go +++ b/services/serviceaccount/model_jwk.go @@ -252,11 +252,11 @@ type JWKGetX5uRetType = string type JWK struct { Alg JWKGetAlgAttributeType `json:"alg,omitempty"` // REQUIRED - E JWKGetEAttributeType `json:"e"` + E JWKGetEAttributeType `json:"e" required:"true"` Kid JWKGetKidAttributeType `json:"kid,omitempty"` Ks JWKGetKsAttributeType `json:"ks,omitempty"` // REQUIRED - N JWKGetNAttributeType `json:"n"` + N JWKGetNAttributeType `json:"n" required:"true"` Ops JWKGetOpsAttributeType `json:"ops,omitempty"` Use JWKGetUseAttributeType `json:"use,omitempty"` X5c JWKGetX5cAttributeType `json:"x5c,omitempty"` diff --git a/services/serviceaccount/model_jwks.go b/services/serviceaccount/model_jwks.go index e312eef41..56ee9b913 100644 --- a/services/serviceaccount/model_jwks.go +++ b/services/serviceaccount/model_jwks.go @@ -40,7 +40,7 @@ func setJWKSGetKeysAttributeType(arg *JWKSGetKeysAttributeType, val JWKSGetKeysR // JWKS struct for JWKS type JWKS struct { // REQUIRED - Keys JWKSGetKeysAttributeType `json:"keys"` + Keys JWKSGetKeysAttributeType `json:"keys" required:"true"` } type _JWKS JWKS diff --git a/services/serviceaccount/model_list_service_account_keys_response.go b/services/serviceaccount/model_list_service_account_keys_response.go index a3129d025..b2409bc29 100644 --- a/services/serviceaccount/model_list_service_account_keys_response.go +++ b/services/serviceaccount/model_list_service_account_keys_response.go @@ -40,7 +40,7 @@ func setListServiceAccountKeysResponseGetItemsAttributeType(arg *ListServiceAcco // ListServiceAccountKeysResponse struct for ListServiceAccountKeysResponse type ListServiceAccountKeysResponse struct { // REQUIRED - Items ListServiceAccountKeysResponseGetItemsAttributeType `json:"items"` + Items ListServiceAccountKeysResponseGetItemsAttributeType `json:"items" required:"true"` } type _ListServiceAccountKeysResponse ListServiceAccountKeysResponse diff --git a/services/serviceaccount/model_list_service_accounts_response.go b/services/serviceaccount/model_list_service_accounts_response.go index 76e37b9e0..792af983b 100644 --- a/services/serviceaccount/model_list_service_accounts_response.go +++ b/services/serviceaccount/model_list_service_accounts_response.go @@ -40,7 +40,7 @@ func setListServiceAccountsResponseGetItemsAttributeType(arg *ListServiceAccount // ListServiceAccountsResponse struct for ListServiceAccountsResponse type ListServiceAccountsResponse struct { // REQUIRED - Items ListServiceAccountsResponseGetItemsAttributeType `json:"items"` + Items ListServiceAccountsResponseGetItemsAttributeType `json:"items" required:"true"` } type _ListServiceAccountsResponse ListServiceAccountsResponse diff --git a/services/serviceaccount/model_partial_update_service_account_key_response.go b/services/serviceaccount/model_partial_update_service_account_key_response.go index a19dd828a..54b924d12 100644 --- a/services/serviceaccount/model_partial_update_service_account_key_response.go +++ b/services/serviceaccount/model_partial_update_service_account_key_response.go @@ -473,19 +473,19 @@ func setPartialUpdateServiceAccountKeyResponseGetValidUntilAttributeType(arg *Pa // PartialUpdateServiceAccountKeyResponse struct for PartialUpdateServiceAccountKeyResponse type PartialUpdateServiceAccountKeyResponse struct { // REQUIRED - Active PartialUpdateServiceAccountKeyResponsegetActiveAttributeType `json:"active"` + Active PartialUpdateServiceAccountKeyResponsegetActiveAttributeType `json:"active" required:"true"` // Creation time of the key // REQUIRED - CreatedAt PartialUpdateServiceAccountKeyResponseGetCreatedAtAttributeType `json:"createdAt"` + CreatedAt PartialUpdateServiceAccountKeyResponseGetCreatedAtAttributeType `json:"createdAt" required:"true"` // Unique ID of the key. // REQUIRED - Id PartialUpdateServiceAccountKeyResponseGetIdAttributeType `json:"id"` + Id PartialUpdateServiceAccountKeyResponseGetIdAttributeType `json:"id" required:"true"` // REQUIRED - KeyAlgorithm PartialUpdateServiceAccountKeyResponseGetKeyAlgorithmAttributeType `json:"keyAlgorithm"` + KeyAlgorithm PartialUpdateServiceAccountKeyResponseGetKeyAlgorithmAttributeType `json:"keyAlgorithm" required:"true"` // REQUIRED - KeyOrigin PartialUpdateServiceAccountKeyResponseGetKeyOriginAttributeType `json:"keyOrigin"` + KeyOrigin PartialUpdateServiceAccountKeyResponseGetKeyOriginAttributeType `json:"keyOrigin" required:"true"` // REQUIRED - KeyType PartialUpdateServiceAccountKeyResponseGetKeyTypeAttributeType `json:"keyType"` + KeyType PartialUpdateServiceAccountKeyResponseGetKeyTypeAttributeType `json:"keyType" required:"true"` // If specified, the timestamp until the key is active. May be null ValidUntil PartialUpdateServiceAccountKeyResponseGetValidUntilAttributeType `json:"validUntil,omitempty"` } diff --git a/services/serviceaccount/model_service_account.go b/services/serviceaccount/model_service_account.go index a58f18af3..d3f0085ec 100644 --- a/services/serviceaccount/model_service_account.go +++ b/services/serviceaccount/model_service_account.go @@ -104,16 +104,16 @@ type ServiceAccountGetProjectIdRetType = string type ServiceAccount struct { // Unique identifier of the service account in format of an email address generated by the service containing the prefix provided by the user during creation. // REQUIRED - Email ServiceAccountGetEmailAttributeType `json:"email"` + Email ServiceAccountGetEmailAttributeType `json:"email" required:"true"` // Unique ID of the service account. It is also used in the 'sub' field of the service accounts access tokens. // REQUIRED - Id ServiceAccountGetIdAttributeType `json:"id"` + Id ServiceAccountGetIdAttributeType `json:"id" required:"true"` // Flag indicating internal service accounts // REQUIRED - Internal ServiceAccountgetInternalAttributeType `json:"internal"` + Internal ServiceAccountgetInternalAttributeType `json:"internal" required:"true"` // ID of the related project // REQUIRED - ProjectId ServiceAccountGetProjectIdAttributeType `json:"projectId"` + ProjectId ServiceAccountGetProjectIdAttributeType `json:"projectId" required:"true"` } type _ServiceAccount ServiceAccount diff --git a/services/serviceaccount/model_service_account_key_list_response.go b/services/serviceaccount/model_service_account_key_list_response.go index 1a8783f9f..7d0d914a9 100644 --- a/services/serviceaccount/model_service_account_key_list_response.go +++ b/services/serviceaccount/model_service_account_key_list_response.go @@ -473,19 +473,19 @@ func setServiceAccountKeyListResponseGetValidUntilAttributeType(arg *ServiceAcco // ServiceAccountKeyListResponse struct for ServiceAccountKeyListResponse type ServiceAccountKeyListResponse struct { // REQUIRED - Active ServiceAccountKeyListResponsegetActiveAttributeType `json:"active"` + Active ServiceAccountKeyListResponsegetActiveAttributeType `json:"active" required:"true"` // Creation time of the key // REQUIRED - CreatedAt ServiceAccountKeyListResponseGetCreatedAtAttributeType `json:"createdAt"` + CreatedAt ServiceAccountKeyListResponseGetCreatedAtAttributeType `json:"createdAt" required:"true"` // Unique ID of the key. // REQUIRED - Id ServiceAccountKeyListResponseGetIdAttributeType `json:"id"` + Id ServiceAccountKeyListResponseGetIdAttributeType `json:"id" required:"true"` // REQUIRED - KeyAlgorithm ServiceAccountKeyListResponseGetKeyAlgorithmAttributeType `json:"keyAlgorithm"` + KeyAlgorithm ServiceAccountKeyListResponseGetKeyAlgorithmAttributeType `json:"keyAlgorithm" required:"true"` // REQUIRED - KeyOrigin ServiceAccountKeyListResponseGetKeyOriginAttributeType `json:"keyOrigin"` + KeyOrigin ServiceAccountKeyListResponseGetKeyOriginAttributeType `json:"keyOrigin" required:"true"` // REQUIRED - KeyType ServiceAccountKeyListResponseGetKeyTypeAttributeType `json:"keyType"` + KeyType ServiceAccountKeyListResponseGetKeyTypeAttributeType `json:"keyType" required:"true"` // If specified, the timestamp until the key is active. May be null ValidUntil ServiceAccountKeyListResponseGetValidUntilAttributeType `json:"validUntil,omitempty"` }