google-apis-apigee_v1 0.88.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: c6681a76955abe2eed16a9dbf429ed02eec50c2a45a384f467c1a2cfd1e13e30
4
- data.tar.gz: 309a7da4748d92eddc878dbc48d4279f03f7ac9ac8db279170ce0c9936207a6c
3
+ metadata.gz: ec660497de7f05d090f5ba37680fa8bd39c4c323e8a42f576867a7a00df1fb99
4
+ data.tar.gz: 681041d0c60c7af58e716181756dcb2030b60b4692c35e4349f673b53efbe4fc
5
5
  SHA512:
6
- metadata.gz: 4554a8396f8017841ba389241c66fb531038d36fa9274afccf51b1b263611f8f8fc8514490a3ef5efae9995bb2974792f00bd4cbca41357bdc142fcd6201e13a
7
- data.tar.gz: d5c069ccd639f2097b00cd23a627153b945f29e82cad78531fd19e7df2d3a70322ba4df8cb2af52918eaaea6579ec7adf6399569ae49912940fc6495fee52d83
6
+ metadata.gz: 6972d82c1d104ab64e11540438935932c7c1f9e6729a09fd40882df6242c6a994ea1ad418504e0f82545d94f586d9b6d972d619cd8042db8055eca47e85ac521
7
+ data.tar.gz: 7e6b226c62e810fb630d764b776c0127f945e26ec1c46f36d7fbd861dd34e1ca8ecc0469acf576ea4362db48541189894beeac90ec9bcc71e62b0e853e8a3d29
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.88.0 (2024-03-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20240318
@@ -658,9 +658,14 @@ module Google
658
658
  # @return [Fixnum]
659
659
  attr_accessor :id
660
660
 
661
- # Optional. Location of the image used for the catalog item in the catalog. For
662
- # portal files, this can have the format `/files/`filename``. Max length is 2,
663
- # 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.
664
669
  # Corresponds to the JSON property `imageUrl`
665
670
  # @return [String]
666
671
  attr_accessor :image_url
@@ -2003,6 +2008,148 @@ module Google
2003
2008
  end
2004
2009
  end
2005
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
+
2006
2153
  # Request for BatchUpdateSecurityIncident.
2007
2154
  class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
2008
2155
  include Google::Apis::Core::Hashable
@@ -5129,9 +5276,10 @@ module Google
5129
5276
  # @return [String]
5130
5277
  attr_accessor :description
5131
5278
 
5132
- # Customer Managed Encryption Key (CMEK) used for disk and volume encryption.
5133
- # Required for Apigee paid subscriptions only. Use the following format: `
5134
- # 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
+ # `
5135
5283
  # Corresponds to the JSON property `diskEncryptionKeyName`
5136
5284
  # @return [String]
5137
5285
  attr_accessor :disk_encryption_key_name
@@ -6913,19 +7061,17 @@ module Google
6913
7061
  # @return [String]
6914
7062
  attr_accessor :analytics_region
6915
7063
 
6916
- # Cloud KMS key name used for encrypting API consumer data. Required for US/EU
6917
- # regions when [BillingType](#BillingType) is `SUBSCRIPTION`. When [BillingType](
6918
- # #BillingType) is `EVALUATION` or the region is not US/EU, a Google-Managed
6919
- # encryption key will be used. Format: `projects/*/locations/*/keyRings/*/
6920
- # 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/*`
6921
7067
  # Corresponds to the JSON property `apiConsumerDataEncryptionKeyName`
6922
7068
  # @return [String]
6923
7069
  attr_accessor :api_consumer_data_encryption_key_name
6924
7070
 
6925
- # This field is needed only for customers with control plane in US or EU. Apigee
6926
- # stores some control plane data only in single region. This field determines
6927
- # which single region Apigee should use. For example: "us-west1" when control
6928
- # 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.
6929
7075
  # Corresponds to the JSON property `apiConsumerDataLocation`
6930
7076
  # @return [String]
6931
7077
  attr_accessor :api_consumer_data_location
@@ -6972,9 +7118,10 @@ module Google
6972
7118
  attr_accessor :ca_certificate
6973
7119
 
6974
7120
  # Cloud KMS key name used for encrypting control plane data that is stored in a
6975
- # multi region. Required when [BillingType](#BillingType) is `SUBSCRIPTION`.
6976
- # When [BillingType](#BillingType) is `EVALUATION`, a Google-Managed encryption
6977
- # 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/*`
6978
7125
  # Corresponds to the JSON property `controlPlaneEncryptionKeyName`
6979
7126
  # @return [String]
6980
7127
  attr_accessor :control_plane_encryption_key_name
@@ -7055,10 +7202,9 @@ module Google
7055
7202
 
7056
7203
  # Cloud KMS key name used for encrypting the data that is stored and replicated
7057
7204
  # across runtime instances. Update is not allowed after the organization is
7058
- # created. Required when [RuntimeType](#RuntimeType) is `CLOUD`. If not
7059
- # specified when [RuntimeType](#RuntimeType) is `TRIAL`, a Google-Managed
7060
- # encryption key will be used. For example: "projects/foo/locations/us/keyRings/
7061
- # 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.
7062
7208
  # Corresponds to the JSON property `runtimeDatabaseEncryptionKeyName`
7063
7209
  # @return [String]
7064
7210
  attr_accessor :runtime_database_encryption_key_name
@@ -9478,6 +9624,221 @@ module Google
9478
9624
  end
9479
9625
  end
9480
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
+
9481
9842
  # Represents an SecurityIncident resource.
9482
9843
  class GoogleCloudApigeeV1SecurityIncident
9483
9844
  include Google::Apis::Core::Hashable
@@ -10698,6 +11059,12 @@ module Google
10698
11059
  attr_accessor :enabled
10699
11060
  alias_method :enabled?, :enabled
10700
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
+
10701
11068
  # If true, Edge ignores TLS certificate errors. Valid when configuring TLS for
10702
11069
  # target servers and target endpoints, and when configuring virtual hosts that
10703
11070
  # use 2-way TLS. When used with a target endpoint/target server, if the backend
@@ -10740,6 +11107,7 @@ module Google
10740
11107
  @client_auth_enabled = args[:client_auth_enabled] if args.key?(:client_auth_enabled)
10741
11108
  @common_name = args[:common_name] if args.key?(:common_name)
10742
11109
  @enabled = args[:enabled] if args.key?(:enabled)
11110
+ @enforce = args[:enforce] if args.key?(:enforce)
10743
11111
  @ignore_validation_errors = args[:ignore_validation_errors] if args.key?(:ignore_validation_errors)
10744
11112
  @key_alias = args[:key_alias] if args.key?(:key_alias)
10745
11113
  @key_store = args[:key_store] if args.key?(:key_store)
@@ -10802,6 +11170,12 @@ module Google
10802
11170
  attr_accessor :enabled
10803
11171
  alias_method :enabled?, :enabled
10804
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
+
10805
11179
  # Flag that specifies whether to ignore TLS certificate validation errors. Set
10806
11180
  # to `true` to ignore errors.
10807
11181
  # Corresponds to the JSON property `ignoreValidationErrors`
@@ -10843,6 +11217,7 @@ module Google
10843
11217
  @client_auth_enabled = args[:client_auth_enabled] if args.key?(:client_auth_enabled)
10844
11218
  @common_name = args[:common_name] if args.key?(:common_name)
10845
11219
  @enabled = args[:enabled] if args.key?(:enabled)
11220
+ @enforce = args[:enforce] if args.key?(:enforce)
10846
11221
  @ignore_validation_errors = args[:ignore_validation_errors] if args.key?(:ignore_validation_errors)
10847
11222
  @key_alias = args[:key_alias] if args.key?(:key_alias)
10848
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.88.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 = "20240318"
25
+ REVISION = "20240415"
26
26
  end
27
27
  end
28
28
  end
@@ -250,6 +250,36 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
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
+
253
283
  class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
254
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
285
 
@@ -1414,6 +1444,42 @@ module Google
1414
1444
  include Google::Apis::Core::JsonObjectSupport
1415
1445
  end
1416
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
+
1417
1483
  class GoogleCloudApigeeV1SecurityIncident
1418
1484
  class Representation < Google::Apis::Core::JsonRepresentation; end
1419
1485
 
@@ -2194,6 +2260,52 @@ module Google
2194
2260
  end
2195
2261
  end
2196
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
+
2197
2309
  class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
2198
2310
  # @private
2199
2311
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4234,6 +4346,69 @@ module Google
4234
4346
  end
4235
4347
  end
4236
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
+
4237
4412
  class GoogleCloudApigeeV1SecurityIncident
4238
4413
  # @private
4239
4414
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4543,6 +4718,7 @@ module Google
4543
4718
  property :common_name, as: 'commonName', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoCommonName, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoCommonName::Representation
4544
4719
 
4545
4720
  property :enabled, as: 'enabled'
4721
+ property :enforce, as: 'enforce'
4546
4722
  property :ignore_validation_errors, as: 'ignoreValidationErrors'
4547
4723
  property :key_alias, as: 'keyAlias'
4548
4724
  property :key_store, as: 'keyStore'
@@ -4567,6 +4743,7 @@ module Google
4567
4743
  property :common_name, as: 'commonName', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CommonNameConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CommonNameConfig::Representation
4568
4744
 
4569
4745
  property :enabled, as: 'enabled'
4746
+ property :enforce, as: 'enforce'
4570
4747
  property :ignore_validation_errors, as: 'ignoreValidationErrors'
4571
4748
  property :key_alias, as: 'keyAlias'
4572
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.88.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-24 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.88.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: []