google-apis-chromepolicy_v1 0.39.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be8a90f8110f0748a496a86c8e8978f53bc271479a87cc83f1ef4966b149f6ea
4
- data.tar.gz: dbefcc94e6ef1dfaef3a20b7938d7f123179d7ef6d3dffe8de9163402952b4d0
3
+ metadata.gz: 4c3e34e15e0b7d323b4889b287765bf27c9ab99859b0304d633ea2074a22f23a
4
+ data.tar.gz: 3e40055c8f728e7ca57c6166a21df17ff258c514f6ebac9f8d18fa4c576d0e38
5
5
  SHA512:
6
- metadata.gz: 25d95ab6f788bd5d272218195abf1778a15c5123ac568108528b68c07b917fbb44e9bd00c2873d4c4a441fc9bcb08cf809e64d677200743877423f05e114b429
7
- data.tar.gz: c4bb7f18b60896f8edb1a65705b16d45adf3a51dca947fe626575142861c52ef49093a3102d1dba50fece85b6aa7f1d453b814a88956ad13c3a3437bb06b3719
6
+ metadata.gz: 40a14e45d84e3805dbf35094526ce03ae81f8e25d06ecfa1ebb7156cc82205f03ab26aecfa9352511cb721e7dade67176b222aec9170ebfecc5c3e880cf95bec
7
+ data.tar.gz: 5ffc20b893f9fccee73d238977072964906ecd5186b51a5a86e75a54ae4a04d961ef3193d9c72905220b04592876abd93a86414caf90ad0f25df84fa2dd27adc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.41.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20231004
6
+
7
+ ### v0.40.0 (2023-10-01)
8
+
9
+ * Regenerated from discovery document revision 20230926
10
+
3
11
  ### v0.39.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230906
@@ -22,52 +22,6 @@ module Google
22
22
  module Apis
23
23
  module ChromepolicyV1
24
24
 
25
- #
26
- class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
27
- include Google::Apis::Core::Hashable
28
-
29
- # In the event that this policy was deprecated in favor of another policy, the
30
- # fully qualified namespace(s) of the new policies as they will show in
31
- # PolicyAPI.
32
- # Corresponds to the JSON property `deprecatedInFavorOf`
33
- # @return [Array<String>]
34
- attr_accessor :deprecated_in_favor_of
35
-
36
- # Description about current life cycle.
37
- # Corresponds to the JSON property `description`
38
- # @return [String]
39
- attr_accessor :description
40
-
41
- # Represents a whole or partial calendar date, such as a birthday. The time of
42
- # day and time zone are either specified elsewhere or are insignificant. The
43
- # date is relative to the Gregorian Calendar. This can represent one of the
44
- # following: * A full date, with non-zero year, month, and day values. * A month
45
- # and day, with a zero year (for example, an anniversary). * A year on its own,
46
- # with a zero month and a zero day. * A year and month, with a zero day (for
47
- # example, a credit card expiration date). Related types: * google.type.
48
- # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
49
- # Corresponds to the JSON property `endSupport`
50
- # @return [Google::Apis::ChromepolicyV1::GoogleTypeDate]
51
- attr_accessor :end_support
52
-
53
- # Indicate current life cycle stage of the policy API.
54
- # Corresponds to the JSON property `policyApiLifecycleStage`
55
- # @return [String]
56
- attr_accessor :policy_api_lifecycle_stage
57
-
58
- def initialize(**args)
59
- update!(**args)
60
- end
61
-
62
- # Update properties of this object
63
- def update!(**args)
64
- @deprecated_in_favor_of = args[:deprecated_in_favor_of] if args.key?(:deprecated_in_favor_of)
65
- @description = args[:description] if args.key?(:description)
66
- @end_support = args[:end_support] if args.key?(:end_support)
67
- @policy_api_lifecycle_stage = args[:policy_api_lifecycle_stage] if args.key?(:policy_api_lifecycle_stage)
68
- end
69
- end
70
-
71
25
  # Additional key names that will be used to identify the target of the policy
72
26
  # value.
73
27
  class GoogleChromePolicyVersionsV1AdditionalTargetKeyName
@@ -640,6 +594,61 @@ module Google
640
594
  end
641
595
  end
642
596
 
597
+ # Lifecycle information.
598
+ class GoogleChromePolicyVersionsV1PolicyApiLifecycle
599
+ include Google::Apis::Core::Hashable
600
+
601
+ # In the event that this policy was deprecated in favor of another policy, the
602
+ # fully qualified namespace(s) of the new policies as they will show in
603
+ # PolicyAPI. Could only be set if policy_api_lifecycle_stage is API_DEPRECATED.
604
+ # Corresponds to the JSON property `deprecatedInFavorOf`
605
+ # @return [Array<String>]
606
+ attr_accessor :deprecated_in_favor_of
607
+
608
+ # Description about current life cycle.
609
+ # Corresponds to the JSON property `description`
610
+ # @return [String]
611
+ attr_accessor :description
612
+
613
+ # Represents a whole or partial calendar date, such as a birthday. The time of
614
+ # day and time zone are either specified elsewhere or are insignificant. The
615
+ # date is relative to the Gregorian Calendar. This can represent one of the
616
+ # following: * A full date, with non-zero year, month, and day values. * A month
617
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
618
+ # with a zero month and a zero day. * A year and month, with a zero day (for
619
+ # example, a credit card expiration date). Related types: * google.type.
620
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
621
+ # Corresponds to the JSON property `endSupport`
622
+ # @return [Google::Apis::ChromepolicyV1::GoogleTypeDate]
623
+ attr_accessor :end_support
624
+
625
+ # Indicates current life cycle stage of the policy API.
626
+ # Corresponds to the JSON property `policyApiLifecycleStage`
627
+ # @return [String]
628
+ attr_accessor :policy_api_lifecycle_stage
629
+
630
+ # Corresponding to deprecated_in_favor_of, the fully qualified namespace(s) of
631
+ # the old policies that will be deprecated because of introduction of this
632
+ # policy. This field should not be manually set but will be set and exposed
633
+ # through PolicyAPI automatically.
634
+ # Corresponds to the JSON property `scheduledToDeprecatePolicies`
635
+ # @return [Array<String>]
636
+ attr_accessor :scheduled_to_deprecate_policies
637
+
638
+ def initialize(**args)
639
+ update!(**args)
640
+ end
641
+
642
+ # Update properties of this object
643
+ def update!(**args)
644
+ @deprecated_in_favor_of = args[:deprecated_in_favor_of] if args.key?(:deprecated_in_favor_of)
645
+ @description = args[:description] if args.key?(:description)
646
+ @end_support = args[:end_support] if args.key?(:end_support)
647
+ @policy_api_lifecycle_stage = args[:policy_api_lifecycle_stage] if args.key?(:policy_api_lifecycle_stage)
648
+ @scheduled_to_deprecate_policies = args[:scheduled_to_deprecate_policies] if args.key?(:scheduled_to_deprecate_policies)
649
+ end
650
+ end
651
+
643
652
  # Error information for a modification request of a specific policy on a
644
653
  # specific target.
645
654
  class GoogleChromePolicyVersionsV1PolicyModificationError
@@ -770,9 +779,9 @@ module Google
770
779
  # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription>]
771
780
  attr_accessor :notices
772
781
 
773
- # Output only. Current lifecycle information.
782
+ # Lifecycle information.
774
783
  # Corresponds to the JSON property `policyApiLifecycle`
775
- # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
784
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyApiLifecycle]
776
785
  attr_accessor :policy_api_lifecycle
777
786
 
778
787
  # Output only. Description about the policy schema for user consumption.
@@ -1622,10 +1631,11 @@ module Google
1622
1631
  class Proto2FileDescriptorProto
1623
1632
  include Google::Apis::Core::Hashable
1624
1633
 
1625
- # The edition of the proto file.
1626
- # Corresponds to the JSON property `editionEnum`
1634
+ # BEGIN GOOGLE-INTERNAL TODO(b/297898292) Deprecate and remove this field in
1635
+ # favor of enums. END GOOGLE-INTERNAL
1636
+ # Corresponds to the JSON property `editionDeprecated`
1627
1637
  # @return [String]
1628
- attr_accessor :edition_enum
1638
+ attr_accessor :edition_deprecated
1629
1639
 
1630
1640
  #
1631
1641
  # Corresponds to the JSON property `enumType`
@@ -1659,7 +1669,7 @@ module Google
1659
1669
 
1660
1670
  # Update properties of this object
1661
1671
  def update!(**args)
1662
- @edition_enum = args[:edition_enum] if args.key?(:edition_enum)
1672
+ @edition_deprecated = args[:edition_deprecated] if args.key?(:edition_deprecated)
1663
1673
  @enum_type = args[:enum_type] if args.key?(:enum_type)
1664
1674
  @message_type = args[:message_type] if args.key?(:message_type)
1665
1675
  @name = args[:name] if args.key?(:name)
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230906"
25
+ REVISION = "20231004"
26
26
  end
27
27
  end
28
28
  end
@@ -22,12 +22,6 @@ 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
-
31
25
  class GoogleChromePolicyVersionsV1AdditionalTargetKeyName
32
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
27
 
@@ -148,6 +142,12 @@ module Google
148
142
  include Google::Apis::Core::JsonObjectSupport
149
143
  end
150
144
 
145
+ class GoogleChromePolicyVersionsV1PolicyApiLifecycle
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
151
  class GoogleChromePolicyVersionsV1PolicyModificationError
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
@@ -328,17 +328,6 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
- class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
332
- # @private
333
- class Representation < Google::Apis::Core::JsonRepresentation
334
- collection :deprecated_in_favor_of, as: 'deprecatedInFavorOf'
335
- property :description, as: 'description'
336
- property :end_support, as: 'endSupport', class: Google::Apis::ChromepolicyV1::GoogleTypeDate, decorator: Google::Apis::ChromepolicyV1::GoogleTypeDate::Representation
337
-
338
- property :policy_api_lifecycle_stage, as: 'policyApiLifecycleStage'
339
- end
340
- end
341
-
342
331
  class GoogleChromePolicyVersionsV1AdditionalTargetKeyName
343
332
  # @private
344
333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -522,6 +511,18 @@ module Google
522
511
  end
523
512
  end
524
513
 
514
+ class GoogleChromePolicyVersionsV1PolicyApiLifecycle
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ collection :deprecated_in_favor_of, as: 'deprecatedInFavorOf'
518
+ property :description, as: 'description'
519
+ property :end_support, as: 'endSupport', class: Google::Apis::ChromepolicyV1::GoogleTypeDate, decorator: Google::Apis::ChromepolicyV1::GoogleTypeDate::Representation
520
+
521
+ property :policy_api_lifecycle_stage, as: 'policyApiLifecycleStage'
522
+ collection :scheduled_to_deprecate_policies, as: 'scheduledToDeprecatePolicies'
523
+ end
524
+ end
525
+
525
526
  class GoogleChromePolicyVersionsV1PolicyModificationError
526
527
  # @private
527
528
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -564,7 +565,7 @@ module Google
564
565
  property :name, as: 'name'
565
566
  collection :notices, as: 'notices', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription::Representation
566
567
 
567
- property :policy_api_lifecycle, as: 'policyApiLifecycle', class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle, decorator: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::Representation
568
+ property :policy_api_lifecycle, as: 'policyApiLifecycle', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyApiLifecycle, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyApiLifecycle::Representation
568
569
 
569
570
  property :policy_description, as: 'policyDescription'
570
571
  property :schema_name, as: 'schemaName'
@@ -807,7 +808,7 @@ module Google
807
808
  class Proto2FileDescriptorProto
808
809
  # @private
809
810
  class Representation < Google::Apis::Core::JsonRepresentation
810
- property :edition_enum, as: 'editionEnum'
811
+ property :edition_deprecated, as: 'editionDeprecated'
811
812
  collection :enum_type, as: 'enumType', class: Google::Apis::ChromepolicyV1::Proto2EnumDescriptorProto, decorator: Google::Apis::ChromepolicyV1::Proto2EnumDescriptorProto::Representation
812
813
 
813
814
  collection :message_type, as: 'messageType', class: Google::Apis::ChromepolicyV1::Proto2DescriptorProto, decorator: Google::Apis::ChromepolicyV1::Proto2DescriptorProto::Representation
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.39.0
4
+ version: 0.41.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: 2023-09-10 00:00:00.000000000 Z
11
+ date: 2023-10-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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.41.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: []