google-apis-apigee_v1 0.87.0 → 0.89.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: ea1ebfdddec6f2382deaa6106fbebe307722539ee5b5d36d716d17fd6f8f4de7
4
- data.tar.gz: 49d9a8eec0e538df8b51a59f6edbeff4c88ecff540e3d8cac813528bb16ad426
3
+ metadata.gz: ec660497de7f05d090f5ba37680fa8bd39c4c323e8a42f576867a7a00df1fb99
4
+ data.tar.gz: 681041d0c60c7af58e716181756dcb2030b60b4692c35e4349f673b53efbe4fc
5
5
  SHA512:
6
- metadata.gz: 5f9299d5acd3a75f36a83065ebf89d974a1e96b4809f54474b7d372a78df1b37e33397d23fd23b53ab11550ea94b7a58db7cbf40aa009fff07aca4f088b51f21
7
- data.tar.gz: 2bb31033a95da00e2147b908c2b46dc5c115d20cd13a997166a5f5c3158b4dea970d500e95f2b3a16e2f665dab32fa0fd82398a2de2a557b4ddb53c58e27ac45
6
+ metadata.gz: 6972d82c1d104ab64e11540438935932c7c1f9e6729a09fd40882df6242c6a994ea1ad418504e0f82545d94f586d9b6d972d619cd8042db8055eca47e85ac521
7
+ data.tar.gz: 7e6b226c62e810fb630d764b776c0127f945e26ec1c46f36d7fbd861dd34e1ca8ecc0469acf576ea4362db48541189894beeac90ec9bcc71e62b0e853e8a3d29
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.89.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240415
6
+
7
+ ### v0.88.0 (2024-03-24)
8
+
9
+ * Regenerated from discovery document revision 20240318
10
+
3
11
  ### v0.87.0 (2024-03-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20240312
@@ -202,6 +202,40 @@ module Google
202
202
  end
203
203
  end
204
204
 
205
+ # Access logging configuration enables customers to ship the access logs from
206
+ # the tenant projects to their own project's cloud logging. The feature is at
207
+ # the instance level ad disabled by default. It can be enabled during
208
+ # CreateInstance or UpdateInstance.
209
+ class GoogleCloudApigeeV1AccessLoggingConfig
210
+ include Google::Apis::Core::Hashable
211
+
212
+ # Optional. Boolean flag that specifies whether the customer access log feature
213
+ # is enabled.
214
+ # Corresponds to the JSON property `enabled`
215
+ # @return [Boolean]
216
+ attr_accessor :enabled
217
+ alias_method :enabled?, :enabled
218
+
219
+ # Optional. Ship the access log entries that match the status_code defined in
220
+ # the filter. The status_code is the only expected/supported filter field. (Ex:
221
+ # status_code) The filter will parse it to the Common Expression Language
222
+ # semantics for expression evaluation to build the filter condition. (Ex: "
223
+ # filter": status_code >= 200 && status_code < 300 )
224
+ # Corresponds to the JSON property `filter`
225
+ # @return [String]
226
+ attr_accessor :filter
227
+
228
+ def initialize(**args)
229
+ update!(**args)
230
+ end
231
+
232
+ # Update properties of this object
233
+ def update!(**args)
234
+ @enabled = args[:enabled] if args.key?(:enabled)
235
+ @filter = args[:filter] if args.key?(:filter)
236
+ end
237
+ end
238
+
205
239
  # Remove action. For example, "Remove" : ` "name" : "target.name", "success" :
206
240
  # true `
207
241
  class GoogleCloudApigeeV1AccessRemove
@@ -624,9 +658,14 @@ module Google
624
658
  # @return [Fixnum]
625
659
  attr_accessor :id
626
660
 
627
- # Optional. Location of the image used for the catalog item in the catalog. For
628
- # portal files, this can have the format `/files/`filename``. Max length is 2,
629
- # 083 characters.
661
+ # Optional. Location of the image used for the catalog item in the catalog. This
662
+ # can be either an image with an external URL or a file path for [image files
663
+ # stored in the portal](/apigee/docs/api-platform/publish/portal/portal-files"),
664
+ # for example, `/files/book-tree.jpg`. When specifying the URL of an external
665
+ # image, the image won't be uploaded to your assets; additionally, loading the
666
+ # image in the integrated portal will be subject to its availability, which may
667
+ # be blocked or restricted by [content security policies](/apigee/docs/api-
668
+ # platform/publish/portal/csp). Max length of file path is 2,083 characters.
630
669
  # Corresponds to the JSON property `imageUrl`
631
670
  # @return [String]
632
671
  attr_accessor :image_url
@@ -1969,6 +2008,148 @@ module Google
1969
2008
  end
1970
2009
  end
1971
2010
 
2011
+ # Request for BatchComputeSecurityAssessmentResults.
2012
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest
2013
+ include Google::Apis::Core::Hashable
2014
+
2015
+ # An array of resource messages.
2016
+ # Corresponds to the JSON property `include`
2017
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray]
2018
+ attr_accessor :include
2019
+
2020
+ # Message for include_all option.
2021
+ # Corresponds to the JSON property `includeAllResources`
2022
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll]
2023
+ attr_accessor :include_all_resources
2024
+
2025
+ # Optional. The maximum number of results to return. The service may return
2026
+ # fewer than this value. If unspecified, at most 50 results will be returned.
2027
+ # Corresponds to the JSON property `pageSize`
2028
+ # @return [Fixnum]
2029
+ attr_accessor :page_size
2030
+
2031
+ # Optional. A page token, received from a previous `
2032
+ # BatchComputeSecurityAssessmentResults` call. Provide this to retrieve the
2033
+ # subsequent page.
2034
+ # Corresponds to the JSON property `pageToken`
2035
+ # @return [String]
2036
+ attr_accessor :page_token
2037
+
2038
+ # Required. Name of the profile that is used for computation.
2039
+ # Corresponds to the JSON property `profile`
2040
+ # @return [String]
2041
+ attr_accessor :profile
2042
+
2043
+ # Required. Scope of the resources for the computation. For Apigee, the
2044
+ # environment is the scope of the resources.
2045
+ # Corresponds to the JSON property `scope`
2046
+ # @return [String]
2047
+ attr_accessor :scope
2048
+
2049
+ def initialize(**args)
2050
+ update!(**args)
2051
+ end
2052
+
2053
+ # Update properties of this object
2054
+ def update!(**args)
2055
+ @include = args[:include] if args.key?(:include)
2056
+ @include_all_resources = args[:include_all_resources] if args.key?(:include_all_resources)
2057
+ @page_size = args[:page_size] if args.key?(:page_size)
2058
+ @page_token = args[:page_token] if args.key?(:page_token)
2059
+ @profile = args[:profile] if args.key?(:profile)
2060
+ @scope = args[:scope] if args.key?(:scope)
2061
+ end
2062
+ end
2063
+
2064
+ # Message for include_all option.
2065
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll
2066
+ include Google::Apis::Core::Hashable
2067
+
2068
+ def initialize(**args)
2069
+ update!(**args)
2070
+ end
2071
+
2072
+ # Update properties of this object
2073
+ def update!(**args)
2074
+ end
2075
+ end
2076
+
2077
+ # An array of resource messages.
2078
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray
2079
+ include Google::Apis::Core::Hashable
2080
+
2081
+ # Required. The array of resources. For Apigee, the proxies are resources.
2082
+ # Corresponds to the JSON property `resources`
2083
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource>]
2084
+ attr_accessor :resources
2085
+
2086
+ def initialize(**args)
2087
+ update!(**args)
2088
+ end
2089
+
2090
+ # Update properties of this object
2091
+ def update!(**args)
2092
+ @resources = args[:resources] if args.key?(:resources)
2093
+ end
2094
+ end
2095
+
2096
+ # Resource for which we are computing security assessment.
2097
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource
2098
+ include Google::Apis::Core::Hashable
2099
+
2100
+ # Required. Name of this resource.
2101
+ # Corresponds to the JSON property `name`
2102
+ # @return [String]
2103
+ attr_accessor :name
2104
+
2105
+ # Required. Type of this resource.
2106
+ # Corresponds to the JSON property `type`
2107
+ # @return [String]
2108
+ attr_accessor :type
2109
+
2110
+ def initialize(**args)
2111
+ update!(**args)
2112
+ end
2113
+
2114
+ # Update properties of this object
2115
+ def update!(**args)
2116
+ @name = args[:name] if args.key?(:name)
2117
+ @type = args[:type] if args.key?(:type)
2118
+ end
2119
+ end
2120
+
2121
+ # Response for BatchComputeSecurityAssessmentResults.
2122
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse
2123
+ include Google::Apis::Core::Hashable
2124
+
2125
+ # The time of the assessment api call.
2126
+ # Corresponds to the JSON property `assessmentTime`
2127
+ # @return [String]
2128
+ attr_accessor :assessment_time
2129
+
2130
+ # A token that can be sent as `page_token` to retrieve the next page. If this
2131
+ # field is blank, there are no subsequent pages.
2132
+ # Corresponds to the JSON property `nextPageToken`
2133
+ # @return [String]
2134
+ attr_accessor :next_page_token
2135
+
2136
+ # Default sort order is by resource name in alphabetic order.
2137
+ # Corresponds to the JSON property `securityAssessmentResults`
2138
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResult>]
2139
+ attr_accessor :security_assessment_results
2140
+
2141
+ def initialize(**args)
2142
+ update!(**args)
2143
+ end
2144
+
2145
+ # Update properties of this object
2146
+ def update!(**args)
2147
+ @assessment_time = args[:assessment_time] if args.key?(:assessment_time)
2148
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2149
+ @security_assessment_results = args[:security_assessment_results] if args.key?(:security_assessment_results)
2150
+ end
2151
+ end
2152
+
1972
2153
  # Request for BatchUpdateSecurityIncident.
1973
2154
  class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
1974
2155
  include Google::Apis::Core::Hashable
@@ -5068,6 +5249,14 @@ module Google
5068
5249
  class GoogleCloudApigeeV1Instance
5069
5250
  include Google::Apis::Core::Hashable
5070
5251
 
5252
+ # Access logging configuration enables customers to ship the access logs from
5253
+ # the tenant projects to their own project's cloud logging. The feature is at
5254
+ # the instance level ad disabled by default. It can be enabled during
5255
+ # CreateInstance or UpdateInstance.
5256
+ # Corresponds to the JSON property `accessLoggingConfig`
5257
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessLoggingConfig]
5258
+ attr_accessor :access_logging_config
5259
+
5071
5260
  # Optional. Customer accept list represents the list of projects (id/number) on
5072
5261
  # customer side that can privately connect to the service attachment. It is an
5073
5262
  # optional field which the customers can provide during the instance creation.
@@ -5087,9 +5276,10 @@ module Google
5087
5276
  # @return [String]
5088
5277
  attr_accessor :description
5089
5278
 
5090
- # Customer Managed Encryption Key (CMEK) used for disk and volume encryption.
5091
- # Required for Apigee paid subscriptions only. Use the following format: `
5092
- # projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`
5279
+ # Customer Managed Encryption Key (CMEK) used for disk and volume encryption. If
5280
+ # not specified, a Google-Managed encryption key will be used. Use the following
5281
+ # format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
5282
+ # `
5093
5283
  # Corresponds to the JSON property `diskEncryptionKeyName`
5094
5284
  # @return [String]
5095
5285
  attr_accessor :disk_encryption_key_name
@@ -5172,6 +5362,7 @@ module Google
5172
5362
 
5173
5363
  # Update properties of this object
5174
5364
  def update!(**args)
5365
+ @access_logging_config = args[:access_logging_config] if args.key?(:access_logging_config)
5175
5366
  @consumer_accept_list = args[:consumer_accept_list] if args.key?(:consumer_accept_list)
5176
5367
  @created_at = args[:created_at] if args.key?(:created_at)
5177
5368
  @description = args[:description] if args.key?(:description)
@@ -6870,19 +7061,17 @@ module Google
6870
7061
  # @return [String]
6871
7062
  attr_accessor :analytics_region
6872
7063
 
6873
- # Cloud KMS key name used for encrypting API consumer data. Required for US/EU
6874
- # regions when [BillingType](#BillingType) is `SUBSCRIPTION`. When [BillingType](
6875
- # #BillingType) is `EVALUATION` or the region is not US/EU, a Google-Managed
6876
- # encryption key will be used. Format: `projects/*/locations/*/keyRings/*/
6877
- # cryptoKeys/*`
7064
+ # Cloud KMS key name used for encrypting API consumer data. If not specified or [
7065
+ # BillingType](#BillingType) is `EVALUATION`, a Google-Managed encryption key
7066
+ # will be used. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`
6878
7067
  # Corresponds to the JSON property `apiConsumerDataEncryptionKeyName`
6879
7068
  # @return [String]
6880
7069
  attr_accessor :api_consumer_data_encryption_key_name
6881
7070
 
6882
- # This field is needed only for customers with control plane in US or EU. Apigee
6883
- # stores some control plane data only in single region. This field determines
6884
- # which single region Apigee should use. For example: "us-west1" when control
6885
- # plane is in US or "europe-west2" when control plane is in EU.
7071
+ # This field is needed only for customers using non-default data residency
7072
+ # regions. Apigee stores some control plane data only in single region. This
7073
+ # field determines which single region Apigee should use. For example: "us-west1"
7074
+ # when control plane is in US or "europe-west2" when control plane is in EU.
6886
7075
  # Corresponds to the JSON property `apiConsumerDataLocation`
6887
7076
  # @return [String]
6888
7077
  attr_accessor :api_consumer_data_location
@@ -6929,9 +7118,10 @@ module Google
6929
7118
  attr_accessor :ca_certificate
6930
7119
 
6931
7120
  # Cloud KMS key name used for encrypting control plane data that is stored in a
6932
- # multi region. Required when [BillingType](#BillingType) is `SUBSCRIPTION`.
6933
- # When [BillingType](#BillingType) is `EVALUATION`, a Google-Managed encryption
6934
- # key will be used. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`
7121
+ # multi region. Only used for the data residency region "US" or "EU". If not
7122
+ # specified or [BillingType](#BillingType) is `EVALUATION`, a Google-Managed
7123
+ # encryption key will be used. Format: `projects/*/locations/*/keyRings/*/
7124
+ # cryptoKeys/*`
6935
7125
  # Corresponds to the JSON property `controlPlaneEncryptionKeyName`
6936
7126
  # @return [String]
6937
7127
  attr_accessor :control_plane_encryption_key_name
@@ -7012,10 +7202,9 @@ module Google
7012
7202
 
7013
7203
  # Cloud KMS key name used for encrypting the data that is stored and replicated
7014
7204
  # across runtime instances. Update is not allowed after the organization is
7015
- # created. Required when [RuntimeType](#RuntimeType) is `CLOUD`. If not
7016
- # specified when [RuntimeType](#RuntimeType) is `TRIAL`, a Google-Managed
7017
- # encryption key will be used. For example: "projects/foo/locations/us/keyRings/
7018
- # bar/cryptoKeys/baz". **Note:** Not supported for Apigee hybrid.
7205
+ # created. If not specified or [RuntimeType](#RuntimeType) is `TRIAL`, a Google-
7206
+ # Managed encryption key will be used. For example: "projects/foo/locations/us/
7207
+ # keyRings/bar/cryptoKeys/baz". **Note:** Not supported for Apigee hybrid.
7019
7208
  # Corresponds to the JSON property `runtimeDatabaseEncryptionKeyName`
7020
7209
  # @return [String]
7021
7210
  attr_accessor :runtime_database_encryption_key_name
@@ -9435,6 +9624,221 @@ module Google
9435
9624
  end
9436
9625
  end
9437
9626
 
9627
+ # The security assessment result for one resource.
9628
+ class GoogleCloudApigeeV1SecurityAssessmentResult
9629
+ include Google::Apis::Core::Hashable
9630
+
9631
+ # The time of the assessment of this resource. This could lag behind `
9632
+ # assessment_time` due to caching within the backend.
9633
+ # Corresponds to the JSON property `createTime`
9634
+ # @return [String]
9635
+ attr_accessor :create_time
9636
+
9637
+ # The `Status` type defines a logical error model that is suitable for different
9638
+ # programming environments, including REST APIs and RPC APIs. It is used by [
9639
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
9640
+ # data: error code, error message, and error details. You can find out more
9641
+ # about this error model and how to work with it in the [API Design Guide](https:
9642
+ # //cloud.google.com/apis/design/errors).
9643
+ # Corresponds to the JSON property `error`
9644
+ # @return [Google::Apis::ApigeeV1::GoogleRpcStatus]
9645
+ attr_accessor :error
9646
+
9647
+ # Resource for which we are computing security assessment.
9648
+ # Corresponds to the JSON property `resource`
9649
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResource]
9650
+ attr_accessor :resource
9651
+
9652
+ # The result of the assessment.
9653
+ # Corresponds to the JSON property `scoringResult`
9654
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResult]
9655
+ attr_accessor :scoring_result
9656
+
9657
+ def initialize(**args)
9658
+ update!(**args)
9659
+ end
9660
+
9661
+ # Update properties of this object
9662
+ def update!(**args)
9663
+ @create_time = args[:create_time] if args.key?(:create_time)
9664
+ @error = args[:error] if args.key?(:error)
9665
+ @resource = args[:resource] if args.key?(:resource)
9666
+ @scoring_result = args[:scoring_result] if args.key?(:scoring_result)
9667
+ end
9668
+ end
9669
+
9670
+ # Resource for which we are computing security assessment.
9671
+ class GoogleCloudApigeeV1SecurityAssessmentResultResource
9672
+ include Google::Apis::Core::Hashable
9673
+
9674
+ # Required. Name of this resource.
9675
+ # Corresponds to the JSON property `name`
9676
+ # @return [String]
9677
+ attr_accessor :name
9678
+
9679
+ # The revision id for the resource. In case of Apigee, this is proxy revision id.
9680
+ # Corresponds to the JSON property `resourceRevisionId`
9681
+ # @return [String]
9682
+ attr_accessor :resource_revision_id
9683
+
9684
+ # Required. Type of this resource.
9685
+ # Corresponds to the JSON property `type`
9686
+ # @return [String]
9687
+ attr_accessor :type
9688
+
9689
+ def initialize(**args)
9690
+ update!(**args)
9691
+ end
9692
+
9693
+ # Update properties of this object
9694
+ def update!(**args)
9695
+ @name = args[:name] if args.key?(:name)
9696
+ @resource_revision_id = args[:resource_revision_id] if args.key?(:resource_revision_id)
9697
+ @type = args[:type] if args.key?(:type)
9698
+ end
9699
+ end
9700
+
9701
+ # The result of the assessment.
9702
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
9703
+ include Google::Apis::Core::Hashable
9704
+
9705
+ # The recommendations of the assessment. The key is the "name" of the assessment
9706
+ # (not display_name), and the value are the recommendations.
9707
+ # Corresponds to the JSON property `assessmentRecommendations`
9708
+ # @return [Hash<String,Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation>]
9709
+ attr_accessor :assessment_recommendations
9710
+
9711
+ # The time when resource data was last fetched for this resource. This time may
9712
+ # be different than when the resource was actually updated due to lag in data
9713
+ # collection.
9714
+ # Corresponds to the JSON property `dataUpdateTime`
9715
+ # @return [String]
9716
+ attr_accessor :data_update_time
9717
+
9718
+ # The number of failed assessments grouped by its weight. Keys are one of the
9719
+ # following: "MAJOR", "MODERATE", "MINOR".
9720
+ # Corresponds to the JSON property `failedAssessmentPerWeight`
9721
+ # @return [Hash<String,Fixnum>]
9722
+ attr_accessor :failed_assessment_per_weight
9723
+
9724
+ # The security score of the assessment.
9725
+ # Corresponds to the JSON property `score`
9726
+ # @return [Fixnum]
9727
+ attr_accessor :score
9728
+
9729
+ # The severity of the assessment.
9730
+ # Corresponds to the JSON property `severity`
9731
+ # @return [String]
9732
+ attr_accessor :severity
9733
+
9734
+ def initialize(**args)
9735
+ update!(**args)
9736
+ end
9737
+
9738
+ # Update properties of this object
9739
+ def update!(**args)
9740
+ @assessment_recommendations = args[:assessment_recommendations] if args.key?(:assessment_recommendations)
9741
+ @data_update_time = args[:data_update_time] if args.key?(:data_update_time)
9742
+ @failed_assessment_per_weight = args[:failed_assessment_per_weight] if args.key?(:failed_assessment_per_weight)
9743
+ @score = args[:score] if args.key?(:score)
9744
+ @severity = args[:severity] if args.key?(:severity)
9745
+ end
9746
+ end
9747
+
9748
+ # The message format of a recommendation from the assessment.
9749
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation
9750
+ include Google::Apis::Core::Hashable
9751
+
9752
+ # The display name of the assessment.
9753
+ # Corresponds to the JSON property `displayName`
9754
+ # @return [String]
9755
+ attr_accessor :display_name
9756
+
9757
+ # The recommended steps of the assessment.
9758
+ # Corresponds to the JSON property `recommendations`
9759
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation>]
9760
+ attr_accessor :recommendations
9761
+
9762
+ # Score impact indicates the impact on the overall score if the assessment were
9763
+ # to pass.
9764
+ # Corresponds to the JSON property `scoreImpact`
9765
+ # @return [Fixnum]
9766
+ attr_accessor :score_impact
9767
+
9768
+ # Verdict indicates the assessment result.
9769
+ # Corresponds to the JSON property `verdict`
9770
+ # @return [String]
9771
+ attr_accessor :verdict
9772
+
9773
+ # The weight of the assessment which was set in the profile.
9774
+ # Corresponds to the JSON property `weight`
9775
+ # @return [String]
9776
+ attr_accessor :weight
9777
+
9778
+ def initialize(**args)
9779
+ update!(**args)
9780
+ end
9781
+
9782
+ # Update properties of this object
9783
+ def update!(**args)
9784
+ @display_name = args[:display_name] if args.key?(:display_name)
9785
+ @recommendations = args[:recommendations] if args.key?(:recommendations)
9786
+ @score_impact = args[:score_impact] if args.key?(:score_impact)
9787
+ @verdict = args[:verdict] if args.key?(:verdict)
9788
+ @weight = args[:weight] if args.key?(:weight)
9789
+ end
9790
+ end
9791
+
9792
+ # The format of the assessment recommendation.
9793
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation
9794
+ include Google::Apis::Core::Hashable
9795
+
9796
+ # The description of the recommendation.
9797
+ # Corresponds to the JSON property `description`
9798
+ # @return [String]
9799
+ attr_accessor :description
9800
+
9801
+ # The format for a link in the recommendation.
9802
+ # Corresponds to the JSON property `link`
9803
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink]
9804
+ attr_accessor :link
9805
+
9806
+ def initialize(**args)
9807
+ update!(**args)
9808
+ end
9809
+
9810
+ # Update properties of this object
9811
+ def update!(**args)
9812
+ @description = args[:description] if args.key?(:description)
9813
+ @link = args[:link] if args.key?(:link)
9814
+ end
9815
+ end
9816
+
9817
+ # The format for a link in the recommendation.
9818
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink
9819
+ include Google::Apis::Core::Hashable
9820
+
9821
+ # The text of the url. (ie: "Learn more")
9822
+ # Corresponds to the JSON property `text`
9823
+ # @return [String]
9824
+ attr_accessor :text
9825
+
9826
+ # The link itself.
9827
+ # Corresponds to the JSON property `uri`
9828
+ # @return [String]
9829
+ attr_accessor :uri
9830
+
9831
+ def initialize(**args)
9832
+ update!(**args)
9833
+ end
9834
+
9835
+ # Update properties of this object
9836
+ def update!(**args)
9837
+ @text = args[:text] if args.key?(:text)
9838
+ @uri = args[:uri] if args.key?(:uri)
9839
+ end
9840
+ end
9841
+
9438
9842
  # Represents an SecurityIncident resource.
9439
9843
  class GoogleCloudApigeeV1SecurityIncident
9440
9844
  include Google::Apis::Core::Hashable
@@ -10655,6 +11059,12 @@ module Google
10655
11059
  attr_accessor :enabled
10656
11060
  alias_method :enabled?, :enabled
10657
11061
 
11062
+ # TLS is strictly enforced.
11063
+ # Corresponds to the JSON property `enforce`
11064
+ # @return [Boolean]
11065
+ attr_accessor :enforce
11066
+ alias_method :enforce?, :enforce
11067
+
10658
11068
  # If true, Edge ignores TLS certificate errors. Valid when configuring TLS for
10659
11069
  # target servers and target endpoints, and when configuring virtual hosts that
10660
11070
  # use 2-way TLS. When used with a target endpoint/target server, if the backend
@@ -10697,6 +11107,7 @@ module Google
10697
11107
  @client_auth_enabled = args[:client_auth_enabled] if args.key?(:client_auth_enabled)
10698
11108
  @common_name = args[:common_name] if args.key?(:common_name)
10699
11109
  @enabled = args[:enabled] if args.key?(:enabled)
11110
+ @enforce = args[:enforce] if args.key?(:enforce)
10700
11111
  @ignore_validation_errors = args[:ignore_validation_errors] if args.key?(:ignore_validation_errors)
10701
11112
  @key_alias = args[:key_alias] if args.key?(:key_alias)
10702
11113
  @key_store = args[:key_store] if args.key?(:key_store)
@@ -10759,6 +11170,12 @@ module Google
10759
11170
  attr_accessor :enabled
10760
11171
  alias_method :enabled?, :enabled
10761
11172
 
11173
+ # Flag that enforces TLS settings
11174
+ # Corresponds to the JSON property `enforce`
11175
+ # @return [Boolean]
11176
+ attr_accessor :enforce
11177
+ alias_method :enforce?, :enforce
11178
+
10762
11179
  # Flag that specifies whether to ignore TLS certificate validation errors. Set
10763
11180
  # to `true` to ignore errors.
10764
11181
  # Corresponds to the JSON property `ignoreValidationErrors`
@@ -10800,6 +11217,7 @@ module Google
10800
11217
  @client_auth_enabled = args[:client_auth_enabled] if args.key?(:client_auth_enabled)
10801
11218
  @common_name = args[:common_name] if args.key?(:common_name)
10802
11219
  @enabled = args[:enabled] if args.key?(:enabled)
11220
+ @enforce = args[:enforce] if args.key?(:enforce)
10803
11221
  @ignore_validation_errors = args[:ignore_validation_errors] if args.key?(:ignore_validation_errors)
10804
11222
  @key_alias = args[:key_alias] if args.key?(:key_alias)
10805
11223
  @key_alias_reference = args[:key_alias_reference] if args.key?(:key_alias_reference)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeV1
18
18
  # Version of the google-apis-apigee_v1 gem
19
- GEM_VERSION = "0.87.0"
19
+ GEM_VERSION = "0.89.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 = "20240312"
25
+ REVISION = "20240415"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GoogleCloudApigeeV1AccessLoggingConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GoogleCloudApigeeV1AccessRemove
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -244,6 +250,36 @@ module Google
244
250
  include Google::Apis::Core::JsonObjectSupport
245
251
  end
246
252
 
253
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
247
283
  class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
248
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
285
 
@@ -1408,6 +1444,42 @@ module Google
1408
1444
  include Google::Apis::Core::JsonObjectSupport
1409
1445
  end
1410
1446
 
1447
+ class GoogleCloudApigeeV1SecurityAssessmentResult
1448
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1449
+
1450
+ include Google::Apis::Core::JsonObjectSupport
1451
+ end
1452
+
1453
+ class GoogleCloudApigeeV1SecurityAssessmentResultResource
1454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1455
+
1456
+ include Google::Apis::Core::JsonObjectSupport
1457
+ end
1458
+
1459
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
1460
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1461
+
1462
+ include Google::Apis::Core::JsonObjectSupport
1463
+ end
1464
+
1465
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation
1466
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1467
+
1468
+ include Google::Apis::Core::JsonObjectSupport
1469
+ end
1470
+
1471
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation
1472
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1473
+
1474
+ include Google::Apis::Core::JsonObjectSupport
1475
+ end
1476
+
1477
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink
1478
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1479
+
1480
+ include Google::Apis::Core::JsonObjectSupport
1481
+ end
1482
+
1411
1483
  class GoogleCloudApigeeV1SecurityIncident
1412
1484
  class Representation < Google::Apis::Core::JsonRepresentation; end
1413
1485
 
@@ -1767,6 +1839,14 @@ module Google
1767
1839
  end
1768
1840
  end
1769
1841
 
1842
+ class GoogleCloudApigeeV1AccessLoggingConfig
1843
+ # @private
1844
+ class Representation < Google::Apis::Core::JsonRepresentation
1845
+ property :enabled, as: 'enabled'
1846
+ property :filter, as: 'filter'
1847
+ end
1848
+ end
1849
+
1770
1850
  class GoogleCloudApigeeV1AccessRemove
1771
1851
  # @private
1772
1852
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2180,6 +2260,52 @@ module Google
2180
2260
  end
2181
2261
  end
2182
2262
 
2263
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest
2264
+ # @private
2265
+ class Representation < Google::Apis::Core::JsonRepresentation
2266
+ property :include, as: 'include', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray::Representation
2267
+
2268
+ property :include_all_resources, as: 'includeAllResources', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll::Representation
2269
+
2270
+ property :page_size, as: 'pageSize'
2271
+ property :page_token, as: 'pageToken'
2272
+ property :profile, as: 'profile'
2273
+ property :scope, as: 'scope'
2274
+ end
2275
+ end
2276
+
2277
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll
2278
+ # @private
2279
+ class Representation < Google::Apis::Core::JsonRepresentation
2280
+ end
2281
+ end
2282
+
2283
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray
2284
+ # @private
2285
+ class Representation < Google::Apis::Core::JsonRepresentation
2286
+ collection :resources, as: 'resources', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource::Representation
2287
+
2288
+ end
2289
+ end
2290
+
2291
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource
2292
+ # @private
2293
+ class Representation < Google::Apis::Core::JsonRepresentation
2294
+ property :name, as: 'name'
2295
+ property :type, as: 'type'
2296
+ end
2297
+ end
2298
+
2299
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse
2300
+ # @private
2301
+ class Representation < Google::Apis::Core::JsonRepresentation
2302
+ property :assessment_time, as: 'assessmentTime'
2303
+ property :next_page_token, as: 'nextPageToken'
2304
+ collection :security_assessment_results, as: 'securityAssessmentResults', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResult, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResult::Representation
2305
+
2306
+ end
2307
+ end
2308
+
2183
2309
  class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
2184
2310
  # @private
2185
2311
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2986,6 +3112,8 @@ module Google
2986
3112
  class GoogleCloudApigeeV1Instance
2987
3113
  # @private
2988
3114
  class Representation < Google::Apis::Core::JsonRepresentation
3115
+ property :access_logging_config, as: 'accessLoggingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessLoggingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessLoggingConfig::Representation
3116
+
2989
3117
  collection :consumer_accept_list, as: 'consumerAcceptList'
2990
3118
  property :created_at, :numeric_string => true, as: 'createdAt'
2991
3119
  property :description, as: 'description'
@@ -4218,6 +4346,69 @@ module Google
4218
4346
  end
4219
4347
  end
4220
4348
 
4349
+ class GoogleCloudApigeeV1SecurityAssessmentResult
4350
+ # @private
4351
+ class Representation < Google::Apis::Core::JsonRepresentation
4352
+ property :create_time, as: 'createTime'
4353
+ property :error, as: 'error', class: Google::Apis::ApigeeV1::GoogleRpcStatus, decorator: Google::Apis::ApigeeV1::GoogleRpcStatus::Representation
4354
+
4355
+ property :resource, as: 'resource', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResource, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResource::Representation
4356
+
4357
+ property :scoring_result, as: 'scoringResult', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResult, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResult::Representation
4358
+
4359
+ end
4360
+ end
4361
+
4362
+ class GoogleCloudApigeeV1SecurityAssessmentResultResource
4363
+ # @private
4364
+ class Representation < Google::Apis::Core::JsonRepresentation
4365
+ property :name, as: 'name'
4366
+ property :resource_revision_id, as: 'resourceRevisionId'
4367
+ property :type, as: 'type'
4368
+ end
4369
+ end
4370
+
4371
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
4372
+ # @private
4373
+ class Representation < Google::Apis::Core::JsonRepresentation
4374
+ hash :assessment_recommendations, as: 'assessmentRecommendations', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation::Representation
4375
+
4376
+ property :data_update_time, as: 'dataUpdateTime'
4377
+ hash :failed_assessment_per_weight, as: 'failedAssessmentPerWeight'
4378
+ property :score, as: 'score'
4379
+ property :severity, as: 'severity'
4380
+ end
4381
+ end
4382
+
4383
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation
4384
+ # @private
4385
+ class Representation < Google::Apis::Core::JsonRepresentation
4386
+ property :display_name, as: 'displayName'
4387
+ collection :recommendations, as: 'recommendations', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation::Representation
4388
+
4389
+ property :score_impact, as: 'scoreImpact'
4390
+ property :verdict, as: 'verdict'
4391
+ property :weight, as: 'weight'
4392
+ end
4393
+ end
4394
+
4395
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation
4396
+ # @private
4397
+ class Representation < Google::Apis::Core::JsonRepresentation
4398
+ property :description, as: 'description'
4399
+ property :link, as: 'link', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink::Representation
4400
+
4401
+ end
4402
+ end
4403
+
4404
+ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink
4405
+ # @private
4406
+ class Representation < Google::Apis::Core::JsonRepresentation
4407
+ property :text, as: 'text'
4408
+ property :uri, as: 'uri'
4409
+ end
4410
+ end
4411
+
4221
4412
  class GoogleCloudApigeeV1SecurityIncident
4222
4413
  # @private
4223
4414
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4527,6 +4718,7 @@ module Google
4527
4718
  property :common_name, as: 'commonName', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoCommonName, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoCommonName::Representation
4528
4719
 
4529
4720
  property :enabled, as: 'enabled'
4721
+ property :enforce, as: 'enforce'
4530
4722
  property :ignore_validation_errors, as: 'ignoreValidationErrors'
4531
4723
  property :key_alias, as: 'keyAlias'
4532
4724
  property :key_store, as: 'keyStore'
@@ -4551,6 +4743,7 @@ module Google
4551
4743
  property :common_name, as: 'commonName', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CommonNameConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CommonNameConfig::Representation
4552
4744
 
4553
4745
  property :enabled, as: 'enabled'
4746
+ property :enforce, as: 'enforce'
4554
4747
  property :ignore_validation_errors, as: 'ignoreValidationErrors'
4555
4748
  property :key_alias, as: 'keyAlias'
4556
4749
  property :key_alias_reference, as: 'keyAliasReference', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyAliasReference, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyAliasReference::Representation
@@ -10724,6 +10724,40 @@ module Google
10724
10724
  execute_or_queue_command(command, &block)
10725
10725
  end
10726
10726
 
10727
+ # Compute RAV2 security scores for a set of resources.
10728
+ # @param [String] name
10729
+ # Required. Name of the organization for which the score needs to be computed in
10730
+ # the following format: `organizations/`org`/securityAssessmentResults`
10731
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest] google_cloud_apigee_v1_batch_compute_security_assessment_results_request_object
10732
+ # @param [String] fields
10733
+ # Selector specifying which fields to include in a partial response.
10734
+ # @param [String] quota_user
10735
+ # Available to use for quota purposes for server-side applications. Can be any
10736
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10737
+ # @param [Google::Apis::RequestOptions] options
10738
+ # Request-specific options
10739
+ #
10740
+ # @yield [result, err] Result & error if block supplied
10741
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse] parsed result object
10742
+ # @yieldparam err [StandardError] error object if request failed
10743
+ #
10744
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse]
10745
+ #
10746
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10747
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10748
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10749
+ def batch_organization_security_assessment_result_compute(name, google_cloud_apigee_v1_batch_compute_security_assessment_results_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
10750
+ command = make_simple_command(:post, 'v1/{+name}:batchCompute', options)
10751
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest::Representation
10752
+ command.request_object = google_cloud_apigee_v1_batch_compute_security_assessment_results_request_object
10753
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse::Representation
10754
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse
10755
+ command.params['name'] = name unless name.nil?
10756
+ command.query['fields'] = fields unless fields.nil?
10757
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10758
+ execute_or_queue_command(command, &block)
10759
+ end
10760
+
10727
10761
  # CreateSecurityProfile create a new custom security profile.
10728
10762
  # @param [String] parent
10729
10763
  # Required. Name of organization. Format: organizations/`org`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.87.0
4
+ version: 0.89.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-03-17 00:00:00.000000000 Z
11
+ date: 2024-04-21 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-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.87.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.89.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
63
63
  post_install_message:
64
64
  rdoc_options: []