diff --git a/services/resourcemanager/model_create_folder_payload.go b/services/resourcemanager/model_create_folder_payload.go index efcaacfdb..00614ee31 100644 --- a/services/resourcemanager/model_create_folder_payload.go +++ b/services/resourcemanager/model_create_folder_payload.go @@ -103,14 +103,14 @@ type CreateFolderPayloadGetNameRetType = string type CreateFolderPayload struct { // Identifier of the parent resource container - containerId as well as UUID identifier is supported. // REQUIRED - ContainerParentId CreateFolderPayloadGetContainerParentIdAttributeType `json:"containerParentId"` + ContainerParentId CreateFolderPayloadGetContainerParentIdAttributeType `json:"containerParentId" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels CreateFolderPayloadGetLabelsAttributeType `json:"labels,omitempty"` // The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. Members CreateFolderPayloadGetMembersAttributeType `json:"members,omitempty"` // The name of the folder matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. // REQUIRED - Name CreateFolderPayloadGetNameAttributeType `json:"name"` + Name CreateFolderPayloadGetNameAttributeType `json:"name" required:"true"` } type _CreateFolderPayload CreateFolderPayload diff --git a/services/resourcemanager/model_create_project_payload.go b/services/resourcemanager/model_create_project_payload.go index 2e3b9e00c..4f6075642 100644 --- a/services/resourcemanager/model_create_project_payload.go +++ b/services/resourcemanager/model_create_project_payload.go @@ -103,15 +103,15 @@ type CreateProjectPayloadGetNameRetType = string type CreateProjectPayload struct { // Identifier of the parent resource container - containerId as well as UUID identifier is supported. // REQUIRED - ContainerParentId CreateProjectPayloadGetContainerParentIdAttributeType `json:"containerParentId"` + ContainerParentId CreateProjectPayloadGetContainerParentIdAttributeType `json:"containerParentId" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels CreateProjectPayloadGetLabelsAttributeType `json:"labels,omitempty"` // The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. // REQUIRED - Members CreateProjectPayloadGetMembersAttributeType `json:"members"` + Members CreateProjectPayloadGetMembersAttributeType `json:"members" required:"true"` // Project name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. // REQUIRED - Name CreateProjectPayloadGetNameAttributeType `json:"name"` + Name CreateProjectPayloadGetNameAttributeType `json:"name" required:"true"` } type _CreateProjectPayload CreateProjectPayload diff --git a/services/resourcemanager/model_error_response.go b/services/resourcemanager/model_error_response.go index ffc7c10fc..476ceb0d8 100644 --- a/services/resourcemanager/model_error_response.go +++ b/services/resourcemanager/model_error_response.go @@ -125,19 +125,19 @@ func setErrorResponseGetTimeStampAttributeType(arg *ErrorResponseGetTimeStampAtt type ErrorResponse struct { // The reason phrase of the status code. // REQUIRED - Error ErrorResponseGetErrorAttributeType `json:"error"` + Error ErrorResponseGetErrorAttributeType `json:"error" required:"true"` // Description of the error. // REQUIRED - Message ErrorResponseGetMessageAttributeType `json:"message"` + Message ErrorResponseGetMessageAttributeType `json:"message" required:"true"` // Path which was called. // REQUIRED - Path ErrorResponseGetPathAttributeType `json:"path"` + Path ErrorResponseGetPathAttributeType `json:"path" required:"true"` // Http Status Code. // REQUIRED - Status ErrorResponseGetStatusAttributeType `json:"status"` + Status ErrorResponseGetStatusAttributeType `json:"status" required:"true"` // Timestamp at which the error occurred. // REQUIRED - TimeStamp ErrorResponseGetTimeStampAttributeType `json:"timeStamp"` + TimeStamp ErrorResponseGetTimeStampAttributeType `json:"timeStamp" required:"true"` } type _ErrorResponse ErrorResponse diff --git a/services/resourcemanager/model_folder_response.go b/services/resourcemanager/model_folder_response.go index 7ddadd046..f7133bb04 100644 --- a/services/resourcemanager/model_folder_response.go +++ b/services/resourcemanager/model_folder_response.go @@ -165,23 +165,23 @@ func setFolderResponseGetUpdateTimeAttributeType(arg *FolderResponseGetUpdateTim type FolderResponse struct { // Globally unique, user-friendly identifier. // REQUIRED - ContainerId FolderResponseGetContainerIdAttributeType `json:"containerId"` + ContainerId FolderResponseGetContainerIdAttributeType `json:"containerId" required:"true"` // Timestamp at which the folder was created. // REQUIRED - CreationTime FolderResponseGetCreationTimeAttributeType `json:"creationTime"` + CreationTime FolderResponseGetCreationTimeAttributeType `json:"creationTime" required:"true"` // Globally unique folder identifier. // REQUIRED - FolderId FolderResponseGetFolderIdAttributeType `json:"folderId"` + FolderId FolderResponseGetFolderIdAttributeType `json:"folderId" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels FolderResponseGetLabelsAttributeType `json:"labels,omitempty"` // Folder name. // REQUIRED - Name FolderResponseGetNameAttributeType `json:"name"` + Name FolderResponseGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Parent FolderResponseGetParentAttributeType `json:"parent"` + Parent FolderResponseGetParentAttributeType `json:"parent" required:"true"` // Timestamp at which the folder was last modified. // REQUIRED - UpdateTime FolderResponseGetUpdateTimeAttributeType `json:"updateTime"` + UpdateTime FolderResponseGetUpdateTimeAttributeType `json:"updateTime" required:"true"` } type _FolderResponse FolderResponse diff --git a/services/resourcemanager/model_get_folder_details_response.go b/services/resourcemanager/model_get_folder_details_response.go index 5d4e35b04..fa7349fbf 100644 --- a/services/resourcemanager/model_get_folder_details_response.go +++ b/services/resourcemanager/model_get_folder_details_response.go @@ -185,24 +185,24 @@ func setGetFolderDetailsResponseGetUpdateTimeAttributeType(arg *GetFolderDetails type GetFolderDetailsResponse struct { // Globally unique user-friendly identifier. // REQUIRED - ContainerId GetFolderDetailsResponseGetContainerIdAttributeType `json:"containerId"` + ContainerId GetFolderDetailsResponseGetContainerIdAttributeType `json:"containerId" required:"true"` // Timestamp at which the folder was created. // REQUIRED - CreationTime GetFolderDetailsResponseGetCreationTimeAttributeType `json:"creationTime"` + CreationTime GetFolderDetailsResponseGetCreationTimeAttributeType `json:"creationTime" required:"true"` // Globally unique folder identifier. // REQUIRED - FolderId GetFolderDetailsResponseGetFolderIdAttributeType `json:"folderId"` + FolderId GetFolderDetailsResponseGetFolderIdAttributeType `json:"folderId" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels GetFolderDetailsResponseGetLabelsAttributeType `json:"labels,omitempty"` // Folder name. // REQUIRED - Name GetFolderDetailsResponseGetNameAttributeType `json:"name"` + Name GetFolderDetailsResponseGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Parent GetFolderDetailsResponseGetParentAttributeType `json:"parent"` + Parent GetFolderDetailsResponseGetParentAttributeType `json:"parent" required:"true"` Parents GetFolderDetailsResponseGetParentsAttributeType `json:"parents,omitempty"` // Timestamp at which the folder was last modified. // REQUIRED - UpdateTime GetFolderDetailsResponseGetUpdateTimeAttributeType `json:"updateTime"` + UpdateTime GetFolderDetailsResponseGetUpdateTimeAttributeType `json:"updateTime" required:"true"` } type _GetFolderDetailsResponse GetFolderDetailsResponse diff --git a/services/resourcemanager/model_get_project_response.go b/services/resourcemanager/model_get_project_response.go index 5f9044f3f..ea10a6f29 100644 --- a/services/resourcemanager/model_get_project_response.go +++ b/services/resourcemanager/model_get_project_response.go @@ -205,26 +205,26 @@ func setGetProjectResponseGetUpdateTimeAttributeType(arg *GetProjectResponseGetU type GetProjectResponse struct { // Globally unique identifier. // REQUIRED - ContainerId GetProjectResponseGetContainerIdAttributeType `json:"containerId"` + ContainerId GetProjectResponseGetContainerIdAttributeType `json:"containerId" required:"true"` // Timestamp at which the project was created. // REQUIRED - CreationTime GetProjectResponseGetCreationTimeAttributeType `json:"creationTime"` + CreationTime GetProjectResponseGetCreationTimeAttributeType `json:"creationTime" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels GetProjectResponseGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED - LifecycleState GetProjectResponseGetLifecycleStateAttributeType `json:"lifecycleState"` + LifecycleState GetProjectResponseGetLifecycleStateAttributeType `json:"lifecycleState" required:"true"` // Project name. // REQUIRED - Name GetProjectResponseGetNameAttributeType `json:"name"` + Name GetProjectResponseGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Parent GetProjectResponseGetParentAttributeType `json:"parent"` + Parent GetProjectResponseGetParentAttributeType `json:"parent" required:"true"` Parents GetProjectResponseGetParentsAttributeType `json:"parents,omitempty"` // Globally unique identifier. // REQUIRED - ProjectId GetProjectResponseGetProjectIdAttributeType `json:"projectId"` + ProjectId GetProjectResponseGetProjectIdAttributeType `json:"projectId" required:"true"` // Timestamp at which the project was last modified. // REQUIRED - UpdateTime GetProjectResponseGetUpdateTimeAttributeType `json:"updateTime"` + UpdateTime GetProjectResponseGetUpdateTimeAttributeType `json:"updateTime" required:"true"` } type _GetProjectResponse GetProjectResponse diff --git a/services/resourcemanager/model_list_folders_response.go b/services/resourcemanager/model_list_folders_response.go index 2f6856a05..86dc4e9dd 100644 --- a/services/resourcemanager/model_list_folders_response.go +++ b/services/resourcemanager/model_list_folders_response.go @@ -80,13 +80,13 @@ func setListFoldersResponseGetOffsetAttributeType(arg *ListFoldersResponseGetOff // ListFoldersResponse struct for ListFoldersResponse type ListFoldersResponse struct { // REQUIRED - Items ListFoldersResponseGetItemsAttributeType `json:"items"` + Items ListFoldersResponseGetItemsAttributeType `json:"items" required:"true"` // The maximum number of projects to return in the response. If not present, an appropriate default will be used. // REQUIRED - Limit ListFoldersResponseGetLimitAttributeType `json:"limit"` + Limit ListFoldersResponseGetLimitAttributeType `json:"limit" required:"true"` // The offset of the first item in the collection to return. // REQUIRED - Offset ListFoldersResponseGetOffsetAttributeType `json:"offset"` + Offset ListFoldersResponseGetOffsetAttributeType `json:"offset" required:"true"` } type _ListFoldersResponse ListFoldersResponse diff --git a/services/resourcemanager/model_list_folders_response_items_inner.go b/services/resourcemanager/model_list_folders_response_items_inner.go index 84ff9be49..e4a95bbdf 100644 --- a/services/resourcemanager/model_list_folders_response_items_inner.go +++ b/services/resourcemanager/model_list_folders_response_items_inner.go @@ -165,23 +165,23 @@ func setListFoldersResponseItemsInnerGetUpdateTimeAttributeType(arg *ListFolders type ListFoldersResponseItemsInner struct { // Globally unique folder identifier. // REQUIRED - ContainerId ListFoldersResponseItemsInnerGetContainerIdAttributeType `json:"containerId"` + ContainerId ListFoldersResponseItemsInnerGetContainerIdAttributeType `json:"containerId" required:"true"` // Timestamp at which the folder was created. // REQUIRED - CreationTime ListFoldersResponseItemsInnerGetCreationTimeAttributeType `json:"creationTime"` + CreationTime ListFoldersResponseItemsInnerGetCreationTimeAttributeType `json:"creationTime" required:"true"` // Globally unique folder identifier. // REQUIRED - FolderId ListFoldersResponseItemsInnerGetFolderIdAttributeType `json:"folderId"` + FolderId ListFoldersResponseItemsInnerGetFolderIdAttributeType `json:"folderId" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels ListFoldersResponseItemsInnerGetLabelsAttributeType `json:"labels,omitempty"` // Name of the folder. // REQUIRED - Name ListFoldersResponseItemsInnerGetNameAttributeType `json:"name"` + Name ListFoldersResponseItemsInnerGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Parent ListFoldersResponseItemsInnerGetParentAttributeType `json:"parent"` + Parent ListFoldersResponseItemsInnerGetParentAttributeType `json:"parent" required:"true"` // Timestamp at which the folder was created. // REQUIRED - UpdateTime ListFoldersResponseItemsInnerGetUpdateTimeAttributeType `json:"updateTime"` + UpdateTime ListFoldersResponseItemsInnerGetUpdateTimeAttributeType `json:"updateTime" required:"true"` } type _ListFoldersResponseItemsInner ListFoldersResponseItemsInner diff --git a/services/resourcemanager/model_list_organizations_response.go b/services/resourcemanager/model_list_organizations_response.go index 11bdba573..bbe7d17f0 100644 --- a/services/resourcemanager/model_list_organizations_response.go +++ b/services/resourcemanager/model_list_organizations_response.go @@ -80,13 +80,13 @@ func setListOrganizationsResponseGetOffsetAttributeType(arg *ListOrganizationsRe // ListOrganizationsResponse struct for ListOrganizationsResponse type ListOrganizationsResponse struct { // REQUIRED - Items ListOrganizationsResponseGetItemsAttributeType `json:"items"` + Items ListOrganizationsResponseGetItemsAttributeType `json:"items" required:"true"` // The maximum number of projects to return in the response. If not present, an appropriate default will be used. // REQUIRED - Limit ListOrganizationsResponseGetLimitAttributeType `json:"limit"` + Limit ListOrganizationsResponseGetLimitAttributeType `json:"limit" required:"true"` // The offset of the first item in the collection to return. // REQUIRED - Offset ListOrganizationsResponseGetOffsetAttributeType `json:"offset"` + Offset ListOrganizationsResponseGetOffsetAttributeType `json:"offset" required:"true"` } type _ListOrganizationsResponse ListOrganizationsResponse diff --git a/services/resourcemanager/model_list_organizations_response_items_inner.go b/services/resourcemanager/model_list_organizations_response_items_inner.go index fb457d759..40687f831 100644 --- a/services/resourcemanager/model_list_organizations_response_items_inner.go +++ b/services/resourcemanager/model_list_organizations_response_items_inner.go @@ -165,23 +165,23 @@ func setListOrganizationsResponseItemsInnerGetUpdateTimeAttributeType(arg *ListO type ListOrganizationsResponseItemsInner struct { // Globally unique, user-friendly identifier. // REQUIRED - ContainerId ListOrganizationsResponseItemsInnerGetContainerIdAttributeType `json:"containerId"` + ContainerId ListOrganizationsResponseItemsInnerGetContainerIdAttributeType `json:"containerId" required:"true"` // Timestamp at which the organization was created. // REQUIRED - CreationTime ListOrganizationsResponseItemsInnerGetCreationTimeAttributeType `json:"creationTime"` + CreationTime ListOrganizationsResponseItemsInnerGetCreationTimeAttributeType `json:"creationTime" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels ListOrganizationsResponseItemsInnerGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED - LifecycleState ListOrganizationsResponseItemsInnerGetLifecycleStateAttributeType `json:"lifecycleState"` + LifecycleState ListOrganizationsResponseItemsInnerGetLifecycleStateAttributeType `json:"lifecycleState" required:"true"` // Name of the organization. // REQUIRED - Name ListOrganizationsResponseItemsInnerGetNameAttributeType `json:"name"` + Name ListOrganizationsResponseItemsInnerGetNameAttributeType `json:"name" required:"true"` // Globally unique, organization identifier. // REQUIRED - OrganizationId ListOrganizationsResponseItemsInnerGetOrganizationIdAttributeType `json:"organizationId"` + OrganizationId ListOrganizationsResponseItemsInnerGetOrganizationIdAttributeType `json:"organizationId" required:"true"` // Timestamp at which the organization was last modified. // REQUIRED - UpdateTime ListOrganizationsResponseItemsInnerGetUpdateTimeAttributeType `json:"updateTime"` + UpdateTime ListOrganizationsResponseItemsInnerGetUpdateTimeAttributeType `json:"updateTime" required:"true"` } type _ListOrganizationsResponseItemsInner ListOrganizationsResponseItemsInner diff --git a/services/resourcemanager/model_list_projects_response.go b/services/resourcemanager/model_list_projects_response.go index d1a6b9d09..ca2f033fb 100644 --- a/services/resourcemanager/model_list_projects_response.go +++ b/services/resourcemanager/model_list_projects_response.go @@ -80,13 +80,13 @@ func setListProjectsResponseGetOffsetAttributeType(arg *ListProjectsResponseGetO // ListProjectsResponse struct for ListProjectsResponse type ListProjectsResponse struct { // REQUIRED - Items ListProjectsResponseGetItemsAttributeType `json:"items"` + Items ListProjectsResponseGetItemsAttributeType `json:"items" required:"true"` // The maximum number of projects to return in the response. If not present, an appropriate default will be used. // REQUIRED - Limit ListProjectsResponseGetLimitAttributeType `json:"limit"` + Limit ListProjectsResponseGetLimitAttributeType `json:"limit" required:"true"` // The offset of the first item in the collection to return. // REQUIRED - Offset ListProjectsResponseGetOffsetAttributeType `json:"offset"` + Offset ListProjectsResponseGetOffsetAttributeType `json:"offset" required:"true"` } type _ListProjectsResponse ListProjectsResponse diff --git a/services/resourcemanager/model_member.go b/services/resourcemanager/model_member.go index ab6662727..b4195aece 100644 --- a/services/resourcemanager/model_member.go +++ b/services/resourcemanager/model_member.go @@ -63,10 +63,10 @@ type MemberGetSubjectRetType = string type Member struct { // A valid role defined for the resource. // REQUIRED - Role MemberGetRoleAttributeType `json:"role"` + Role MemberGetRoleAttributeType `json:"role" required:"true"` // Unique identifier of the user, service account or client. // REQUIRED - Subject MemberGetSubjectAttributeType `json:"subject"` + Subject MemberGetSubjectAttributeType `json:"subject" required:"true"` } type _Member Member diff --git a/services/resourcemanager/model_organization_response.go b/services/resourcemanager/model_organization_response.go index dfd66ce76..976c54c13 100644 --- a/services/resourcemanager/model_organization_response.go +++ b/services/resourcemanager/model_organization_response.go @@ -165,23 +165,23 @@ func setOrganizationResponseGetUpdateTimeAttributeType(arg *OrganizationResponse type OrganizationResponse struct { // Globally unique, user-friendly identifier. // REQUIRED - ContainerId OrganizationResponseGetContainerIdAttributeType `json:"containerId"` + ContainerId OrganizationResponseGetContainerIdAttributeType `json:"containerId" required:"true"` // Timestamp at which the organization was created. // REQUIRED - CreationTime OrganizationResponseGetCreationTimeAttributeType `json:"creationTime"` + CreationTime OrganizationResponseGetCreationTimeAttributeType `json:"creationTime" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels OrganizationResponseGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED - LifecycleState OrganizationResponseGetLifecycleStateAttributeType `json:"lifecycleState"` + LifecycleState OrganizationResponseGetLifecycleStateAttributeType `json:"lifecycleState" required:"true"` // Organization name. // REQUIRED - Name OrganizationResponseGetNameAttributeType `json:"name"` + Name OrganizationResponseGetNameAttributeType `json:"name" required:"true"` // Globally unique, organization identifier. // REQUIRED - OrganizationId OrganizationResponseGetOrganizationIdAttributeType `json:"organizationId"` + OrganizationId OrganizationResponseGetOrganizationIdAttributeType `json:"organizationId" required:"true"` // Timestamp at which the organization was last modified. // REQUIRED - UpdateTime OrganizationResponseGetUpdateTimeAttributeType `json:"updateTime"` + UpdateTime OrganizationResponseGetUpdateTimeAttributeType `json:"updateTime" required:"true"` } type _OrganizationResponse OrganizationResponse diff --git a/services/resourcemanager/model_parent.go b/services/resourcemanager/model_parent.go index 66001662d..00f5691f5 100644 --- a/services/resourcemanager/model_parent.go +++ b/services/resourcemanager/model_parent.go @@ -188,13 +188,13 @@ func setParentGetTypeAttributeType(arg *ParentGetTypeAttributeType, val ParentGe type Parent struct { // User-friendly identifier of either organization or folder (will replace id). // REQUIRED - ContainerId ParentGetContainerIdAttributeType `json:"containerId"` + ContainerId ParentGetContainerIdAttributeType `json:"containerId" required:"true"` // Identifier of either organization or folder. // REQUIRED - Id ParentGetIdAttributeType `json:"id"` + Id ParentGetIdAttributeType `json:"id" required:"true"` // Container type of parent container. // REQUIRED - Type ParentGetTypeAttributeType `json:"type"` + Type ParentGetTypeAttributeType `json:"type" required:"true"` } type _Parent Parent diff --git a/services/resourcemanager/model_parent_list_inner.go b/services/resourcemanager/model_parent_list_inner.go index bc1c0d085..5e999f559 100644 --- a/services/resourcemanager/model_parent_list_inner.go +++ b/services/resourcemanager/model_parent_list_inner.go @@ -251,20 +251,20 @@ func setParentListInnerGetTypeAttributeType(arg *ParentListInnerGetTypeAttribute type ParentListInner struct { // User-friendly identifier of either organization or folder (will replace id). // REQUIRED - ContainerId ParentListInnerGetContainerIdAttributeType `json:"containerId"` + ContainerId ParentListInnerGetContainerIdAttributeType `json:"containerId" required:"true"` // User-friendly parent identifier of either organization or folder (will replace parentId). ContainerParentId ParentListInnerGetContainerParentIdAttributeType `json:"containerParentId,omitempty"` // Identifier. // REQUIRED - Id ParentListInnerGetIdAttributeType `json:"id"` + Id ParentListInnerGetIdAttributeType `json:"id" required:"true"` // Parent container name. // REQUIRED - Name ParentListInnerGetNameAttributeType `json:"name"` + Name ParentListInnerGetNameAttributeType `json:"name" required:"true"` // Identifier of the parent resource container. ParentId ParentListInnerGetParentIdAttributeType `json:"parentId,omitempty"` // Parent container type. // REQUIRED - Type ParentListInnerGetTypeAttributeType `json:"type"` + Type ParentListInnerGetTypeAttributeType `json:"type" required:"true"` } type _ParentListInner ParentListInner diff --git a/services/resourcemanager/model_project.go b/services/resourcemanager/model_project.go index ae99f0037..2c9bc31ef 100644 --- a/services/resourcemanager/model_project.go +++ b/services/resourcemanager/model_project.go @@ -185,25 +185,25 @@ func setProjectGetUpdateTimeAttributeType(arg *ProjectGetUpdateTimeAttributeType type Project struct { // Globally unique, user-friendly identifier. // REQUIRED - ContainerId ProjectGetContainerIdAttributeType `json:"containerId"` + ContainerId ProjectGetContainerIdAttributeType `json:"containerId" required:"true"` // Timestamp at which the project was created. // REQUIRED - CreationTime ProjectGetCreationTimeAttributeType `json:"creationTime"` + CreationTime ProjectGetCreationTimeAttributeType `json:"creationTime" required:"true"` // Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels ProjectGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED - LifecycleState ProjectGetLifecycleStateAttributeType `json:"lifecycleState"` + LifecycleState ProjectGetLifecycleStateAttributeType `json:"lifecycleState" required:"true"` // Project name. // REQUIRED - Name ProjectGetNameAttributeType `json:"name"` + Name ProjectGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Parent ProjectGetParentAttributeType `json:"parent"` + Parent ProjectGetParentAttributeType `json:"parent" required:"true"` // Globally unique, project identifier. // REQUIRED - ProjectId ProjectGetProjectIdAttributeType `json:"projectId"` + ProjectId ProjectGetProjectIdAttributeType `json:"projectId" required:"true"` // Timestamp at which the project was last modified. // REQUIRED - UpdateTime ProjectGetUpdateTimeAttributeType `json:"updateTime"` + UpdateTime ProjectGetUpdateTimeAttributeType `json:"updateTime" required:"true"` } type _Project Project