Skip to content

Commit 3782404

Browse files
committed
Add Scope support to google-apps connection options
1 parent 3b66f5d commit 3782404

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

management/connection.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,14 @@ type ConnectionOptionsGoogleApps struct {
727727
LogoURL *string `json:"icon_url,omitempty"`
728728
}
729729

730+
func (c *ConnectionOptionsGoogleApps) Scopes() []string {
731+
return tag.Scopes(c)
732+
}
733+
734+
func (c *ConnectionOptionsGoogleApps) SetScopes(enable bool, scopes ...string) {
735+
tag.SetScopes(c, enable, scopes...)
736+
}
737+
730738
type ConnectionManager struct {
731739
*Management
732740
}

0 commit comments

Comments
 (0)