google_api_service_user v0.0.1 GoogleApi.ServiceUser.V1.Model.Visibility View Source

`Visibility` defines restrictions for the visibility of service elements. Restrictions are specified using visibility labels (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. Users and projects can have access to more than one visibility label. The effective visibility for multiple labels is the union of each label's elements, plus any unrestricted elements. If an element and its parents have no restrictions, visibility is unconditionally granted. Example: visibility: rules: - selector: google.calendar.Calendar.EnhancedSearch restriction: TRUSTED_TESTER - selector: google.calendar.Calendar.Delegate restriction: GOOGLE_INTERNAL Here, all methods are publicly visible except for the restricted methods EnhancedSearch and Delegate.

Attributes

  • rules (List[VisibilityRule]): A list of visibility rules that apply to individual API elements. NOTE: All service configuration rules follow "last one wins" order. Defaults to: null.