@@ -20,21 +20,21 @@ type iListPolicyGroupsResponseBody interface {
2020}
2121
2222type ListPolicyGroupsResponseBody struct {
23- // A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists .
23+ // The pagination token that indicates the position up to which data has been read in the current call. An empty value indicates that all data has been read .
2424 //
2525 // example:
2626 //
2727 // AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****
2828 NextToken * string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
29- // The policies .
29+ // The policy information .
3030 PolicyGroupModel []* ListPolicyGroupsResponseBodyPolicyGroupModel `json:"PolicyGroupModel,omitempty" xml:"PolicyGroupModel,omitempty" type:"Repeated"`
31- // The ID of the request.
31+ // The request ID .
3232 //
3333 // example:
3434 //
3535 // 7B9EFA4F-4305-5968-BAEE-BD8B8DE5****
3636 RequestId * string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
37- // The total number of entries returned .
37+ // The total number of entries.
3838 //
3939 // example:
4040 //
@@ -100,51 +100,52 @@ func (s *ListPolicyGroupsResponseBody) Validate() error {
100100}
101101
102102type ListPolicyGroupsResponseBodyPolicyGroupModel struct {
103- // Specifies whether to enable the webcam redirection feature.
103+ AccessPolicies []* ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies `json:"AccessPolicies,omitempty" xml:"AccessPolicies,omitempty" type:"Repeated"`
104+ // Indicates whether local camera redirection is enabled.
104105 //
105106 // example:
106107 //
107108 // on
108109 CameraRedirect * string `json:"CameraRedirect,omitempty" xml:"CameraRedirect,omitempty"`
109- // The read/write permissions on the clipboard.
110+ // The clipboard permission .
110111 //
111112 // example:
112113 //
113114 // readwrite
114115 Clipboard * string `json:"Clipboard,omitempty" xml:"Clipboard,omitempty"`
115- // The time when the policy was created .
116+ // The creation time .
116117 //
117118 // example:
118119 //
119120 // 2024-06-04 10:28:54
120121 GmtCreate * string `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
121- // The file transfer policy of the HTML5 client.
122+ // The file transfer policy for the HTML5 client.
122123 //
123124 // example:
124125 //
125126 // download
126127 Html5FileTransfer * string `json:"Html5FileTransfer,omitempty" xml:"Html5FileTransfer,omitempty"`
127- // The read/write permissions on the on-premises drive .
128+ // The local disk mapping permission .
128129 //
129130 // example:
130131 //
131132 // off
132133 LocalDrive * string `json:"LocalDrive,omitempty" xml:"LocalDrive,omitempty"`
133- // Identifies whether the resolution is locked .
134+ // The locked resolution.
134135 //
135136 // example:
136137 //
137138 // off
138139 LockResolution * string `json:"LockResolution,omitempty" xml:"LockResolution,omitempty"`
139- // The network redirection policy .
140+ // The network redirection settings .
140141 NetRedirectPolicy * ListPolicyGroupsResponseBodyPolicyGroupModelNetRedirectPolicy `json:"NetRedirectPolicy,omitempty" xml:"NetRedirectPolicy,omitempty" type:"Struct"`
141- // The ID of the policy.
142+ // The policy ID .
142143 //
143144 // example:
144145 //
145146 // pg-9q6o8qpiy8opkj****
146147 PolicyGroupId * string `json:"PolicyGroupId,omitempty" xml:"PolicyGroupId,omitempty"`
147- // The name of the policy.
148+ // The policy name .
148149 //
149150 // example:
150151 //
@@ -164,7 +165,7 @@ type ListPolicyGroupsResponseBodyPolicyGroupModel struct {
164165 //
165166 // 1920
166167 SessionResolutionWidth * int32 `json:"SessionResolutionWidth,omitempty" xml:"SessionResolutionWidth,omitempty"`
167- // The screen watermark.
168+ // The screen watermark settings .
168169 Watermark * ListPolicyGroupsResponseBodyPolicyGroupModelWatermark `json:"Watermark,omitempty" xml:"Watermark,omitempty" type:"Struct"`
169170}
170171
@@ -176,6 +177,10 @@ func (s ListPolicyGroupsResponseBodyPolicyGroupModel) GoString() string {
176177 return s .String ()
177178}
178179
180+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModel ) GetAccessPolicies () []* ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies {
181+ return s .AccessPolicies
182+ }
183+
179184func (s * ListPolicyGroupsResponseBodyPolicyGroupModel ) GetCameraRedirect () * string {
180185 return s .CameraRedirect
181186}
@@ -228,6 +233,11 @@ func (s *ListPolicyGroupsResponseBodyPolicyGroupModel) GetWatermark() *ListPolic
228233 return s .Watermark
229234}
230235
236+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModel ) SetAccessPolicies (v []* ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) * ListPolicyGroupsResponseBodyPolicyGroupModel {
237+ s .AccessPolicies = v
238+ return s
239+ }
240+
231241func (s * ListPolicyGroupsResponseBodyPolicyGroupModel ) SetCameraRedirect (v string ) * ListPolicyGroupsResponseBodyPolicyGroupModel {
232242 s .CameraRedirect = & v
233243 return s
@@ -294,6 +304,15 @@ func (s *ListPolicyGroupsResponseBodyPolicyGroupModel) SetWatermark(v *ListPolic
294304}
295305
296306func (s * ListPolicyGroupsResponseBodyPolicyGroupModel ) Validate () error {
307+ if s .AccessPolicies != nil {
308+ for _ , item := range s .AccessPolicies {
309+ if item != nil {
310+ if err := item .Validate (); err != nil {
311+ return err
312+ }
313+ }
314+ }
315+ }
297316 if s .NetRedirectPolicy != nil {
298317 if err := s .NetRedirectPolicy .Validate (); err != nil {
299318 return err
@@ -312,50 +331,115 @@ func (s *ListPolicyGroupsResponseBodyPolicyGroupModel) Validate() error {
312331 return nil
313332}
314333
334+ type ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies struct {
335+ AccessPolicyRuleId * int64 `json:"AccessPolicyRuleId,omitempty" xml:"AccessPolicyRuleId,omitempty"`
336+ CidrIp * string `json:"CidrIp,omitempty" xml:"CidrIp,omitempty"`
337+ Description * string `json:"Description,omitempty" xml:"Description,omitempty"`
338+ Policy * string `json:"Policy,omitempty" xml:"Policy,omitempty"`
339+ Priority * int32 `json:"Priority,omitempty" xml:"Priority,omitempty"`
340+ }
341+
342+ func (s ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) String () string {
343+ return dara .Prettify (s )
344+ }
345+
346+ func (s ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) GoString () string {
347+ return s .String ()
348+ }
349+
350+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) GetAccessPolicyRuleId () * int64 {
351+ return s .AccessPolicyRuleId
352+ }
353+
354+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) GetCidrIp () * string {
355+ return s .CidrIp
356+ }
357+
358+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) GetDescription () * string {
359+ return s .Description
360+ }
361+
362+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) GetPolicy () * string {
363+ return s .Policy
364+ }
365+
366+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) GetPriority () * int32 {
367+ return s .Priority
368+ }
369+
370+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) SetAccessPolicyRuleId (v int64 ) * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies {
371+ s .AccessPolicyRuleId = & v
372+ return s
373+ }
374+
375+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) SetCidrIp (v string ) * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies {
376+ s .CidrIp = & v
377+ return s
378+ }
379+
380+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) SetDescription (v string ) * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies {
381+ s .Description = & v
382+ return s
383+ }
384+
385+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) SetPolicy (v string ) * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies {
386+ s .Policy = & v
387+ return s
388+ }
389+
390+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) SetPriority (v int32 ) * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies {
391+ s .Priority = & v
392+ return s
393+ }
394+
395+ func (s * ListPolicyGroupsResponseBodyPolicyGroupModelAccessPolicies ) Validate () error {
396+ return dara .Validate (s )
397+ }
398+
315399type ListPolicyGroupsResponseBodyPolicyGroupModelNetRedirectPolicy struct {
316- // Indicates whether to manually configure a custom proxy .
400+ // Indicates whether a transparent proxy is manually configured .
317401 //
318402 // example:
319403 //
320404 // off
321405 CustomProxy * string `json:"CustomProxy,omitempty" xml:"CustomProxy,omitempty"`
322- // The IPv4 address of the custom proxy.
406+ // The proxy IP address of the transparent proxy. The value must be in IPv4 format .
323407 //
324408 // example:
325409 //
326410 // 47.100.XX.XX
327411 HostAddr * string `json:"HostAddr,omitempty" xml:"HostAddr,omitempty"`
328- // Indicates whether the network redirection feature is enabled. When this feature is enabled, network traffic is automatically redirected to the on-premises network by default.
412+ // Indicates whether network redirection is enabled. After this feature is enabled, traffic is redirected to the client-side network by default.
329413 //
330414 // example:
331415 //
332416 // off
333417 NetRedirect * string `json:"NetRedirect,omitempty" xml:"NetRedirect,omitempty"`
334- // The port of the custom proxy. Valid values: 1 to 65535.
418+ // The port of the transparent proxy. Valid values: 1 to 65535.
335419 //
336420 // example:
337421 //
338422 // 1145
339423 Port * string `json:"Port,omitempty" xml:"Port,omitempty"`
340- // The password of the proxy. The password must be 1 to 256 in length and cannot contain Chinese character or space characters.
424+ // The proxy password . The value must be 1 to 256 characters in length and cannot contain Chinese characters or whitespace characters.
341425 //
342426 // example:
343427 //
344428 // password
345429 ProxyPassword * string `json:"ProxyPassword,omitempty" xml:"ProxyPassword,omitempty"`
346- // The type of the proxy protocol.
430+ // The proxy protocol type .
347431 //
348432 // example:
349433 //
350434 // socks5
351435 ProxyType * string `json:"ProxyType,omitempty" xml:"ProxyType,omitempty"`
352- // The username of the proxy. The name must be 1 to 256 in length and cannot contain Chinese character or space characters.
436+ // The proxy username . The value must be 1 to 256 characters in length and cannot contain Chinese characters or whitespace characters.
353437 //
354438 // example:
355439 //
356440 // username
357441 ProxyUserName * string `json:"ProxyUserName,omitempty" xml:"ProxyUserName,omitempty"`
358- // The proxy rules.
442+ // The list of proxy rules.
359443 Rules []* ListPolicyGroupsResponseBodyPolicyGroupModelNetRedirectPolicyRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Repeated"`
360444}
361445
@@ -453,13 +537,13 @@ func (s *ListPolicyGroupsResponseBodyPolicyGroupModelNetRedirectPolicy) Validate
453537}
454538
455539type ListPolicyGroupsResponseBodyPolicyGroupModelNetRedirectPolicyRules struct {
456- // The type of the rule.
540+ // The rule type .
457541 //
458542 // example:
459543 //
460544 // domain
461545 RuleType * string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
462- // The name of the application package or domain name.
546+ // The application package name or domain name.
463547 //
464548 // example:
465549 //
@@ -498,9 +582,9 @@ func (s *ListPolicyGroupsResponseBodyPolicyGroupModelNetRedirectPolicyRules) Val
498582}
499583
500584type ListPolicyGroupsResponseBodyPolicyGroupModelPolicyRelatedResources struct {
501- // The instance group IDs.
585+ // The list of instance group IDs.
502586 AndroidInstanceGroupIds []* string `json:"AndroidInstanceGroupIds,omitempty" xml:"AndroidInstanceGroupIds,omitempty" type:"Repeated"`
503- // The matrix IDs.
587+ // The list of matrix IDs.
504588 CloudPhoneMatrixIds []* string `json:"CloudPhoneMatrixIds,omitempty" xml:"CloudPhoneMatrixIds,omitempty" type:"Repeated"`
505589}
506590
@@ -535,37 +619,37 @@ func (s *ListPolicyGroupsResponseBodyPolicyGroupModelPolicyRelatedResources) Val
535619}
536620
537621type ListPolicyGroupsResponseBodyPolicyGroupModelWatermark struct {
538- // The font color of the watermark . Valid values: 0 to 16777215.
622+ // The watermark font color. Valid values: 0 to 16777215.
539623 //
540624 // example:
541625 //
542626 // 0
543627 WatermarkColor * int32 `json:"WatermarkColor,omitempty" xml:"WatermarkColor,omitempty"`
544- // The custom text for the watermark. The text can be up to 10 characters in length and cannot contain emoji characters.
628+ // The custom watermark content . The value can be up to 10 characters in length and does not support emoji characters.
545629 //
546630 // example:
547631 //
548632 // custom text
549633 WatermarkCustomText * string `json:"WatermarkCustomText,omitempty" xml:"WatermarkCustomText,omitempty"`
550- // The font size of the watermark . Valid values: 10 to 20.
634+ // The watermark font size. Valid values: 10 to 20.
551635 //
552636 // example:
553637 //
554638 // 12
555639 WatermarkFontSize * int32 `json:"WatermarkFontSize,omitempty" xml:"WatermarkFontSize,omitempty"`
556- // Specifies whether to enable the screen watermark.
640+ // The screen watermark switch .
557641 //
558642 // example:
559643 //
560644 // off
561645 WatermarkSwitch * string `json:"WatermarkSwitch,omitempty" xml:"WatermarkSwitch,omitempty"`
562- // The opacity of the watermark. A larger value makes the watermark more opaque . Valid values: 10 to 100.
646+ // The watermark opacity . A larger value indicates lower transparency . Valid values: 10 to 100.
563647 //
564648 // example:
565649 //
566650 // 25
567651 WatermarkTransparencyValue * int32 `json:"WatermarkTransparencyValue,omitempty" xml:"WatermarkTransparencyValue,omitempty"`
568- // The content of the screen watermark.
652+ // The screen watermark content .
569653 WatermarkTypes []* string `json:"WatermarkTypes,omitempty" xml:"WatermarkTypes,omitempty" type:"Repeated"`
570654}
571655
0 commit comments