google-apis-chromepolicy_v1 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1596c8a8f9643b2b75bbc68419e35523438e0a9ce39eacf8dab12a9b4303b019
4
- data.tar.gz: fdf2cb69a17960a0572db83327b2dec856fe7fc45f7e55967eabc7664432c6d1
3
+ metadata.gz: 77d52c9f08c13a151b15dffe126f925c1d0441341b702be539a12047032f159e
4
+ data.tar.gz: 2eeff6e524ff74a462fb4f4bfaf91a902e326c98ee056ad1b89a8bca75bdba6f
5
5
  SHA512:
6
- metadata.gz: b5e307844c8bf3a18c01f6209bb0444047bfcc6bdabbc87c80450c2ad2fea9c9039af6f62bfbee11e7d294d2715e4f8994fcd98db55dbe4385d2e78b6f6fea3d
7
- data.tar.gz: 86cf6e58ba7d432a0c70c5cecef02cce5543eafe8215c79ad3e0b38a15b8418dc46dc09215dcb43eb56e2f1af84291f6ba0d6a5d9c01c98cd9c466f677301cf6
6
+ metadata.gz: de62c6d0e3c59d05b6a85e353a76302800570f9db48deb6641ba68493a2bfcd718004caf3142144999cc847a6271ad591b412693831b7763939e4427875eeb02
7
+ data.tar.gz: 9c5300500aa76c2da3007cb20125f4a80df76c45d64efc21d27f7a619f0e095424c33a33084f632fa782749161b5ef245e253ece79d6d19bd76ded6c98c074b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.11.0 (2021-11-09)
4
+
5
+ * Regenerated from discovery document revision 20211105
6
+
3
7
  ### v0.10.0 (2021-10-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20211018
@@ -22,6 +22,44 @@ module Google
22
22
  module Apis
23
23
  module ChromepolicyV1
24
24
 
25
+ #
26
+ class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Description about current life cycle.
30
+ # Corresponds to the JSON property `description`
31
+ # @return [String]
32
+ attr_accessor :description
33
+
34
+ # Represents a whole or partial calendar date, such as a birthday. The time of
35
+ # day and time zone are either specified elsewhere or are insignificant. The
36
+ # date is relative to the Gregorian Calendar. This can represent one of the
37
+ # following: * A full date, with non-zero year, month, and day values * A month
38
+ # and day value, with a zero year, such as an anniversary * A year on its own,
39
+ # with zero month and day values * A year and month value, with a zero day, such
40
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
41
+ # google.protobuf.Timestamp`.
42
+ # Corresponds to the JSON property `endSupport`
43
+ # @return [Google::Apis::ChromepolicyV1::GoogleTypeDate]
44
+ attr_accessor :end_support
45
+
46
+ # Indicate current life cycle stage of the policy API.
47
+ # Corresponds to the JSON property `policyApiLifecycleStage`
48
+ # @return [String]
49
+ attr_accessor :policy_api_lifecycle_stage
50
+
51
+ def initialize(**args)
52
+ update!(**args)
53
+ end
54
+
55
+ # Update properties of this object
56
+ def update!(**args)
57
+ @description = args[:description] if args.key?(:description)
58
+ @end_support = args[:end_support] if args.key?(:end_support)
59
+ @policy_api_lifecycle_stage = args[:policy_api_lifecycle_stage] if args.key?(:policy_api_lifecycle_stage)
60
+ end
61
+ end
62
+
25
63
  # Additional key names that will be used to identify the target of the policy
26
64
  # value.
27
65
  class GoogleChromePolicyV1AdditionalTargetKeyName
@@ -186,7 +224,7 @@ module Google
186
224
  end
187
225
  end
188
226
 
189
- # Resource representing a policy schema. Next ID: 11
227
+ # Resource representing a policy schema. Next ID: 12
190
228
  class GoogleChromePolicyV1PolicySchema
191
229
  include Google::Apis::Core::Hashable
192
230
 
@@ -223,6 +261,11 @@ module Google
223
261
  # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription>]
224
262
  attr_accessor :notices
225
263
 
264
+ # Output only. Current life cycle information.
265
+ # Corresponds to the JSON property `policyApiLifeycle`
266
+ # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
267
+ attr_accessor :policy_api_lifeycle
268
+
226
269
  # Output only. Description about the policy schema for user consumption.
227
270
  # Corresponds to the JSON property `policyDescription`
228
271
  # @return [String]
@@ -257,6 +300,7 @@ module Google
257
300
  @field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions)
258
301
  @name = args[:name] if args.key?(:name)
259
302
  @notices = args[:notices] if args.key?(:notices)
303
+ @policy_api_lifeycle = args[:policy_api_lifeycle] if args.key?(:policy_api_lifeycle)
260
304
  @policy_description = args[:policy_description] if args.key?(:policy_description)
261
305
  @schema_name = args[:schema_name] if args.key?(:schema_name)
262
306
  @support_uri = args[:support_uri] if args.key?(:support_uri)
@@ -623,6 +667,47 @@ module Google
623
667
  end
624
668
  end
625
669
 
670
+ # Represents a whole or partial calendar date, such as a birthday. The time of
671
+ # day and time zone are either specified elsewhere or are insignificant. The
672
+ # date is relative to the Gregorian Calendar. This can represent one of the
673
+ # following: * A full date, with non-zero year, month, and day values * A month
674
+ # and day value, with a zero year, such as an anniversary * A year on its own,
675
+ # with zero month and day values * A year and month value, with a zero day, such
676
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
677
+ # google.protobuf.Timestamp`.
678
+ class GoogleTypeDate
679
+ include Google::Apis::Core::Hashable
680
+
681
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
682
+ # specify a year by itself or a year and month where the day isn't significant.
683
+ # Corresponds to the JSON property `day`
684
+ # @return [Fixnum]
685
+ attr_accessor :day
686
+
687
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
688
+ # and day.
689
+ # Corresponds to the JSON property `month`
690
+ # @return [Fixnum]
691
+ attr_accessor :month
692
+
693
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
694
+ # year.
695
+ # Corresponds to the JSON property `year`
696
+ # @return [Fixnum]
697
+ attr_accessor :year
698
+
699
+ def initialize(**args)
700
+ update!(**args)
701
+ end
702
+
703
+ # Update properties of this object
704
+ def update!(**args)
705
+ @day = args[:day] if args.key?(:day)
706
+ @month = args[:month] if args.key?(:month)
707
+ @year = args[:year] if args.key?(:year)
708
+ end
709
+ end
710
+
626
711
  # Describes a message type.
627
712
  class Proto2DescriptorProto
628
713
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChromepolicyV1
18
18
  # Version of the google-apis-chromepolicy_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211018"
25
+ REVISION = "20211105"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ChromepolicyV1
24
24
 
25
+ class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class GoogleChromePolicyV1AdditionalTargetKeyName
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class GoogleTypeDate
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class Proto2DescriptorProto
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -172,6 +184,16 @@ module Google
172
184
  include Google::Apis::Core::JsonObjectSupport
173
185
  end
174
186
 
187
+ class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
188
+ # @private
189
+ class Representation < Google::Apis::Core::JsonRepresentation
190
+ property :description, as: 'description'
191
+ property :end_support, as: 'endSupport', class: Google::Apis::ChromepolicyV1::GoogleTypeDate, decorator: Google::Apis::ChromepolicyV1::GoogleTypeDate::Representation
192
+
193
+ property :policy_api_lifecycle_stage, as: 'policyApiLifecycleStage'
194
+ end
195
+ end
196
+
175
197
  class GoogleChromePolicyV1AdditionalTargetKeyName
176
198
  # @private
177
199
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -238,6 +260,8 @@ module Google
238
260
  property :name, as: 'name'
239
261
  collection :notices, as: 'notices', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription::Representation
240
262
 
263
+ property :policy_api_lifeycle, as: 'policyApiLifeycle', class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle, decorator: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::Representation
264
+
241
265
  property :policy_description, as: 'policyDescription'
242
266
  property :schema_name, as: 'schemaName'
243
267
  property :support_uri, as: 'supportUri'
@@ -354,6 +378,15 @@ module Google
354
378
  end
355
379
  end
356
380
 
381
+ class GoogleTypeDate
382
+ # @private
383
+ class Representation < Google::Apis::Core::JsonRepresentation
384
+ property :day, as: 'day'
385
+ property :month, as: 'month'
386
+ property :year, as: 'year'
387
+ end
388
+ end
389
+
357
390
  class Proto2DescriptorProto
358
391
  # @private
359
392
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromepolicy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []