From c3e4be8fdf83364bd2fd9bf317a9afb44c0265a0 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 10 Jul 2026 01:14:36 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 226207 --- groups/item_settings_request_builder.go | 4 ++-- kiota-lock.json | 4 ++-- models/group.go | 4 ++-- models/room.go | 4 ++-- models/subscription.go | 12 ++++++------ models/workspace.go | 4 ++-- settings/settings_request_builder.go | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/groups/item_settings_request_builder.go b/groups/item_settings_request_builder.go index 5270693922e..abb2834ec07 100644 --- a/groups/item_settings_request_builder.go +++ b/groups/item_settings_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSettingsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingCollectionResponseable), nil } -// Post create a new directory setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// Post create a new directory setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. The following setting templates are available for groups: // returns a DirectorySettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -136,7 +136,7 @@ func (m *ItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new directory setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// ToPostRequestInformation create a new directory setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. The following setting templates are available for groups: // returns a *RequestInformation when successful func (m *ItemSettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, requestConfiguration *ItemSettingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-lock.json b/kiota-lock.json index 232dd2a5ce0..67544df8c9e 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "5AE349AD409CB5075DBD2D373E15712AC475F9FDC718223DB8F8D7D65837F76A2564C9B2E7383DD294D0690802362BD16CCFC32844BBB45DD2CA8690A953A237", + "descriptionHash": "C83BBC2D664CC21A971EAB56A4269689874467BE15A0F7F5479EFE39578C464E6D6606C990346E5185BD25C64482E00E8158AFEBA28D029BE50E6108E4E4C0AB", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.33.0", + "kiotaVersion": "1.34.1", "clientClassName": "GraphBaseServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "github.com/microsoftgraph/msgraph-beta-sdk-go/", diff --git a/models/group.go b/models/group.go index b3a0246a3d2..81b6efc993e 100644 --- a/models/group.go +++ b/models/group.go @@ -73,7 +73,7 @@ func (m *Group) GetAppRoleAssignments()([]AppRoleAssignmentable) { } return nil } -// GetAssignedLabels gets the assignedLabels property value. The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Requires $select to retrieve. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. +// GetAssignedLabels gets the assignedLabels property value. The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups. // returns a []AssignedLabelable when successful func (m *Group) GetAssignedLabels()([]AssignedLabelable) { val, err := m.GetBackingStore().Get("assignedLabels") @@ -2722,7 +2722,7 @@ func (m *Group) SetAppRoleAssignments(value []AppRoleAssignmentable)() { panic(err) } } -// SetAssignedLabels sets the assignedLabels property value. The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Requires $select to retrieve. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. +// SetAssignedLabels sets the assignedLabels property value. The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups. func (m *Group) SetAssignedLabels(value []AssignedLabelable)() { err := m.GetBackingStore().Set("assignedLabels", value) if err != nil { diff --git a/models/room.go b/models/room.go index e0778a7875b..7db2ed6af2e 100644 --- a/models/room.go +++ b/models/room.go @@ -280,7 +280,7 @@ func (m *Room) GetNickname()(*string) { } return nil } -// GetPlaceId gets the placeId property value. An alternative immutable unique identifier of the room. Read-only. +// GetPlaceId gets the placeId property value. The placeId property // returns a *string when successful func (m *Room) GetPlaceId()(*string) { val, err := m.GetBackingStore().Get("placeId") @@ -474,7 +474,7 @@ func (m *Room) SetNickname(value *string)() { panic(err) } } -// SetPlaceId sets the placeId property value. An alternative immutable unique identifier of the room. Read-only. +// SetPlaceId sets the placeId property value. The placeId property func (m *Room) SetPlaceId(value *string)() { err := m.GetBackingStore().Set("placeId", value) if err != nil { diff --git a/models/subscription.go b/models/subscription.go index e04ec891ff6..fc939e10450 100644 --- a/models/subscription.go +++ b/models/subscription.go @@ -389,7 +389,7 @@ func (m *Subscription) GetResource()(*string) { } return nil } -// GetVapidPublicKey gets the vapidPublicKey property value. The vapidPublicKey property +// GetVapidPublicKey gets the vapidPublicKey property value. Optional. The application server's VAPID public key, base64url-encoded (P-256 uncompressed point, 65 bytes pre-encoding). Obtained by calling the getVapidPublicKey function on the subscription collection. The browser passes this value to PushManager.subscribe({ applicationServerKey }) to bind the push subscription to this server identity. Required when notificationUrl targets a known Web Push service origin (for example, *.push.apple.com, fcm.googleapis.com, updates.push.services.mozilla.com); rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8292. // returns a *string when successful func (m *Subscription) GetVapidPublicKey()(*string) { val, err := m.GetBackingStore().Get("vapidPublicKey") @@ -401,7 +401,7 @@ func (m *Subscription) GetVapidPublicKey()(*string) { } return nil } -// GetWebPushEncryptionP256dhPublicKey gets the webPushEncryptionP256dhPublicKey property value. The webPushEncryptionP256dhPublicKey property +// GetWebPushEncryptionP256dhPublicKey gets the webPushEncryptionP256dhPublicKey property value. Optional. The subscriber's ECDH public key, base64url-encoded (P-256 uncompressed point, 65 bytes pre-encoding). Obtained from the browser via PushSubscription.getKey('p256dh'). Used as the peer public key during ECDH key agreement to derive the per-message content encryption key for RFC 8291 payload encryption. Required when notificationUrl targets a known Web Push service origin; rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8291 Section 3. // returns a *string when successful func (m *Subscription) GetWebPushEncryptionP256dhPublicKey()(*string) { val, err := m.GetBackingStore().Get("webPushEncryptionP256dhPublicKey") @@ -413,7 +413,7 @@ func (m *Subscription) GetWebPushEncryptionP256dhPublicKey()(*string) { } return nil } -// GetWebPushEncryptionSecret gets the webPushEncryptionSecret property value. The webPushEncryptionSecret property +// GetWebPushEncryptionSecret gets the webPushEncryptionSecret property value. Optional. The subscriber's auth secret, base64url-encoded (16 bytes pre-encoding). Obtained from the browser via PushSubscription.getKey('auth'). Used as the HMAC-SHA-256 salt for the HKDF combine step that derives key material for RFC 8291 payload encryption. Write-only: this value is never returned in GET responses (returned as null). Treat as a secret. Required when notificationUrl targets a known Web Push service origin; rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8291 Section 3. // returns a *string when successful func (m *Subscription) GetWebPushEncryptionSecret()(*string) { val, err := m.GetBackingStore().Get("webPushEncryptionSecret") @@ -646,21 +646,21 @@ func (m *Subscription) SetResource(value *string)() { panic(err) } } -// SetVapidPublicKey sets the vapidPublicKey property value. The vapidPublicKey property +// SetVapidPublicKey sets the vapidPublicKey property value. Optional. The application server's VAPID public key, base64url-encoded (P-256 uncompressed point, 65 bytes pre-encoding). Obtained by calling the getVapidPublicKey function on the subscription collection. The browser passes this value to PushManager.subscribe({ applicationServerKey }) to bind the push subscription to this server identity. Required when notificationUrl targets a known Web Push service origin (for example, *.push.apple.com, fcm.googleapis.com, updates.push.services.mozilla.com); rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8292. func (m *Subscription) SetVapidPublicKey(value *string)() { err := m.GetBackingStore().Set("vapidPublicKey", value) if err != nil { panic(err) } } -// SetWebPushEncryptionP256dhPublicKey sets the webPushEncryptionP256dhPublicKey property value. The webPushEncryptionP256dhPublicKey property +// SetWebPushEncryptionP256dhPublicKey sets the webPushEncryptionP256dhPublicKey property value. Optional. The subscriber's ECDH public key, base64url-encoded (P-256 uncompressed point, 65 bytes pre-encoding). Obtained from the browser via PushSubscription.getKey('p256dh'). Used as the peer public key during ECDH key agreement to derive the per-message content encryption key for RFC 8291 payload encryption. Required when notificationUrl targets a known Web Push service origin; rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8291 Section 3. func (m *Subscription) SetWebPushEncryptionP256dhPublicKey(value *string)() { err := m.GetBackingStore().Set("webPushEncryptionP256dhPublicKey", value) if err != nil { panic(err) } } -// SetWebPushEncryptionSecret sets the webPushEncryptionSecret property value. The webPushEncryptionSecret property +// SetWebPushEncryptionSecret sets the webPushEncryptionSecret property value. Optional. The subscriber's auth secret, base64url-encoded (16 bytes pre-encoding). Obtained from the browser via PushSubscription.getKey('auth'). Used as the HMAC-SHA-256 salt for the HKDF combine step that derives key material for RFC 8291 payload encryption. Write-only: this value is never returned in GET responses (returned as null). Treat as a secret. Required when notificationUrl targets a known Web Push service origin; rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8291 Section 3. func (m *Subscription) SetWebPushEncryptionSecret(value *string)() { err := m.GetBackingStore().Set("webPushEncryptionSecret", value) if err != nil { diff --git a/models/workspace.go b/models/workspace.go index 094b154dacd..83e3017d471 100644 --- a/models/workspace.go +++ b/models/workspace.go @@ -216,7 +216,7 @@ func (m *Workspace) GetNickname()(*string) { } return nil } -// GetPlaceId gets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. +// GetPlaceId gets the placeId property value. The placeId property // returns a *string when successful func (m *Workspace) GetPlaceId()(*string) { val, err := m.GetBackingStore().Get("placeId") @@ -346,7 +346,7 @@ func (m *Workspace) SetNickname(value *string)() { panic(err) } } -// SetPlaceId sets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. +// SetPlaceId sets the placeId property value. The placeId property func (m *Workspace) SetPlaceId(value *string)() { err := m.GetBackingStore().Set("placeId", value) if err != nil { diff --git a/settings/settings_request_builder.go b/settings/settings_request_builder.go index 7539376270e..8f72b3a8e72 100644 --- a/settings/settings_request_builder.go +++ b/settings/settings_request_builder.go @@ -102,7 +102,7 @@ func (m *SettingsRequestBuilder) Get(ctx context.Context, requestConfiguration * } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingCollectionResponseable), nil } -// Post create a new directory setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// Post create a new directory setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. The following setting templates are available for groups: // returns a DirectorySettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -139,7 +139,7 @@ func (m *SettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new directory setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// ToPostRequestInformation create a new directory setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. The following setting templates are available for groups: // returns a *RequestInformation when successful func (m *SettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, requestConfiguration *SettingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)