google-apis-cloudbilling_v1beta 0.15.0 → 0.16.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: c79110e25caa4c515f4a2de6ac1e33f3460a95b4534a8a5f700d9c5f6b47af42
4
- data.tar.gz: 30512c8ddff908fc70f4a70636c8aaea876832c7b4360b85a15a3265e5be6fed
3
+ metadata.gz: fd55598e2721e45892362b6dd52e1b07e21ac79f2e866c2872b1d8227bfe0819
4
+ data.tar.gz: e4000c3afb13bceb29fb3fd561168583c3f24f18ab23ba980215db6459ca96c8
5
5
  SHA512:
6
- metadata.gz: 37812ac4652aa4c484535f2050fcbdde8a17d36b9ebe1a3014fc43803717d622e022d5fab58f5fb84d3c7ef2b011ac35944b53f34bb4d7fedc20ca866ddbecfb
7
- data.tar.gz: 2b46d8c5c10d142173023ddbc16c56e990fbc2598432df3185b3317c1958520a0e44410c51734ba1e5e33086111e8a0fa7f09925eb7abf5ca91bb5aa93ad01e1
6
+ metadata.gz: c9072682b23a9800b1719da1e9f22759f28f56e257e769e6ebebf317c38eb746db2819db920480aaa1694803c930e668068745fa3eceb75062bdd31795e1dc42
7
+ data.tar.gz: e4dc792763504f8f6ca318a7a00ccc6f0bbf02104beeff595cb9a5e9846d744ae1e4ff9ce4c3c5345cc2b9de5a4d25be2af341f0277b0017777411ba433f1751
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbilling_v1beta
2
2
 
3
+ ### v0.16.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240301
6
+
3
7
  ### v0.15.0 (2024-02-23)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -742,6 +742,177 @@ module Google
742
742
  end
743
743
  end
744
744
 
745
+ # Encapsulates an anomaly.
746
+ class GoogleCloudBillingAnomaliesV1betaAnomaly
747
+ include Google::Apis::Core::Hashable
748
+
749
+ # Time that the anomaly was detected. Will be set to 00:00 google time of the
750
+ # detected date.
751
+ # Corresponds to the JSON property `detectionTime`
752
+ # @return [String]
753
+ attr_accessor :detection_time
754
+
755
+ # Encapsulates the deviation information.
756
+ # Corresponds to the JSON property `deviation`
757
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomalyDeviation]
758
+ attr_accessor :deviation
759
+
760
+ # Identifier. Resource name for the anomaly.
761
+ # Corresponds to the JSON property `name`
762
+ # @return [String]
763
+ attr_accessor :name
764
+
765
+ # The display name of the resource that the anomaly occurred in/belongs to.
766
+ # Corresponds to the JSON property `resourceDisplayName`
767
+ # @return [String]
768
+ attr_accessor :resource_display_name
769
+
770
+ # A list of causes which contribute to the anomaly.
771
+ # Corresponds to the JSON property `rootCauses`
772
+ # @return [Array<Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaCause>]
773
+ attr_accessor :root_causes
774
+
775
+ # Indicate the scope of the anomaly.
776
+ # Corresponds to the JSON property `scope`
777
+ # @return [String]
778
+ attr_accessor :scope
779
+
780
+ # Severity of the anomaly. Unspecified if severity is not met/assigned.
781
+ # Corresponds to the JSON property `severity`
782
+ # @return [String]
783
+ attr_accessor :severity
784
+
785
+ # Output only. The most recent anomaly's last updated time.
786
+ # Corresponds to the JSON property `updateTime`
787
+ # @return [String]
788
+ attr_accessor :update_time
789
+
790
+ def initialize(**args)
791
+ update!(**args)
792
+ end
793
+
794
+ # Update properties of this object
795
+ def update!(**args)
796
+ @detection_time = args[:detection_time] if args.key?(:detection_time)
797
+ @deviation = args[:deviation] if args.key?(:deviation)
798
+ @name = args[:name] if args.key?(:name)
799
+ @resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
800
+ @root_causes = args[:root_causes] if args.key?(:root_causes)
801
+ @scope = args[:scope] if args.key?(:scope)
802
+ @severity = args[:severity] if args.key?(:severity)
803
+ @update_time = args[:update_time] if args.key?(:update_time)
804
+ end
805
+ end
806
+
807
+ # Encapsulates the deviation information.
808
+ class GoogleCloudBillingAnomaliesV1betaAnomalyDeviation
809
+ include Google::Apis::Core::Hashable
810
+
811
+ # Represents an amount of money with its currency type.
812
+ # Corresponds to the JSON property `actualSpend`
813
+ # @return [Google::Apis::CloudbillingV1beta::Money]
814
+ attr_accessor :actual_spend
815
+
816
+ # Represents an amount of money with its currency type.
817
+ # Corresponds to the JSON property `deviationAmount`
818
+ # @return [Google::Apis::CloudbillingV1beta::Money]
819
+ attr_accessor :deviation_amount
820
+
821
+ # The percentage of devition amount from expected spend's upper bound.
822
+ # Calculation formula: deviation_percentage = divation_amount / expected_spend *
823
+ # 100.
824
+ # Corresponds to the JSON property `deviationPercentage`
825
+ # @return [Float]
826
+ attr_accessor :deviation_percentage
827
+
828
+ # Represents an amount of money with its currency type.
829
+ # Corresponds to the JSON property `expectedSpend`
830
+ # @return [Google::Apis::CloudbillingV1beta::Money]
831
+ attr_accessor :expected_spend
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @actual_spend = args[:actual_spend] if args.key?(:actual_spend)
840
+ @deviation_amount = args[:deviation_amount] if args.key?(:deviation_amount)
841
+ @deviation_percentage = args[:deviation_percentage] if args.key?(:deviation_percentage)
842
+ @expected_spend = args[:expected_spend] if args.key?(:expected_spend)
843
+ end
844
+ end
845
+
846
+ # Encapsulates the information of the reason which caused the anomaly.
847
+ class GoogleCloudBillingAnomaliesV1betaCause
848
+ include Google::Apis::Core::Hashable
849
+
850
+ # The cause type.
851
+ # Corresponds to the JSON property `causeType`
852
+ # @return [String]
853
+ attr_accessor :cause_type
854
+
855
+ # Encapsulates the deviation information.
856
+ # Corresponds to the JSON property `deviation`
857
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomalyDeviation]
858
+ attr_accessor :deviation
859
+
860
+ # The display name of the cause.
861
+ # Corresponds to the JSON property `displayName`
862
+ # @return [String]
863
+ attr_accessor :display_name
864
+
865
+ # The resource name of the cause. project: projects/`project`. service: services/
866
+ # `service`. sku: services/`service`/skus/`sku`.
867
+ # Corresponds to the JSON property `resource`
868
+ # @return [String]
869
+ attr_accessor :resource
870
+
871
+ # The sub causes.
872
+ # Corresponds to the JSON property `subCauses`
873
+ # @return [Array<Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaCause>]
874
+ attr_accessor :sub_causes
875
+
876
+ def initialize(**args)
877
+ update!(**args)
878
+ end
879
+
880
+ # Update properties of this object
881
+ def update!(**args)
882
+ @cause_type = args[:cause_type] if args.key?(:cause_type)
883
+ @deviation = args[:deviation] if args.key?(:deviation)
884
+ @display_name = args[:display_name] if args.key?(:display_name)
885
+ @resource = args[:resource] if args.key?(:resource)
886
+ @sub_causes = args[:sub_causes] if args.key?(:sub_causes)
887
+ end
888
+ end
889
+
890
+ # Response message for ListAnomalies.
891
+ class GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse
892
+ include Google::Apis::Core::Hashable
893
+
894
+ # The returned anomalies.
895
+ # Corresponds to the JSON property `anomalies`
896
+ # @return [Array<Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly>]
897
+ attr_accessor :anomalies
898
+
899
+ # Token that can be sent as `page_token` in the subsequent request to retrieve
900
+ # the next page. If this field is empty, there are no subsequent pages.
901
+ # Corresponds to the JSON property `nextPageToken`
902
+ # @return [String]
903
+ attr_accessor :next_page_token
904
+
905
+ def initialize(**args)
906
+ update!(**args)
907
+ end
908
+
909
+ # Update properties of this object
910
+ def update!(**args)
911
+ @anomalies = args[:anomalies] if args.key?(:anomalies)
912
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
913
+ end
914
+ end
915
+
745
916
  # Encapsulates the aggregation information such as aggregation level and
746
917
  # interval for a billing account price.
747
918
  class GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbillingV1beta
18
18
  # Version of the google-apis-cloudbilling_v1beta gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231215"
25
+ REVISION = "20240301"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,30 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class GoogleCloudBillingAnomaliesV1betaAnomaly
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudBillingAnomaliesV1betaAnomalyDeviation
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudBillingAnomaliesV1betaCause
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
157
181
  class GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo
158
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
183
 
@@ -855,6 +879,57 @@ module Google
855
879
  end
856
880
  end
857
881
 
882
+ class GoogleCloudBillingAnomaliesV1betaAnomaly
883
+ # @private
884
+ class Representation < Google::Apis::Core::JsonRepresentation
885
+ property :detection_time, as: 'detectionTime'
886
+ property :deviation, as: 'deviation', class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomalyDeviation, decorator: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomalyDeviation::Representation
887
+
888
+ property :name, as: 'name'
889
+ property :resource_display_name, as: 'resourceDisplayName'
890
+ collection :root_causes, as: 'rootCauses', class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaCause, decorator: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaCause::Representation
891
+
892
+ property :scope, as: 'scope'
893
+ property :severity, as: 'severity'
894
+ property :update_time, as: 'updateTime'
895
+ end
896
+ end
897
+
898
+ class GoogleCloudBillingAnomaliesV1betaAnomalyDeviation
899
+ # @private
900
+ class Representation < Google::Apis::Core::JsonRepresentation
901
+ property :actual_spend, as: 'actualSpend', class: Google::Apis::CloudbillingV1beta::Money, decorator: Google::Apis::CloudbillingV1beta::Money::Representation
902
+
903
+ property :deviation_amount, as: 'deviationAmount', class: Google::Apis::CloudbillingV1beta::Money, decorator: Google::Apis::CloudbillingV1beta::Money::Representation
904
+
905
+ property :deviation_percentage, as: 'deviationPercentage'
906
+ property :expected_spend, as: 'expectedSpend', class: Google::Apis::CloudbillingV1beta::Money, decorator: Google::Apis::CloudbillingV1beta::Money::Representation
907
+
908
+ end
909
+ end
910
+
911
+ class GoogleCloudBillingAnomaliesV1betaCause
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ property :cause_type, as: 'causeType'
915
+ property :deviation, as: 'deviation', class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomalyDeviation, decorator: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomalyDeviation::Representation
916
+
917
+ property :display_name, as: 'displayName'
918
+ property :resource, as: 'resource'
919
+ collection :sub_causes, as: 'subCauses', class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaCause, decorator: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaCause::Representation
920
+
921
+ end
922
+ end
923
+
924
+ class GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse
925
+ # @private
926
+ class Representation < Google::Apis::Core::JsonRepresentation
927
+ collection :anomalies, as: 'anomalies', class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly, decorator: Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly::Representation
928
+
929
+ property :next_page_token, as: 'nextPageToken'
930
+ end
931
+ end
932
+
858
933
  class GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo
859
934
  # @private
860
935
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -89,6 +89,83 @@ module Google
89
89
  execute_or_queue_command(command, &block)
90
90
  end
91
91
 
92
+ # Gets an anomaly for a billing account or a project.
93
+ # @param [String] name
94
+ # Required. Format for project: projects/`project`/anomalies/`anomalies`. Format
95
+ # for billing account: billingAccounts/`billing_account`/anomalies/`anomalies`.
96
+ # @param [String] fields
97
+ # Selector specifying which fields to include in a partial response.
98
+ # @param [String] quota_user
99
+ # Available to use for quota purposes for server-side applications. Can be any
100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
101
+ # @param [Google::Apis::RequestOptions] options
102
+ # Request-specific options
103
+ #
104
+ # @yield [result, err] Result & error if block supplied
105
+ # @yieldparam result [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly] parsed result object
106
+ # @yieldparam err [StandardError] error object if request failed
107
+ #
108
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly]
109
+ #
110
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
113
+ def get_billing_account_anomaly(name, fields: nil, quota_user: nil, options: nil, &block)
114
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
115
+ command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly::Representation
116
+ command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly
117
+ command.params['name'] = name unless name.nil?
118
+ command.query['fields'] = fields unless fields.nil?
119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
120
+ execute_or_queue_command(command, &block)
121
+ end
122
+
123
+ # Lists anomalies for a billing account or a project.
124
+ # @param [String] parent
125
+ # Required. The project to list Anomaly for the project. Format for project:
126
+ # projects/`project`. Format for billing account: billingAccounts/`
127
+ # billing_account`.
128
+ # @param [String] filter
129
+ # Optional. Options for how to filter the anomalies. Currently, only filter on `
130
+ # start_time` and `end_time` is supported. Only =, AND operators are supported.
131
+ # If start_time and/or end_time empty, we only retrieve the most recent 30 days'
132
+ # anomalies. Examples: - start_time = "20231201" AND end_time = "20240120" .
133
+ # @param [Fixnum] page_size
134
+ # Optional. Maximum number of anomalies to return. Results may return fewer than
135
+ # this value. Default value is 50 and maximum value is 1000.
136
+ # @param [String] page_token
137
+ # Optional. Page token received from a previous ListAnomalies call to retrieve
138
+ # the next page of results. If this field is empty, the first page is returned.
139
+ # @param [String] fields
140
+ # Selector specifying which fields to include in a partial response.
141
+ # @param [String] quota_user
142
+ # Available to use for quota purposes for server-side applications. Can be any
143
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
144
+ # @param [Google::Apis::RequestOptions] options
145
+ # Request-specific options
146
+ #
147
+ # @yield [result, err] Result & error if block supplied
148
+ # @yieldparam result [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse] parsed result object
149
+ # @yieldparam err [StandardError] error object if request failed
150
+ #
151
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse]
152
+ #
153
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
156
+ def list_billing_account_anomalies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
157
+ command = make_simple_command(:get, 'v1beta/{+parent}/anomalies', options)
158
+ command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse::Representation
159
+ command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse
160
+ command.params['parent'] = parent unless parent.nil?
161
+ command.query['filter'] = filter unless filter.nil?
162
+ command.query['pageSize'] = page_size unless page_size.nil?
163
+ command.query['pageToken'] = page_token unless page_token.nil?
164
+ command.query['fields'] = fields unless fields.nil?
165
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
166
+ execute_or_queue_command(command, &block)
167
+ end
168
+
92
169
  # Gets a Google Cloud service visible to a billing account.
93
170
  # @param [String] name
94
171
  # Required. The name of the billing account service to retrieve. Format:
@@ -458,6 +535,83 @@ module Google
458
535
  execute_or_queue_command(command, &block)
459
536
  end
460
537
 
538
+ # Gets an anomaly for a billing account or a project.
539
+ # @param [String] name
540
+ # Required. Format for project: projects/`project`/anomalies/`anomalies`. Format
541
+ # for billing account: billingAccounts/`billing_account`/anomalies/`anomalies`.
542
+ # @param [String] fields
543
+ # Selector specifying which fields to include in a partial response.
544
+ # @param [String] quota_user
545
+ # Available to use for quota purposes for server-side applications. Can be any
546
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
547
+ # @param [Google::Apis::RequestOptions] options
548
+ # Request-specific options
549
+ #
550
+ # @yield [result, err] Result & error if block supplied
551
+ # @yieldparam result [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly] parsed result object
552
+ # @yieldparam err [StandardError] error object if request failed
553
+ #
554
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly]
555
+ #
556
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
557
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
558
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
559
+ def get_project_anomaly(name, fields: nil, quota_user: nil, options: nil, &block)
560
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
561
+ command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly::Representation
562
+ command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaAnomaly
563
+ command.params['name'] = name unless name.nil?
564
+ command.query['fields'] = fields unless fields.nil?
565
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
566
+ execute_or_queue_command(command, &block)
567
+ end
568
+
569
+ # Lists anomalies for a billing account or a project.
570
+ # @param [String] parent
571
+ # Required. The project to list Anomaly for the project. Format for project:
572
+ # projects/`project`. Format for billing account: billingAccounts/`
573
+ # billing_account`.
574
+ # @param [String] filter
575
+ # Optional. Options for how to filter the anomalies. Currently, only filter on `
576
+ # start_time` and `end_time` is supported. Only =, AND operators are supported.
577
+ # If start_time and/or end_time empty, we only retrieve the most recent 30 days'
578
+ # anomalies. Examples: - start_time = "20231201" AND end_time = "20240120" .
579
+ # @param [Fixnum] page_size
580
+ # Optional. Maximum number of anomalies to return. Results may return fewer than
581
+ # this value. Default value is 50 and maximum value is 1000.
582
+ # @param [String] page_token
583
+ # Optional. Page token received from a previous ListAnomalies call to retrieve
584
+ # the next page of results. If this field is empty, the first page is returned.
585
+ # @param [String] fields
586
+ # Selector specifying which fields to include in a partial response.
587
+ # @param [String] quota_user
588
+ # Available to use for quota purposes for server-side applications. Can be any
589
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
590
+ # @param [Google::Apis::RequestOptions] options
591
+ # Request-specific options
592
+ #
593
+ # @yield [result, err] Result & error if block supplied
594
+ # @yieldparam result [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse] parsed result object
595
+ # @yieldparam err [StandardError] error object if request failed
596
+ #
597
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse]
598
+ #
599
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
600
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
601
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
602
+ def list_project_anomalies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
603
+ command = make_simple_command(:get, 'v1beta/{+parent}/anomalies', options)
604
+ command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse::Representation
605
+ command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingAnomaliesV1betaListAnomaliesResponse
606
+ command.params['parent'] = parent unless parent.nil?
607
+ command.query['filter'] = filter unless filter.nil?
608
+ command.query['pageSize'] = page_size unless page_size.nil?
609
+ command.query['pageToken'] = page_token unless page_token.nil?
610
+ command.query['fields'] = fields unless fields.nil?
611
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
612
+ execute_or_queue_command(command, &block)
613
+ end
614
+
461
615
  # Gets a publicly listed SKU group.
462
616
  # @param [String] name
463
617
  # Required. The name of the SKU group to retrieve. Format: skuGroups/`sku_group`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbilling_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-10 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-cloudbilling_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []