google-apis-apigee_v1 0.47.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -257,6 +257,11 @@ module Google
257
257
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig]
258
258
  attr_accessor :advanced_api_ops_config
259
259
 
260
+ # Configurations of the API Security add-on.
261
+ # Corresponds to the JSON property `apiSecurityConfig`
262
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiSecurityConfig]
263
+ attr_accessor :api_security_config
264
+
260
265
  # Configuration for the Connectors Platform add-on.
261
266
  # Corresponds to the JSON property `connectorsPlatformConfig`
262
267
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConnectorsPlatformConfig]
@@ -279,6 +284,7 @@ module Google
279
284
  # Update properties of this object
280
285
  def update!(**args)
281
286
  @advanced_api_ops_config = args[:advanced_api_ops_config] if args.key?(:advanced_api_ops_config)
287
+ @api_security_config = args[:api_security_config] if args.key?(:api_security_config)
282
288
  @connectors_platform_config = args[:connectors_platform_config] if args.key?(:connectors_platform_config)
283
289
  @integration_config = args[:integration_config] if args.key?(:integration_config)
284
290
  @monetization_config = args[:monetization_config] if args.key?(:monetization_config)
@@ -473,7 +479,20 @@ module Google
473
479
  class GoogleCloudApigeeV1ApiProduct
474
480
  include Google::Apis::Core::Hashable
475
481
 
476
- #
482
+ # Comma-separated list of API resources to be bundled in the API product. By
483
+ # default, the resource paths are mapped from the `proxy.pathsuffix` variable.
484
+ # The proxy path suffix is defined as the URI fragment following the
485
+ # ProxyEndpoint base path. For example, if the `apiResources` element is defined
486
+ # to be `/forecastrss` and the base path defined for the API proxy is `/weather`,
487
+ # then only requests to `/weather/forecastrss` are permitted by the API product.
488
+ # You can select a specific path, or you can select all subpaths with the
489
+ # following wildcard: - `/**`: Indicates that all sub-URIs are included. - `/*` :
490
+ # Indicates that only URIs one level down are included. By default, / supports
491
+ # the same resources as /** as well as the base path defined by the API proxy.
492
+ # For example, if the base path of the API proxy is `/v1/weatherapikey`, then
493
+ # the API product supports requests to `/v1/weatherapikey` and to any sub-URIs,
494
+ # such as `/v1/weatherapikey/forecastrss`, `/v1/weatherapikey/region/CA`, and so
495
+ # on. For more information, see Managing API products.
477
496
  # Corresponds to the JSON property `apiResources`
478
497
  # @return [Array<String>]
479
498
  attr_accessor :api_resources
@@ -508,21 +527,7 @@ module Google
508
527
  attr_accessor :created_at
509
528
 
510
529
  # Description of the API product. Include key information about the API product
511
- # that is not captured by other fields. Comma-separated list of API resources to
512
- # be bundled in the API product. By default, the resource paths are mapped from
513
- # the `proxy.pathsuffix` variable. The proxy path suffix is defined as the URI
514
- # fragment following the ProxyEndpoint base path. For example, if the `
515
- # apiResources` element is defined to be `/forecastrss` and the base path
516
- # defined for the API proxy is `/weather`, then only requests to `/weather/
517
- # forecastrss` are permitted by the API product. You can select a specific path,
518
- # or you can select all subpaths with the following wildcard: - `/**`: Indicates
519
- # that all sub-URIs are included. - `/*` : Indicates that only URIs one level
520
- # down are included. By default, / supports the same resources as /** as well as
521
- # the base path defined by the API proxy. For example, if the base path of the
522
- # API proxy is `/v1/weatherapikey`, then the API product supports requests to `/
523
- # v1/weatherapikey` and to any sub-URIs, such as `/v1/weatherapikey/forecastrss`,
524
- # `/v1/weatherapikey/region/CA`, and so on. For more information, see Managing
525
- # API products.
530
+ # that is not captured by other fields.
526
531
  # Corresponds to the JSON property `description`
527
532
  # @return [String]
528
533
  attr_accessor :description
@@ -925,6 +930,33 @@ module Google
925
930
  end
926
931
  end
927
932
 
933
+ # Configurations of the API Security add-on.
934
+ class GoogleCloudApigeeV1ApiSecurityConfig
935
+ include Google::Apis::Core::Hashable
936
+
937
+ # Flag that specifies whether the API security add-on is enabled.
938
+ # Corresponds to the JSON property `enabled`
939
+ # @return [Boolean]
940
+ attr_accessor :enabled
941
+ alias_method :enabled?, :enabled
942
+
943
+ # Output only. Time at which the API Security add-on expires in in milliseconds
944
+ # since epoch. If unspecified, the add-on will never expire.
945
+ # Corresponds to the JSON property `expiresAt`
946
+ # @return [Fixnum]
947
+ attr_accessor :expires_at
948
+
949
+ def initialize(**args)
950
+ update!(**args)
951
+ end
952
+
953
+ # Update properties of this object
954
+ def update!(**args)
955
+ @enabled = args[:enabled] if args.key?(:enabled)
956
+ @expires_at = args[:expires_at] if args.key?(:expires_at)
957
+ end
958
+ end
959
+
928
960
  #
929
961
  class GoogleCloudApigeeV1App
930
962
  include Google::Apis::Core::Hashable
@@ -1517,6 +1549,102 @@ module Google
1517
1549
  end
1518
1550
  end
1519
1551
 
1552
+ # Request for ComputeEnvironmentScores.
1553
+ class GoogleCloudApigeeV1ComputeEnvironmentScoresRequest
1554
+ include Google::Apis::Core::Hashable
1555
+
1556
+ # Optional. Filters are used to filter scored components. Return all the
1557
+ # components if no filter is mentioned. Example: [` "scorePath": "/org@myorg/
1558
+ # envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/source" `, ` "scorePath": "
1559
+ # /org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/target", `]
1560
+ # This will return components with path: "/org@myorg/envgroup@myenvgroup/env@
1561
+ # myenv/proxies/proxy@myproxy/source" OR "/org@myorg/envgroup@myenvgroup/env@
1562
+ # myenv/proxies/proxy@myproxy/target"
1563
+ # Corresponds to the JSON property `filters`
1564
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ComputeEnvironmentScoresRequestFilter>]
1565
+ attr_accessor :filters
1566
+
1567
+ # Optional. The maximum number of subcomponents to be returned in a single page.
1568
+ # The service may return fewer than this value. If unspecified, at most 100
1569
+ # subcomponents will be returned in a single page.
1570
+ # Corresponds to the JSON property `pageSize`
1571
+ # @return [Fixnum]
1572
+ attr_accessor :page_size
1573
+
1574
+ # Optional. A token that can be sent as `page_token` to retrieve the next page.
1575
+ # If this field is omitted, there are no subsequent pages.
1576
+ # Corresponds to the JSON property `pageToken`
1577
+ # @return [String]
1578
+ attr_accessor :page_token
1579
+
1580
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
1581
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
1582
+ # When the start equals the end, the interval is empty (matches no time). When
1583
+ # both start and end are unspecified, the interval matches any time.
1584
+ # Corresponds to the JSON property `timeRange`
1585
+ # @return [Google::Apis::ApigeeV1::GoogleTypeInterval]
1586
+ attr_accessor :time_range
1587
+
1588
+ def initialize(**args)
1589
+ update!(**args)
1590
+ end
1591
+
1592
+ # Update properties of this object
1593
+ def update!(**args)
1594
+ @filters = args[:filters] if args.key?(:filters)
1595
+ @page_size = args[:page_size] if args.key?(:page_size)
1596
+ @page_token = args[:page_token] if args.key?(:page_token)
1597
+ @time_range = args[:time_range] if args.key?(:time_range)
1598
+ end
1599
+ end
1600
+
1601
+ # Filter scores by component path. Used custom filter instead of AIP-160 as the
1602
+ # use cases are highly constrained and predictable.
1603
+ class GoogleCloudApigeeV1ComputeEnvironmentScoresRequestFilter
1604
+ include Google::Apis::Core::Hashable
1605
+
1606
+ # Optional. Return scores for this component. Example: "/org@myorg/envgroup@
1607
+ # myenvgroup/env@myenv/proxies/proxy@myproxy/source"
1608
+ # Corresponds to the JSON property `scorePath`
1609
+ # @return [String]
1610
+ attr_accessor :score_path
1611
+
1612
+ def initialize(**args)
1613
+ update!(**args)
1614
+ end
1615
+
1616
+ # Update properties of this object
1617
+ def update!(**args)
1618
+ @score_path = args[:score_path] if args.key?(:score_path)
1619
+ end
1620
+ end
1621
+
1622
+ # Response for ComputeEnvironmentScores.
1623
+ class GoogleCloudApigeeV1ComputeEnvironmentScoresResponse
1624
+ include Google::Apis::Core::Hashable
1625
+
1626
+ # A page token, received from a previous `ComputeScore` call. Provide this to
1627
+ # retrieve the subsequent page.
1628
+ # Corresponds to the JSON property `nextPageToken`
1629
+ # @return [String]
1630
+ attr_accessor :next_page_token
1631
+
1632
+ # List of scores. One score per day.
1633
+ # Corresponds to the JSON property `scores`
1634
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Score>]
1635
+ attr_accessor :scores
1636
+
1637
+ def initialize(**args)
1638
+ update!(**args)
1639
+ end
1640
+
1641
+ # Update properties of this object
1642
+ def update!(**args)
1643
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1644
+ @scores = args[:scores] if args.key?(:scores)
1645
+ end
1646
+ end
1647
+
1520
1648
  # Version of the API proxy configuration schema. Currently, only 4.0 is
1521
1649
  # supported.
1522
1650
  class GoogleCloudApigeeV1ConfigVersion
@@ -3049,6 +3177,13 @@ module Google
3049
3177
  # @return [String]
3050
3178
  attr_accessor :display_name
3051
3179
 
3180
+ # Optional. Url of the forward proxy to be applied to the runtime instances in
3181
+ # this environment. Must be in the format of `scheme`://`hostname`:`port`. Note
3182
+ # that scheme must be one of "http" or "https", and port must be supplied.
3183
+ # Corresponds to the JSON property `forwardProxyUri`
3184
+ # @return [String]
3185
+ attr_accessor :forward_proxy_uri
3186
+
3052
3187
  # Output only. Last modification time of this environment as milliseconds since
3053
3188
  # epoch.
3054
3189
  # Corresponds to the JSON property `lastModifiedAt`
@@ -3084,6 +3219,7 @@ module Google
3084
3219
  @deployment_type = args[:deployment_type] if args.key?(:deployment_type)
3085
3220
  @description = args[:description] if args.key?(:description)
3086
3221
  @display_name = args[:display_name] if args.key?(:display_name)
3222
+ @forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
3087
3223
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
3088
3224
  @name = args[:name] if args.key?(:name)
3089
3225
  @properties = args[:properties] if args.key?(:properties)
@@ -3132,6 +3268,13 @@ module Google
3132
3268
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig>]
3133
3269
  attr_accessor :flowhooks
3134
3270
 
3271
+ # The forward proxy's url to be used by the runtime. When set, runtime will send
3272
+ # requests to the target via the given forward proxy. This is only used by
3273
+ # programmable gateways.
3274
+ # Corresponds to the JSON property `forwardProxyUri`
3275
+ # @return [String]
3276
+ attr_accessor :forward_proxy_uri
3277
+
3135
3278
  # The location for the gateway config blob as a URI, e.g. a Cloud Storage URI.
3136
3279
  # This is only used by Envoy-based gateways.
3137
3280
  # Corresponds to the JSON property `gatewayConfigLocation`
@@ -3212,6 +3355,7 @@ module Google
3212
3355
  @deployments = args[:deployments] if args.key?(:deployments)
3213
3356
  @feature_flags = args[:feature_flags] if args.key?(:feature_flags)
3214
3357
  @flowhooks = args[:flowhooks] if args.key?(:flowhooks)
3358
+ @forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
3215
3359
  @gateway_config_location = args[:gateway_config_location] if args.key?(:gateway_config_location)
3216
3360
  @keystores = args[:keystores] if args.key?(:keystores)
3217
3361
  @name = args[:name] if args.key?(:name)
@@ -4882,6 +5026,88 @@ module Google
4882
5026
  end
4883
5027
  end
4884
5028
 
5029
+ # Response for ListSecurityProfileRevisions.
5030
+ class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse
5031
+ include Google::Apis::Core::Hashable
5032
+
5033
+ # A token that can be sent as `page_token` to retrieve the next page. If this
5034
+ # field is omitted, there are no subsequent pages.
5035
+ # Corresponds to the JSON property `nextPageToken`
5036
+ # @return [String]
5037
+ attr_accessor :next_page_token
5038
+
5039
+ # List of security profile revisions. The revisions may be attached or
5040
+ # unattached to any environment.
5041
+ # Corresponds to the JSON property `securityProfiles`
5042
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile>]
5043
+ attr_accessor :security_profiles
5044
+
5045
+ def initialize(**args)
5046
+ update!(**args)
5047
+ end
5048
+
5049
+ # Update properties of this object
5050
+ def update!(**args)
5051
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5052
+ @security_profiles = args[:security_profiles] if args.key?(:security_profiles)
5053
+ end
5054
+ end
5055
+
5056
+ # Response for ListSecurityProfiles.
5057
+ class GoogleCloudApigeeV1ListSecurityProfilesResponse
5058
+ include Google::Apis::Core::Hashable
5059
+
5060
+ # A token that can be sent as `page_token` to retrieve the next page. If this
5061
+ # field is omitted, there are no subsequent pages.
5062
+ # Corresponds to the JSON property `nextPageToken`
5063
+ # @return [String]
5064
+ attr_accessor :next_page_token
5065
+
5066
+ # List of security profiles in the organization. The profiles may be attached or
5067
+ # unattached to any environment. This will return latest revision of each
5068
+ # profile.
5069
+ # Corresponds to the JSON property `securityProfiles`
5070
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile>]
5071
+ attr_accessor :security_profiles
5072
+
5073
+ def initialize(**args)
5074
+ update!(**args)
5075
+ end
5076
+
5077
+ # Update properties of this object
5078
+ def update!(**args)
5079
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5080
+ @security_profiles = args[:security_profiles] if args.key?(:security_profiles)
5081
+ end
5082
+ end
5083
+
5084
+ # The response for SecurityReports.
5085
+ class GoogleCloudApigeeV1ListSecurityReportsResponse
5086
+ include Google::Apis::Core::Hashable
5087
+
5088
+ # If the number of security reports exceeded the page size requested, the token
5089
+ # can be used to fetch the next page in a subsequent call. If the response is
5090
+ # the last page and there are no more reports to return this field is left empty.
5091
+ # Corresponds to the JSON property `nextPageToken`
5092
+ # @return [String]
5093
+ attr_accessor :next_page_token
5094
+
5095
+ # The security reports belong to requested resource name.
5096
+ # Corresponds to the JSON property `securityReports`
5097
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport>]
5098
+ attr_accessor :security_reports
5099
+
5100
+ def initialize(**args)
5101
+ update!(**args)
5102
+ end
5103
+
5104
+ # Update properties of this object
5105
+ def update!(**args)
5106
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5107
+ @security_reports = args[:security_reports] if args.key?(:security_reports)
5108
+ end
5109
+ end
5110
+
4885
5111
  # To change this message, in the same CL add a change log in go/changing-api-
4886
5112
  # proto-breaks-ui
4887
5113
  class GoogleCloudApigeeV1ListSharedFlowsResponse
@@ -6879,19 +7105,27 @@ module Google
6879
7105
  end
6880
7106
  end
6881
7107
 
6882
- #
6883
- class GoogleCloudApigeeV1ServiceIssuersMapping
7108
+ # Represents Security Score.
7109
+ class GoogleCloudApigeeV1Score
6884
7110
  include Google::Apis::Core::Hashable
6885
7111
 
6886
- # List of trusted issuer email ids.
6887
- # Corresponds to the JSON property `emailIds`
6888
- # @return [Array<String>]
6889
- attr_accessor :email_ids
7112
+ # Component is an individual security element that is scored.
7113
+ # Corresponds to the JSON property `component`
7114
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponent]
7115
+ attr_accessor :component
6890
7116
 
6891
- # String indicating the Apigee service name.
6892
- # Corresponds to the JSON property `service`
6893
- # @return [String]
6894
- attr_accessor :service
7117
+ # List of all the drilldown score components.
7118
+ # Corresponds to the JSON property `subcomponents`
7119
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponent>]
7120
+ attr_accessor :subcomponents
7121
+
7122
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
7123
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
7124
+ # When the start equals the end, the interval is empty (matches no time). When
7125
+ # both start and end are unspecified, the interval matches any time.
7126
+ # Corresponds to the JSON property `timeRange`
7127
+ # @return [Google::Apis::ApigeeV1::GoogleTypeInterval]
7128
+ attr_accessor :time_range
6895
7129
 
6896
7130
  def initialize(**args)
6897
7131
  update!(**args)
@@ -6899,24 +7133,47 @@ module Google
6899
7133
 
6900
7134
  # Update properties of this object
6901
7135
  def update!(**args)
6902
- @email_ids = args[:email_ids] if args.key?(:email_ids)
6903
- @service = args[:service] if args.key?(:service)
7136
+ @component = args[:component] if args.key?(:component)
7137
+ @subcomponents = args[:subcomponents] if args.key?(:subcomponents)
7138
+ @time_range = args[:time_range] if args.key?(:time_range)
6904
7139
  end
6905
7140
  end
6906
7141
 
6907
- # Session carries the debug session id and its creation time.
6908
- class GoogleCloudApigeeV1Session
7142
+ # Component is an individual security element that is scored.
7143
+ class GoogleCloudApigeeV1ScoreComponent
6909
7144
  include Google::Apis::Core::Hashable
6910
7145
 
6911
- # The debug session ID.
6912
- # Corresponds to the JSON property `id`
7146
+ # Time when score was calculated.
7147
+ # Corresponds to the JSON property `calculateTime`
6913
7148
  # @return [String]
6914
- attr_accessor :id
7149
+ attr_accessor :calculate_time
6915
7150
 
6916
- # The first transaction creation timestamp in millisecond, recorded by UAP.
6917
- # Corresponds to the JSON property `timestampMs`
7151
+ # Time in the requested time period when data was last captured to compute the
7152
+ # score.
7153
+ # Corresponds to the JSON property `dataCaptureTime`
7154
+ # @return [String]
7155
+ attr_accessor :data_capture_time
7156
+
7157
+ # List of paths for next components.
7158
+ # Corresponds to the JSON property `drilldownPaths`
7159
+ # @return [Array<String>]
7160
+ attr_accessor :drilldown_paths
7161
+
7162
+ # List of recommendations to improve API security.
7163
+ # Corresponds to the JSON property `recommendations`
7164
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendation>]
7165
+ attr_accessor :recommendations
7166
+
7167
+ # Score for the component.
7168
+ # Corresponds to the JSON property `score`
6918
7169
  # @return [Fixnum]
6919
- attr_accessor :timestamp_ms
7170
+ attr_accessor :score
7171
+
7172
+ # Path of the component. Example: /org@myorg/envgroup@myenvgroup/proxies/proxy@
7173
+ # myproxy
7174
+ # Corresponds to the JSON property `scorePath`
7175
+ # @return [String]
7176
+ attr_accessor :score_path
6920
7177
 
6921
7178
  def initialize(**args)
6922
7179
  update!(**args)
@@ -6924,19 +7181,39 @@ module Google
6924
7181
 
6925
7182
  # Update properties of this object
6926
7183
  def update!(**args)
6927
- @id = args[:id] if args.key?(:id)
6928
- @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms)
7184
+ @calculate_time = args[:calculate_time] if args.key?(:calculate_time)
7185
+ @data_capture_time = args[:data_capture_time] if args.key?(:data_capture_time)
7186
+ @drilldown_paths = args[:drilldown_paths] if args.key?(:drilldown_paths)
7187
+ @recommendations = args[:recommendations] if args.key?(:recommendations)
7188
+ @score = args[:score] if args.key?(:score)
7189
+ @score_path = args[:score_path] if args.key?(:score_path)
6929
7190
  end
6930
7191
  end
6931
7192
 
6932
- # Request for SetAddons.
6933
- class GoogleCloudApigeeV1SetAddonsRequest
7193
+ # Recommendation based on security concerns and score.
7194
+ class GoogleCloudApigeeV1ScoreComponentRecommendation
6934
7195
  include Google::Apis::Core::Hashable
6935
7196
 
6936
- # Add-on configurations for the Apigee organization.
6937
- # Corresponds to the JSON property `addonsConfig`
6938
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
6939
- attr_accessor :addons_config
7197
+ # Actions for the recommendation to improve the security score.
7198
+ # Corresponds to the JSON property `actions`
7199
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendationAction>]
7200
+ attr_accessor :actions
7201
+
7202
+ # Description of the recommendation.
7203
+ # Corresponds to the JSON property `description`
7204
+ # @return [String]
7205
+ attr_accessor :description
7206
+
7207
+ # Potential impact of this recommendation on the overall score. This denotes how
7208
+ # important this recommendation is to improve the score.
7209
+ # Corresponds to the JSON property `impact`
7210
+ # @return [Fixnum]
7211
+ attr_accessor :impact
7212
+
7213
+ # Title represents recommendation title.
7214
+ # Corresponds to the JSON property `title`
7215
+ # @return [String]
7216
+ attr_accessor :title
6940
7217
 
6941
7218
  def initialize(**args)
6942
7219
  update!(**args)
@@ -6944,33 +7221,26 @@ module Google
6944
7221
 
6945
7222
  # Update properties of this object
6946
7223
  def update!(**args)
6947
- @addons_config = args[:addons_config] if args.key?(:addons_config)
7224
+ @actions = args[:actions] if args.key?(:actions)
7225
+ @description = args[:description] if args.key?(:description)
7226
+ @impact = args[:impact] if args.key?(:impact)
7227
+ @title = args[:title] if args.key?(:title)
6948
7228
  end
6949
7229
  end
6950
7230
 
6951
- # The metadata describing a shared flow
6952
- class GoogleCloudApigeeV1SharedFlow
7231
+ # Action to improve security score.
7232
+ class GoogleCloudApigeeV1ScoreComponentRecommendationAction
6953
7233
  include Google::Apis::Core::Hashable
6954
7234
 
6955
- # The id of the most recently created revision for this shared flow.
6956
- # Corresponds to the JSON property `latestRevisionId`
6957
- # @return [String]
6958
- attr_accessor :latest_revision_id
6959
-
6960
- # Metadata common to many entities in this API.
6961
- # Corresponds to the JSON property `metaData`
6962
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata]
6963
- attr_accessor :meta_data
7235
+ # Action context are all the relevant details for the action.
7236
+ # Corresponds to the JSON property `actionContext`
7237
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendationActionActionContext]
7238
+ attr_accessor :action_context
6964
7239
 
6965
- # The ID of the shared flow.
6966
- # Corresponds to the JSON property `name`
7240
+ # Description of the action.
7241
+ # Corresponds to the JSON property `description`
6967
7242
  # @return [String]
6968
- attr_accessor :name
6969
-
6970
- # A list of revisions of this shared flow.
6971
- # Corresponds to the JSON property `revision`
6972
- # @return [Array<String>]
6973
- attr_accessor :revision
7243
+ attr_accessor :description
6974
7244
 
6975
7245
  def initialize(**args)
6976
7246
  update!(**args)
@@ -6978,64 +7248,713 @@ module Google
6978
7248
 
6979
7249
  # Update properties of this object
6980
7250
  def update!(**args)
6981
- @latest_revision_id = args[:latest_revision_id] if args.key?(:latest_revision_id)
6982
- @meta_data = args[:meta_data] if args.key?(:meta_data)
6983
- @name = args[:name] if args.key?(:name)
6984
- @revision = args[:revision] if args.key?(:revision)
7251
+ @action_context = args[:action_context] if args.key?(:action_context)
7252
+ @description = args[:description] if args.key?(:description)
6985
7253
  end
6986
7254
  end
6987
7255
 
6988
- # The metadata describing a shared flow revision.
6989
- class GoogleCloudApigeeV1SharedFlowRevision
7256
+ # Action context are all the relevant details for the action.
7257
+ class GoogleCloudApigeeV1ScoreComponentRecommendationActionActionContext
6990
7258
  include Google::Apis::Core::Hashable
6991
7259
 
6992
- # Version of the API proxy configuration schema. Currently, only 4.0 is
6993
- # supported.
6994
- # Corresponds to the JSON property `configurationVersion`
6995
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion]
6996
- attr_accessor :configuration_version
6997
-
6998
- # A textual description of the shared flow revision.
6999
- # Corresponds to the JSON property `contextInfo`
7260
+ # Documentation link for the action.
7261
+ # Corresponds to the JSON property `documentationLink`
7000
7262
  # @return [String]
7001
- attr_accessor :context_info
7263
+ attr_accessor :documentation_link
7002
7264
 
7003
- # Time at which this shared flow revision was created, in milliseconds since
7004
- # epoch.
7005
- # Corresponds to the JSON property `createdAt`
7006
- # @return [Fixnum]
7007
- attr_accessor :created_at
7265
+ def initialize(**args)
7266
+ update!(**args)
7267
+ end
7008
7268
 
7009
- # Description of the shared flow revision.
7010
- # Corresponds to the JSON property `description`
7011
- # @return [String]
7012
- attr_accessor :description
7269
+ # Update properties of this object
7270
+ def update!(**args)
7271
+ @documentation_link = args[:documentation_link] if args.key?(:documentation_link)
7272
+ end
7273
+ end
7013
7274
 
7014
- # The human readable name of this shared flow.
7275
+ # Represents a SecurityProfile resource.
7276
+ class GoogleCloudApigeeV1SecurityProfile
7277
+ include Google::Apis::Core::Hashable
7278
+
7279
+ # Display name of the security profile.
7015
7280
  # Corresponds to the JSON property `displayName`
7016
7281
  # @return [String]
7017
7282
  attr_accessor :display_name
7018
7283
 
7019
- # A Key-Value map of metadata about this shared flow revision.
7020
- # Corresponds to the JSON property `entityMetaDataAsProperties`
7021
- # @return [Hash<String,String>]
7022
- attr_accessor :entity_meta_data_as_properties
7284
+ # List of environments attached to security profile.
7285
+ # Corresponds to the JSON property `environments`
7286
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironment>]
7287
+ attr_accessor :environments
7023
7288
 
7024
- # Time at which this shared flow revision was most recently modified, in
7025
- # milliseconds since epoch.
7026
- # Corresponds to the JSON property `lastModifiedAt`
7289
+ # Output only. Maximum security score that can be generated by this profile.
7290
+ # Corresponds to the JSON property `maxScore`
7027
7291
  # @return [Fixnum]
7028
- attr_accessor :last_modified_at
7292
+ attr_accessor :max_score
7029
7293
 
7030
- # The resource ID of the parent shared flow.
7294
+ # Output only. Minimum security score that can be generated by this profile.
7295
+ # Corresponds to the JSON property `minScore`
7296
+ # @return [Fixnum]
7297
+ attr_accessor :min_score
7298
+
7299
+ # Immutable. Name of the security profile resource. Format: organizations/`org`/
7300
+ # securityProfiles/`profile`
7031
7301
  # Corresponds to the JSON property `name`
7032
7302
  # @return [String]
7033
7303
  attr_accessor :name
7034
7304
 
7035
- # A list of policy names included in this shared flow revision.
7036
- # Corresponds to the JSON property `policies`
7037
- # @return [Array<String>]
7038
- attr_accessor :policies
7305
+ # Output only. The time when revision was created.
7306
+ # Corresponds to the JSON property `revisionCreateTime`
7307
+ # @return [String]
7308
+ attr_accessor :revision_create_time
7309
+
7310
+ # Output only. Revision ID of the security profile.
7311
+ # Corresponds to the JSON property `revisionId`
7312
+ # @return [Fixnum]
7313
+ attr_accessor :revision_id
7314
+
7315
+ # Output only. The time when revision was published. Once published, the
7316
+ # security profile revision cannot be updated further and can be attached to
7317
+ # environments.
7318
+ # Corresponds to the JSON property `revisionPublishTime`
7319
+ # @return [String]
7320
+ attr_accessor :revision_publish_time
7321
+
7322
+ # Output only. The time when revision was updated.
7323
+ # Corresponds to the JSON property `revisionUpdateTime`
7324
+ # @return [String]
7325
+ attr_accessor :revision_update_time
7326
+
7327
+ # List of profile scoring configs in this revision.
7328
+ # Corresponds to the JSON property `scoringConfigs`
7329
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileScoringConfig>]
7330
+ attr_accessor :scoring_configs
7331
+
7332
+ def initialize(**args)
7333
+ update!(**args)
7334
+ end
7335
+
7336
+ # Update properties of this object
7337
+ def update!(**args)
7338
+ @display_name = args[:display_name] if args.key?(:display_name)
7339
+ @environments = args[:environments] if args.key?(:environments)
7340
+ @max_score = args[:max_score] if args.key?(:max_score)
7341
+ @min_score = args[:min_score] if args.key?(:min_score)
7342
+ @name = args[:name] if args.key?(:name)
7343
+ @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
7344
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
7345
+ @revision_publish_time = args[:revision_publish_time] if args.key?(:revision_publish_time)
7346
+ @revision_update_time = args[:revision_update_time] if args.key?(:revision_update_time)
7347
+ @scoring_configs = args[:scoring_configs] if args.key?(:scoring_configs)
7348
+ end
7349
+ end
7350
+
7351
+ # Environment information of attached environments. Scoring an environment is
7352
+ # enabled only if it is attached to a security profile.
7353
+ class GoogleCloudApigeeV1SecurityProfileEnvironment
7354
+ include Google::Apis::Core::Hashable
7355
+
7356
+ # Output only. Time at which environment was attached to the security profile.
7357
+ # Corresponds to the JSON property `attachTime`
7358
+ # @return [String]
7359
+ attr_accessor :attach_time
7360
+
7361
+ # Output only. Name of the environment.
7362
+ # Corresponds to the JSON property `environment`
7363
+ # @return [String]
7364
+ attr_accessor :environment
7365
+
7366
+ def initialize(**args)
7367
+ update!(**args)
7368
+ end
7369
+
7370
+ # Update properties of this object
7371
+ def update!(**args)
7372
+ @attach_time = args[:attach_time] if args.key?(:attach_time)
7373
+ @environment = args[:environment] if args.key?(:environment)
7374
+ end
7375
+ end
7376
+
7377
+ # Represents a SecurityProfileEnvironmentAssociation resource.
7378
+ class GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation
7379
+ include Google::Apis::Core::Hashable
7380
+
7381
+ # Output only. The time when environment was attached to the security profile.
7382
+ # Corresponds to the JSON property `attachTime`
7383
+ # @return [String]
7384
+ attr_accessor :attach_time
7385
+
7386
+ # Immutable. Name of the profile-environment association resource. Format:
7387
+ # organizations/`org`/securityProfiles/`profile`/environments/`env`
7388
+ # Corresponds to the JSON property `name`
7389
+ # @return [String]
7390
+ attr_accessor :name
7391
+
7392
+ # Revision ID of the security profile.
7393
+ # Corresponds to the JSON property `securityProfileRevisionId`
7394
+ # @return [Fixnum]
7395
+ attr_accessor :security_profile_revision_id
7396
+
7397
+ def initialize(**args)
7398
+ update!(**args)
7399
+ end
7400
+
7401
+ # Update properties of this object
7402
+ def update!(**args)
7403
+ @attach_time = args[:attach_time] if args.key?(:attach_time)
7404
+ @name = args[:name] if args.key?(:name)
7405
+ @security_profile_revision_id = args[:security_profile_revision_id] if args.key?(:security_profile_revision_id)
7406
+ end
7407
+ end
7408
+
7409
+ # Security configurations to manage scoring.
7410
+ class GoogleCloudApigeeV1SecurityProfileScoringConfig
7411
+ include Google::Apis::Core::Hashable
7412
+
7413
+ # Description of the config.
7414
+ # Corresponds to the JSON property `description`
7415
+ # @return [String]
7416
+ attr_accessor :description
7417
+
7418
+ # Path of the component config used for scoring.
7419
+ # Corresponds to the JSON property `scorePath`
7420
+ # @return [String]
7421
+ attr_accessor :score_path
7422
+
7423
+ # Title of the config.
7424
+ # Corresponds to the JSON property `title`
7425
+ # @return [String]
7426
+ attr_accessor :title
7427
+
7428
+ def initialize(**args)
7429
+ update!(**args)
7430
+ end
7431
+
7432
+ # Update properties of this object
7433
+ def update!(**args)
7434
+ @description = args[:description] if args.key?(:description)
7435
+ @score_path = args[:score_path] if args.key?(:score_path)
7436
+ @title = args[:title] if args.key?(:title)
7437
+ end
7438
+ end
7439
+
7440
+ # SecurityReport saves all the information about the created security report.
7441
+ class GoogleCloudApigeeV1SecurityReport
7442
+ include Google::Apis::Core::Hashable
7443
+
7444
+ # Creation time of the query.
7445
+ # Corresponds to the JSON property `created`
7446
+ # @return [String]
7447
+ attr_accessor :created
7448
+
7449
+ # Display Name specified by the user.
7450
+ # Corresponds to the JSON property `displayName`
7451
+ # @return [String]
7452
+ attr_accessor :display_name
7453
+
7454
+ # Hostname is available only when query is executed at host level.
7455
+ # Corresponds to the JSON property `envgroupHostname`
7456
+ # @return [String]
7457
+ attr_accessor :envgroup_hostname
7458
+
7459
+ # Error is set when query fails.
7460
+ # Corresponds to the JSON property `error`
7461
+ # @return [String]
7462
+ attr_accessor :error
7463
+
7464
+ # ExecutionTime is available only after the query is completed.
7465
+ # Corresponds to the JSON property `executionTime`
7466
+ # @return [String]
7467
+ attr_accessor :execution_time
7468
+
7469
+ # Metadata for the security report.
7470
+ # Corresponds to the JSON property `queryParams`
7471
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportMetadata]
7472
+ attr_accessor :query_params
7473
+
7474
+ # Report Definition ID.
7475
+ # Corresponds to the JSON property `reportDefinitionId`
7476
+ # @return [String]
7477
+ attr_accessor :report_definition_id
7478
+
7479
+ # Contains informations about the security report results.
7480
+ # Corresponds to the JSON property `result`
7481
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultMetadata]
7482
+ attr_accessor :result
7483
+
7484
+ # ResultFileSize is available only after the query is completed.
7485
+ # Corresponds to the JSON property `resultFileSize`
7486
+ # @return [String]
7487
+ attr_accessor :result_file_size
7488
+
7489
+ # ResultRows is available only after the query is completed.
7490
+ # Corresponds to the JSON property `resultRows`
7491
+ # @return [Fixnum]
7492
+ attr_accessor :result_rows
7493
+
7494
+ # Self link of the query. Example: `/organizations/myorg/environments/myenv/
7495
+ # securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd` or following format if
7496
+ # query is running at host level: `/organizations/myorg/hostSecurityReports/
7497
+ # 9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`
7498
+ # Corresponds to the JSON property `self`
7499
+ # @return [String]
7500
+ attr_accessor :self
7501
+
7502
+ # Query state could be "enqueued", "running", "completed", "failed".
7503
+ # Corresponds to the JSON property `state`
7504
+ # @return [String]
7505
+ attr_accessor :state
7506
+
7507
+ # Output only. Last updated timestamp for the query.
7508
+ # Corresponds to the JSON property `updated`
7509
+ # @return [String]
7510
+ attr_accessor :updated
7511
+
7512
+ def initialize(**args)
7513
+ update!(**args)
7514
+ end
7515
+
7516
+ # Update properties of this object
7517
+ def update!(**args)
7518
+ @created = args[:created] if args.key?(:created)
7519
+ @display_name = args[:display_name] if args.key?(:display_name)
7520
+ @envgroup_hostname = args[:envgroup_hostname] if args.key?(:envgroup_hostname)
7521
+ @error = args[:error] if args.key?(:error)
7522
+ @execution_time = args[:execution_time] if args.key?(:execution_time)
7523
+ @query_params = args[:query_params] if args.key?(:query_params)
7524
+ @report_definition_id = args[:report_definition_id] if args.key?(:report_definition_id)
7525
+ @result = args[:result] if args.key?(:result)
7526
+ @result_file_size = args[:result_file_size] if args.key?(:result_file_size)
7527
+ @result_rows = args[:result_rows] if args.key?(:result_rows)
7528
+ @self = args[:self] if args.key?(:self)
7529
+ @state = args[:state] if args.key?(:state)
7530
+ @updated = args[:updated] if args.key?(:updated)
7531
+ end
7532
+ end
7533
+
7534
+ # Metadata for the security report.
7535
+ class GoogleCloudApigeeV1SecurityReportMetadata
7536
+ include Google::Apis::Core::Hashable
7537
+
7538
+ # Dimensions of the SecurityReport.
7539
+ # Corresponds to the JSON property `dimensions`
7540
+ # @return [Array<String>]
7541
+ attr_accessor :dimensions
7542
+
7543
+ # End timestamp of the query range.
7544
+ # Corresponds to the JSON property `endTimestamp`
7545
+ # @return [String]
7546
+ attr_accessor :end_timestamp
7547
+
7548
+ # Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:
7549
+ # sum_bot_count"]
7550
+ # Corresponds to the JSON property `metrics`
7551
+ # @return [Array<String>]
7552
+ attr_accessor :metrics
7553
+
7554
+ # MIME type / Output format.
7555
+ # Corresponds to the JSON property `mimeType`
7556
+ # @return [String]
7557
+ attr_accessor :mime_type
7558
+
7559
+ # Start timestamp of the query range.
7560
+ # Corresponds to the JSON property `startTimestamp`
7561
+ # @return [String]
7562
+ attr_accessor :start_timestamp
7563
+
7564
+ # Query GroupBy time unit. Example: "seconds", "minute", "hour"
7565
+ # Corresponds to the JSON property `timeUnit`
7566
+ # @return [String]
7567
+ attr_accessor :time_unit
7568
+
7569
+ def initialize(**args)
7570
+ update!(**args)
7571
+ end
7572
+
7573
+ # Update properties of this object
7574
+ def update!(**args)
7575
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
7576
+ @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
7577
+ @metrics = args[:metrics] if args.key?(:metrics)
7578
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
7579
+ @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
7580
+ @time_unit = args[:time_unit] if args.key?(:time_unit)
7581
+ end
7582
+ end
7583
+
7584
+ # Body structure when user makes a request to create a security report.
7585
+ class GoogleCloudApigeeV1SecurityReportQuery
7586
+ include Google::Apis::Core::Hashable
7587
+
7588
+ # Delimiter used in the CSV file, if `outputFormat` is set to `csv`. Defaults to
7589
+ # the `,` (comma) character. Supported delimiter characters include comma (`,`),
7590
+ # pipe (`|`), and tab (`\t`).
7591
+ # Corresponds to the JSON property `csvDelimiter`
7592
+ # @return [String]
7593
+ attr_accessor :csv_delimiter
7594
+
7595
+ # A list of dimensions. https://docs.apigee.com/api-platform/analytics/analytics-
7596
+ # reference#dimensions
7597
+ # Corresponds to the JSON property `dimensions`
7598
+ # @return [Array<String>]
7599
+ attr_accessor :dimensions
7600
+
7601
+ # Security Report display name which users can specify.
7602
+ # Corresponds to the JSON property `displayName`
7603
+ # @return [String]
7604
+ attr_accessor :display_name
7605
+
7606
+ # Hostname needs to be specified if query intends to run at host level. This
7607
+ # field is only allowed when query is submitted by CreateHostSecurityReport
7608
+ # where analytics data will be grouped by organization and hostname.
7609
+ # Corresponds to the JSON property `envgroupHostname`
7610
+ # @return [String]
7611
+ attr_accessor :envgroup_hostname
7612
+
7613
+ # Boolean expression that can be used to filter data. Filter expressions can be
7614
+ # combined using AND/OR terms and should be fully parenthesized to avoid
7615
+ # ambiguity. See Analytics metrics, dimensions, and filters reference https://
7616
+ # docs.apigee.com/api-platform/analytics/analytics-reference for more
7617
+ # information on the fields available to filter on. For more information on the
7618
+ # tokens that you use to build filter expressions, see Filter expression syntax.
7619
+ # https://docs.apigee.com/api-platform/analytics/asynch-reports-api#filter-
7620
+ # expression-syntax
7621
+ # Corresponds to the JSON property `filter`
7622
+ # @return [String]
7623
+ attr_accessor :filter
7624
+
7625
+ # Time unit used to group the result set. Valid values include: second, minute,
7626
+ # hour, day, week, or month. If a query includes groupByTimeUnit, then the
7627
+ # result is an aggregation based on the specified time unit and the resultant
7628
+ # timestamp does not include milliseconds precision. If a query omits
7629
+ # groupByTimeUnit, then the resultant timestamp includes milliseconds precision.
7630
+ # Corresponds to the JSON property `groupByTimeUnit`
7631
+ # @return [String]
7632
+ attr_accessor :group_by_time_unit
7633
+
7634
+ # Maximum number of rows that can be returned in the result.
7635
+ # Corresponds to the JSON property `limit`
7636
+ # @return [Fixnum]
7637
+ attr_accessor :limit
7638
+
7639
+ # A list of Metrics.
7640
+ # Corresponds to the JSON property `metrics`
7641
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportQueryMetric>]
7642
+ attr_accessor :metrics
7643
+
7644
+ # Valid values include: `csv` or `json`. Defaults to `json`. Note: Configure the
7645
+ # delimiter for CSV output using the csvDelimiter property.
7646
+ # Corresponds to the JSON property `mimeType`
7647
+ # @return [String]
7648
+ attr_accessor :mime_type
7649
+
7650
+ # Report Definition ID.
7651
+ # Corresponds to the JSON property `reportDefinitionId`
7652
+ # @return [String]
7653
+ attr_accessor :report_definition_id
7654
+
7655
+ # Required. Time range for the query. Can use the following predefined strings
7656
+ # to specify the time range: `last60minutes` `last24hours` `last7days` Or,
7657
+ # specify the timeRange as a structure describing start and end timestamps in
7658
+ # the ISO format: yyyy-mm-ddThh:mm:ssZ. Example: "timeRange": ` "start": "2018-
7659
+ # 07-29T00:13:00Z", "end": "2018-08-01T00:18:00Z" `
7660
+ # Corresponds to the JSON property `timeRange`
7661
+ # @return [Object]
7662
+ attr_accessor :time_range
7663
+
7664
+ def initialize(**args)
7665
+ update!(**args)
7666
+ end
7667
+
7668
+ # Update properties of this object
7669
+ def update!(**args)
7670
+ @csv_delimiter = args[:csv_delimiter] if args.key?(:csv_delimiter)
7671
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
7672
+ @display_name = args[:display_name] if args.key?(:display_name)
7673
+ @envgroup_hostname = args[:envgroup_hostname] if args.key?(:envgroup_hostname)
7674
+ @filter = args[:filter] if args.key?(:filter)
7675
+ @group_by_time_unit = args[:group_by_time_unit] if args.key?(:group_by_time_unit)
7676
+ @limit = args[:limit] if args.key?(:limit)
7677
+ @metrics = args[:metrics] if args.key?(:metrics)
7678
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
7679
+ @report_definition_id = args[:report_definition_id] if args.key?(:report_definition_id)
7680
+ @time_range = args[:time_range] if args.key?(:time_range)
7681
+ end
7682
+ end
7683
+
7684
+ # Metric of the Query
7685
+ class GoogleCloudApigeeV1SecurityReportQueryMetric
7686
+ include Google::Apis::Core::Hashable
7687
+
7688
+ # Aggregation function: avg, min, max, or sum.
7689
+ # Corresponds to the JSON property `aggregationFunction`
7690
+ # @return [String]
7691
+ attr_accessor :aggregation_function
7692
+
7693
+ # Alias for the metric. Alias will be used to replace metric name in query
7694
+ # results.
7695
+ # Corresponds to the JSON property `alias`
7696
+ # @return [String]
7697
+ attr_accessor :alias
7698
+
7699
+ # Required. Metric name.
7700
+ # Corresponds to the JSON property `name`
7701
+ # @return [String]
7702
+ attr_accessor :name
7703
+
7704
+ # One of `+`, `-`, `/`, `%`, `*`.
7705
+ # Corresponds to the JSON property `operator`
7706
+ # @return [String]
7707
+ attr_accessor :operator
7708
+
7709
+ # Operand value should be provided when operator is set.
7710
+ # Corresponds to the JSON property `value`
7711
+ # @return [String]
7712
+ attr_accessor :value
7713
+
7714
+ def initialize(**args)
7715
+ update!(**args)
7716
+ end
7717
+
7718
+ # Update properties of this object
7719
+ def update!(**args)
7720
+ @aggregation_function = args[:aggregation_function] if args.key?(:aggregation_function)
7721
+ @alias = args[:alias] if args.key?(:alias)
7722
+ @name = args[:name] if args.key?(:name)
7723
+ @operator = args[:operator] if args.key?(:operator)
7724
+ @value = args[:value] if args.key?(:value)
7725
+ end
7726
+ end
7727
+
7728
+ # Contains informations about the security report results.
7729
+ class GoogleCloudApigeeV1SecurityReportResultMetadata
7730
+ include Google::Apis::Core::Hashable
7731
+
7732
+ # Output only. Expire_time is set to 7 days after report creation. Query result
7733
+ # will be unaccessable after this time. Example: "2021-05-04T13:38:52-07:00"
7734
+ # Corresponds to the JSON property `expires`
7735
+ # @return [String]
7736
+ attr_accessor :expires
7737
+
7738
+ # Self link of the query results. Example: `/organizations/myorg/environments/
7739
+ # myenv/securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result` or
7740
+ # following format if query is running at host level: `/organizations/myorg/
7741
+ # hostSecurityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result`
7742
+ # Corresponds to the JSON property `self`
7743
+ # @return [String]
7744
+ attr_accessor :self
7745
+
7746
+ def initialize(**args)
7747
+ update!(**args)
7748
+ end
7749
+
7750
+ # Update properties of this object
7751
+ def update!(**args)
7752
+ @expires = args[:expires] if args.key?(:expires)
7753
+ @self = args[:self] if args.key?(:self)
7754
+ end
7755
+ end
7756
+
7757
+ # The response for security report result view APIs.
7758
+ class GoogleCloudApigeeV1SecurityReportResultView
7759
+ include Google::Apis::Core::Hashable
7760
+
7761
+ # Error code when there is a failure.
7762
+ # Corresponds to the JSON property `code`
7763
+ # @return [Fixnum]
7764
+ attr_accessor :code
7765
+
7766
+ # Error message when there is a failure.
7767
+ # Corresponds to the JSON property `error`
7768
+ # @return [String]
7769
+ attr_accessor :error
7770
+
7771
+ # Metadata for the security report.
7772
+ # Corresponds to the JSON property `metadata`
7773
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportMetadata]
7774
+ attr_accessor :metadata
7775
+
7776
+ # Rows of security report result. Each row is a JSON object. Example: `sum(
7777
+ # message_count): 1, developer_app: "(not set)",…`
7778
+ # Corresponds to the JSON property `rows`
7779
+ # @return [Array<Object>]
7780
+ attr_accessor :rows
7781
+
7782
+ # State of retrieving ResultView.
7783
+ # Corresponds to the JSON property `state`
7784
+ # @return [String]
7785
+ attr_accessor :state
7786
+
7787
+ def initialize(**args)
7788
+ update!(**args)
7789
+ end
7790
+
7791
+ # Update properties of this object
7792
+ def update!(**args)
7793
+ @code = args[:code] if args.key?(:code)
7794
+ @error = args[:error] if args.key?(:error)
7795
+ @metadata = args[:metadata] if args.key?(:metadata)
7796
+ @rows = args[:rows] if args.key?(:rows)
7797
+ @state = args[:state] if args.key?(:state)
7798
+ end
7799
+ end
7800
+
7801
+ #
7802
+ class GoogleCloudApigeeV1ServiceIssuersMapping
7803
+ include Google::Apis::Core::Hashable
7804
+
7805
+ # List of trusted issuer email ids.
7806
+ # Corresponds to the JSON property `emailIds`
7807
+ # @return [Array<String>]
7808
+ attr_accessor :email_ids
7809
+
7810
+ # String indicating the Apigee service name.
7811
+ # Corresponds to the JSON property `service`
7812
+ # @return [String]
7813
+ attr_accessor :service
7814
+
7815
+ def initialize(**args)
7816
+ update!(**args)
7817
+ end
7818
+
7819
+ # Update properties of this object
7820
+ def update!(**args)
7821
+ @email_ids = args[:email_ids] if args.key?(:email_ids)
7822
+ @service = args[:service] if args.key?(:service)
7823
+ end
7824
+ end
7825
+
7826
+ # Session carries the debug session id and its creation time.
7827
+ class GoogleCloudApigeeV1Session
7828
+ include Google::Apis::Core::Hashable
7829
+
7830
+ # The debug session ID.
7831
+ # Corresponds to the JSON property `id`
7832
+ # @return [String]
7833
+ attr_accessor :id
7834
+
7835
+ # The first transaction creation timestamp in millisecond, recorded by UAP.
7836
+ # Corresponds to the JSON property `timestampMs`
7837
+ # @return [Fixnum]
7838
+ attr_accessor :timestamp_ms
7839
+
7840
+ def initialize(**args)
7841
+ update!(**args)
7842
+ end
7843
+
7844
+ # Update properties of this object
7845
+ def update!(**args)
7846
+ @id = args[:id] if args.key?(:id)
7847
+ @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms)
7848
+ end
7849
+ end
7850
+
7851
+ # Request for SetAddons.
7852
+ class GoogleCloudApigeeV1SetAddonsRequest
7853
+ include Google::Apis::Core::Hashable
7854
+
7855
+ # Add-on configurations for the Apigee organization.
7856
+ # Corresponds to the JSON property `addonsConfig`
7857
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
7858
+ attr_accessor :addons_config
7859
+
7860
+ def initialize(**args)
7861
+ update!(**args)
7862
+ end
7863
+
7864
+ # Update properties of this object
7865
+ def update!(**args)
7866
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
7867
+ end
7868
+ end
7869
+
7870
+ # The metadata describing a shared flow
7871
+ class GoogleCloudApigeeV1SharedFlow
7872
+ include Google::Apis::Core::Hashable
7873
+
7874
+ # The id of the most recently created revision for this shared flow.
7875
+ # Corresponds to the JSON property `latestRevisionId`
7876
+ # @return [String]
7877
+ attr_accessor :latest_revision_id
7878
+
7879
+ # Metadata common to many entities in this API.
7880
+ # Corresponds to the JSON property `metaData`
7881
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata]
7882
+ attr_accessor :meta_data
7883
+
7884
+ # The ID of the shared flow.
7885
+ # Corresponds to the JSON property `name`
7886
+ # @return [String]
7887
+ attr_accessor :name
7888
+
7889
+ # A list of revisions of this shared flow.
7890
+ # Corresponds to the JSON property `revision`
7891
+ # @return [Array<String>]
7892
+ attr_accessor :revision
7893
+
7894
+ def initialize(**args)
7895
+ update!(**args)
7896
+ end
7897
+
7898
+ # Update properties of this object
7899
+ def update!(**args)
7900
+ @latest_revision_id = args[:latest_revision_id] if args.key?(:latest_revision_id)
7901
+ @meta_data = args[:meta_data] if args.key?(:meta_data)
7902
+ @name = args[:name] if args.key?(:name)
7903
+ @revision = args[:revision] if args.key?(:revision)
7904
+ end
7905
+ end
7906
+
7907
+ # The metadata describing a shared flow revision.
7908
+ class GoogleCloudApigeeV1SharedFlowRevision
7909
+ include Google::Apis::Core::Hashable
7910
+
7911
+ # Version of the API proxy configuration schema. Currently, only 4.0 is
7912
+ # supported.
7913
+ # Corresponds to the JSON property `configurationVersion`
7914
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion]
7915
+ attr_accessor :configuration_version
7916
+
7917
+ # A textual description of the shared flow revision.
7918
+ # Corresponds to the JSON property `contextInfo`
7919
+ # @return [String]
7920
+ attr_accessor :context_info
7921
+
7922
+ # Time at which this shared flow revision was created, in milliseconds since
7923
+ # epoch.
7924
+ # Corresponds to the JSON property `createdAt`
7925
+ # @return [Fixnum]
7926
+ attr_accessor :created_at
7927
+
7928
+ # Description of the shared flow revision.
7929
+ # Corresponds to the JSON property `description`
7930
+ # @return [String]
7931
+ attr_accessor :description
7932
+
7933
+ # The human readable name of this shared flow.
7934
+ # Corresponds to the JSON property `displayName`
7935
+ # @return [String]
7936
+ attr_accessor :display_name
7937
+
7938
+ # A Key-Value map of metadata about this shared flow revision.
7939
+ # Corresponds to the JSON property `entityMetaDataAsProperties`
7940
+ # @return [Hash<String,String>]
7941
+ attr_accessor :entity_meta_data_as_properties
7942
+
7943
+ # Time at which this shared flow revision was most recently modified, in
7944
+ # milliseconds since epoch.
7945
+ # Corresponds to the JSON property `lastModifiedAt`
7946
+ # @return [Fixnum]
7947
+ attr_accessor :last_modified_at
7948
+
7949
+ # The resource ID of the parent shared flow.
7950
+ # Corresponds to the JSON property `name`
7951
+ # @return [String]
7952
+ attr_accessor :name
7953
+
7954
+ # A list of policy names included in this shared flow revision.
7955
+ # Corresponds to the JSON property `policies`
7956
+ # @return [Array<String>]
7957
+ attr_accessor :policies
7039
7958
 
7040
7959
  # List of resource files.
7041
7960
  # Corresponds to the JSON property `resourceFiles`
@@ -8305,6 +9224,36 @@ module Google
8305
9224
  end
8306
9225
  end
8307
9226
 
9227
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
9228
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
9229
+ # When the start equals the end, the interval is empty (matches no time). When
9230
+ # both start and end are unspecified, the interval matches any time.
9231
+ class GoogleTypeInterval
9232
+ include Google::Apis::Core::Hashable
9233
+
9234
+ # Optional. Exclusive end of the interval. If specified, a Timestamp matching
9235
+ # this interval will have to be before the end.
9236
+ # Corresponds to the JSON property `endTime`
9237
+ # @return [String]
9238
+ attr_accessor :end_time
9239
+
9240
+ # Optional. Inclusive start of the interval. If specified, a Timestamp matching
9241
+ # this interval will have to be the same or after the start.
9242
+ # Corresponds to the JSON property `startTime`
9243
+ # @return [String]
9244
+ attr_accessor :start_time
9245
+
9246
+ def initialize(**args)
9247
+ update!(**args)
9248
+ end
9249
+
9250
+ # Update properties of this object
9251
+ def update!(**args)
9252
+ @end_time = args[:end_time] if args.key?(:end_time)
9253
+ @start_time = args[:start_time] if args.key?(:start_time)
9254
+ end
9255
+ end
9256
+
8308
9257
  # Represents an amount of money with its currency type.
8309
9258
  class GoogleTypeMoney
8310
9259
  include Google::Apis::Core::Hashable