Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchema
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchema
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromepolicy_v1/classes.rb,
 lib/google/apis/chromepolicy_v1/representations.rb,
 lib/google/apis/chromepolicy_v1/representations.rb
Overview
Resource representing a policy schema. Next ID: 10
Instance Attribute Summary collapse
- 
  
    
      #access_restrictions  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #additional_target_key_names  ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #definition  ⇒ Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Describes a complete .proto file. 
- 
  
    
      #field_descriptions  ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Format: name=customers/ customer/policySchemas/schema_namespaceCorresponds to the JSON propertyname.
- 
  
    
      #notices  ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #policy_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #schema_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #support_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleChromePolicyV1PolicySchema 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleChromePolicyV1PolicySchema. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1PolicySchema
Returns a new instance of GoogleChromePolicyV1PolicySchema.
| 243 244 245 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 243 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#access_restrictions ⇒ Array<String>
Output only. Specific access restrictions related to this policy.
Corresponds to the JSON property accessRestrictions
| 196 197 198 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 196 def access_restrictions @access_restrictions end | 
#additional_target_key_names ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName>
Output only. Additional key names that will be used to identify the target of
the policy value. When specifying a policyTargetKey, each of the additional
keys specified here will have to be included in the additionalTargetKeys map.
Corresponds to the JSON property additionalTargetKeyNames
| 203 204 205 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 203 def additional_target_key_names @additional_target_key_names end | 
#definition ⇒ Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto
Describes a complete .proto file.
Corresponds to the JSON property definition
| 208 209 210 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 208 def definition @definition end | 
#field_descriptions ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>
Output only. Detailed description of each field that is part of the schema.
Corresponds to the JSON property fieldDescriptions
| 213 214 215 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 213 def field_descriptions @field_descriptions end | 
#name ⇒ String
Format: name=customers/customer/policySchemas/schema_namespace
Corresponds to the JSON property name
| 218 219 220 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 218 def name @name end | 
#notices ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription>
Output only. Special notice messages related to setting certain values in
certain fields in the schema.
Corresponds to the JSON property notices
| 224 225 226 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 224 def notices @notices end | 
#policy_description ⇒ String
Output only. Description about the policy schema for user consumption.
Corresponds to the JSON property policyDescription
| 229 230 231 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 229 def policy_description @policy_description end | 
#schema_name ⇒ String
Output only. The full qualified name of the policy schema. This value is used
to fill the field policy_schema in PolicyValue when calling
BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies.
Corresponds to the JSON property schemaName
| 236 237 238 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 236 def schema_name @schema_name end | 
#support_uri ⇒ String
Output only. URI to related support article for this schema.
Corresponds to the JSON property supportUri
| 241 242 243 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 241 def support_uri @support_uri end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 248 249 250 251 252 253 254 255 256 257 258 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 248 def update!(**args) @access_restrictions = args[:access_restrictions] if args.key?(:access_restrictions) @additional_target_key_names = args[:additional_target_key_names] if args.key?(:additional_target_key_names) @definition = args[:definition] if args.key?(:definition) @field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions) @name = args[:name] if args.key?(:name) @notices = args[:notices] if args.key?(:notices) @policy_description = args[:policy_description] if args.key?(:policy_description) @schema_name = args[:schema_name] if args.key?(:schema_name) @support_uri = args[:support_uri] if args.key?(:support_uri) end |