google-apis-appengine_v1alpha 0.21.0 → 0.22.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: 57c73638cc16ed8421aaf9f998893483f8ca56b92e63523a784a4600503c5c7e
4
- data.tar.gz: 1361e88216a728c300b246a363bec653f55b223b0e172b798113ad6503b144ab
3
+ metadata.gz: 50760ef6f6f8012aaaedff98aab3c68b4c5132b00aef58e03f4466f0a473ca12
4
+ data.tar.gz: 10d513f3e5d855104ff09531c03225f505ab2fbc8b0dba27aeec1eee76ce153f
5
5
  SHA512:
6
- metadata.gz: 77af94aac8c5ecf58e8a7cb0a9e36a468b8cd6c219a1881159c2c80f99d7187162a3d248cae63ac39c4109a59a12bce4bbefc99e22a125f607df7d5a8652a747
7
- data.tar.gz: f09571981e16b9d870a543169f51dfd60e9de1de7a9c1d563766a6cfff3cc420ba9b96f08733c7a8bace0530c599652b41666a62f5ceab6f899f285d53b7463f
6
+ metadata.gz: b834b76d789ed353ff235834cb6405e144cd5c8ed2ef606306949a2f85ffb4c9b2b8fb32ab7fff7611719607f913dc8d16a867ed2bedcf91bca5957d1b2b429f
7
+ data.tar.gz: 33cf003acd79228d159b0f3d30fc8f12b761d069be29fb8d95b20310f014bbfc67a8c50bebd6ebc211a85f54cd5d45ba2be5fe403817cf4fdbecfdb5965982fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-appengine_v1alpha
2
2
 
3
+ ### v0.22.0 (2022-12-07)
4
+
5
+ * Regenerated from discovery document revision 20221205
6
+
3
7
  ### v0.21.0 (2022-10-30)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -811,6 +811,198 @@ module Google
811
811
  end
812
812
  end
813
813
 
814
+ # The request sent to CLHs during project events.
815
+ class ProjectEvent
816
+ include Google::Apis::Core::Hashable
817
+
818
+ # The unique ID for this project event. CLHs can use this value to dedup
819
+ # repeated calls. required
820
+ # Corresponds to the JSON property `eventId`
821
+ # @return [String]
822
+ attr_accessor :event_id
823
+
824
+ #
825
+ # Corresponds to the JSON property `phase`
826
+ # @return [String]
827
+ attr_accessor :phase
828
+
829
+ # ProjectsMetadata is the metadata CCFE stores about the all the relevant
830
+ # projects (tenant, consumer, producer).
831
+ # Corresponds to the JSON property `projectMetadata`
832
+ # @return [Google::Apis::AppengineV1alpha::ProjectsMetadata]
833
+ attr_accessor :project_metadata
834
+
835
+ # ProjectState contains the externally-visible project state that is used to
836
+ # communicate the state and reasoning for that state to the CLH. This data is
837
+ # not persisted by CCFE, but is instead derived from CCFE's internal
838
+ # representation of the project state.
839
+ # Corresponds to the JSON property `state`
840
+ # @return [Google::Apis::AppengineV1alpha::ProjectState]
841
+ attr_accessor :state
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ @event_id = args[:event_id] if args.key?(:event_id)
850
+ @phase = args[:phase] if args.key?(:phase)
851
+ @project_metadata = args[:project_metadata] if args.key?(:project_metadata)
852
+ @state = args[:state] if args.key?(:state)
853
+ end
854
+ end
855
+
856
+ # ProjectState contains the externally-visible project state that is used to
857
+ # communicate the state and reasoning for that state to the CLH. This data is
858
+ # not persisted by CCFE, but is instead derived from CCFE's internal
859
+ # representation of the project state.
860
+ class ProjectState
861
+ include Google::Apis::Core::Hashable
862
+
863
+ # Projects transition between and within states based on reasons sent from
864
+ # various systems. CCFE will provide the CLH with reasons for the current state
865
+ # per system.The current systems that CCFE supports are: Service Management (
866
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
867
+ # Billing API)
868
+ # Corresponds to the JSON property `currentReasons`
869
+ # @return [Google::Apis::AppengineV1alpha::Reasons]
870
+ attr_accessor :current_reasons
871
+
872
+ # Projects transition between and within states based on reasons sent from
873
+ # various systems. CCFE will provide the CLH with reasons for the current state
874
+ # per system.The current systems that CCFE supports are: Service Management (
875
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
876
+ # Billing API)
877
+ # Corresponds to the JSON property `previousReasons`
878
+ # @return [Google::Apis::AppengineV1alpha::Reasons]
879
+ attr_accessor :previous_reasons
880
+
881
+ # The current state of the project. This state is the culmination of all of the
882
+ # opinions from external systems that CCFE knows about of the project.
883
+ # Corresponds to the JSON property `state`
884
+ # @return [String]
885
+ attr_accessor :state
886
+
887
+ def initialize(**args)
888
+ update!(**args)
889
+ end
890
+
891
+ # Update properties of this object
892
+ def update!(**args)
893
+ @current_reasons = args[:current_reasons] if args.key?(:current_reasons)
894
+ @previous_reasons = args[:previous_reasons] if args.key?(:previous_reasons)
895
+ @state = args[:state] if args.key?(:state)
896
+ end
897
+ end
898
+
899
+ # ProjectsMetadata is the metadata CCFE stores about the all the relevant
900
+ # projects (tenant, consumer, producer).
901
+ class ProjectsMetadata
902
+ include Google::Apis::Core::Hashable
903
+
904
+ # The consumer project id.
905
+ # Corresponds to the JSON property `consumerProjectId`
906
+ # @return [String]
907
+ attr_accessor :consumer_project_id
908
+
909
+ # The consumer project number.
910
+ # Corresponds to the JSON property `consumerProjectNumber`
911
+ # @return [Fixnum]
912
+ attr_accessor :consumer_project_number
913
+
914
+ # The CCFE state of the consumer project. It is the same state that is
915
+ # communicated to the CLH during project events. Notice that this field is not
916
+ # set in the DB, it is only set in this proto when communicated to CLH in the
917
+ # side channel.
918
+ # Corresponds to the JSON property `consumerProjectState`
919
+ # @return [String]
920
+ attr_accessor :consumer_project_state
921
+
922
+ # The service account authorized to operate on the consumer project. Note: CCFE
923
+ # only propagates P4SA with default tag to CLH.
924
+ # Corresponds to the JSON property `p4ServiceAccount`
925
+ # @return [String]
926
+ attr_accessor :p4_service_account
927
+
928
+ # The producer project id.
929
+ # Corresponds to the JSON property `producerProjectId`
930
+ # @return [String]
931
+ attr_accessor :producer_project_id
932
+
933
+ # The producer project number.
934
+ # Corresponds to the JSON property `producerProjectNumber`
935
+ # @return [Fixnum]
936
+ attr_accessor :producer_project_number
937
+
938
+ # The tenant project id.
939
+ # Corresponds to the JSON property `tenantProjectId`
940
+ # @return [String]
941
+ attr_accessor :tenant_project_id
942
+
943
+ # The tenant project number.
944
+ # Corresponds to the JSON property `tenantProjectNumber`
945
+ # @return [Fixnum]
946
+ attr_accessor :tenant_project_number
947
+
948
+ def initialize(**args)
949
+ update!(**args)
950
+ end
951
+
952
+ # Update properties of this object
953
+ def update!(**args)
954
+ @consumer_project_id = args[:consumer_project_id] if args.key?(:consumer_project_id)
955
+ @consumer_project_number = args[:consumer_project_number] if args.key?(:consumer_project_number)
956
+ @consumer_project_state = args[:consumer_project_state] if args.key?(:consumer_project_state)
957
+ @p4_service_account = args[:p4_service_account] if args.key?(:p4_service_account)
958
+ @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id)
959
+ @producer_project_number = args[:producer_project_number] if args.key?(:producer_project_number)
960
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
961
+ @tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
962
+ end
963
+ end
964
+
965
+ # Projects transition between and within states based on reasons sent from
966
+ # various systems. CCFE will provide the CLH with reasons for the current state
967
+ # per system.The current systems that CCFE supports are: Service Management (
968
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
969
+ # Billing API)
970
+ class Reasons
971
+ include Google::Apis::Core::Hashable
972
+
973
+ #
974
+ # Corresponds to the JSON property `abuse`
975
+ # @return [String]
976
+ attr_accessor :abuse
977
+
978
+ #
979
+ # Corresponds to the JSON property `billing`
980
+ # @return [String]
981
+ attr_accessor :billing
982
+
983
+ #
984
+ # Corresponds to the JSON property `dataGovernance`
985
+ # @return [String]
986
+ attr_accessor :data_governance
987
+
988
+ #
989
+ # Corresponds to the JSON property `serviceManagement`
990
+ # @return [String]
991
+ attr_accessor :service_management
992
+
993
+ def initialize(**args)
994
+ update!(**args)
995
+ end
996
+
997
+ # Update properties of this object
998
+ def update!(**args)
999
+ @abuse = args[:abuse] if args.key?(:abuse)
1000
+ @billing = args[:billing] if args.key?(:billing)
1001
+ @data_governance = args[:data_governance] if args.key?(:data_governance)
1002
+ @service_management = args[:service_management] if args.key?(:service_management)
1003
+ end
1004
+ end
1005
+
814
1006
  # A DNS resource record.
815
1007
  class ResourceRecord
816
1008
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AppengineV1alpha
18
18
  # Version of the google-apis-appengine_v1alpha gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220326"
25
+ REVISION = "20221205"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,30 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ProjectEvent
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ProjectState
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ProjectsMetadata
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Reasons
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
151
175
  class ResourceRecord
152
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
177
 
@@ -377,6 +401,53 @@ module Google
377
401
  end
378
402
  end
379
403
 
404
+ class ProjectEvent
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :event_id, as: 'eventId'
408
+ property :phase, as: 'phase'
409
+ property :project_metadata, as: 'projectMetadata', class: Google::Apis::AppengineV1alpha::ProjectsMetadata, decorator: Google::Apis::AppengineV1alpha::ProjectsMetadata::Representation
410
+
411
+ property :state, as: 'state', class: Google::Apis::AppengineV1alpha::ProjectState, decorator: Google::Apis::AppengineV1alpha::ProjectState::Representation
412
+
413
+ end
414
+ end
415
+
416
+ class ProjectState
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ property :current_reasons, as: 'currentReasons', class: Google::Apis::AppengineV1alpha::Reasons, decorator: Google::Apis::AppengineV1alpha::Reasons::Representation
420
+
421
+ property :previous_reasons, as: 'previousReasons', class: Google::Apis::AppengineV1alpha::Reasons, decorator: Google::Apis::AppengineV1alpha::Reasons::Representation
422
+
423
+ property :state, as: 'state'
424
+ end
425
+ end
426
+
427
+ class ProjectsMetadata
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ property :consumer_project_id, as: 'consumerProjectId'
431
+ property :consumer_project_number, :numeric_string => true, as: 'consumerProjectNumber'
432
+ property :consumer_project_state, as: 'consumerProjectState'
433
+ property :p4_service_account, as: 'p4ServiceAccount'
434
+ property :producer_project_id, as: 'producerProjectId'
435
+ property :producer_project_number, :numeric_string => true, as: 'producerProjectNumber'
436
+ property :tenant_project_id, as: 'tenantProjectId'
437
+ property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
438
+ end
439
+ end
440
+
441
+ class Reasons
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ property :abuse, as: 'abuse'
445
+ property :billing, as: 'billing'
446
+ property :data_governance, as: 'dataGovernance'
447
+ property :service_management, as: 'serviceManagement'
448
+ end
449
+ end
450
+
380
451
  class ResourceRecord
381
452
  # @private
382
453
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-appengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 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-appengine_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1alpha/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1alpha/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-appengine_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []