google-apis-beyondcorp_v1alpha 0.4.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +731 -23
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +276 -0
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +371 -6
- data/lib/google/apis/beyondcorp_v1alpha.rb +1 -1
- metadata +3 -3
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# Beyondcorp Enterprise provides identity and context aware access controls for
|
26
26
|
# enterprise resources and enables zero-trust access. Using the Beyondcorp
|
27
27
|
# Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity
|
28
|
-
#
|
28
|
+
# solutions.
|
29
29
|
#
|
30
30
|
# @example
|
31
31
|
# require 'google/apis/beyondcorp_v1alpha'
|
@@ -52,6 +52,188 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Gets the value for a selected particular insight based on the provided filters.
|
56
|
+
# Use the organization level path for fetching at org level and project level
|
57
|
+
# path for fetching the insight value specific to a particular project.
|
58
|
+
# @param [String] insight
|
59
|
+
# Required. The resource name of the insight using the form: `organizations/`
|
60
|
+
# organization_id`/locations/`location_id`/insights/`insight_id`` `projects/`
|
61
|
+
# project_id`/locations/`location_id`/insights/`insight_id``.
|
62
|
+
# @param [String] aggregation
|
63
|
+
# Required. Aggregation type. Available aggregation could be fetched by calling
|
64
|
+
# insight list and get APIs in `BASIC` view.
|
65
|
+
# @param [String] custom_grouping_field_filter
|
66
|
+
# Optional. Filterable parameters to be added to the grouping clause. Available
|
67
|
+
# fields could be fetched by calling insight list and get APIs in `BASIC` view. `
|
68
|
+
# =` is the only comparison operator supported. `AND` is the only logical
|
69
|
+
# operator supported. Usage: field_filter="fieldName1=fieldVal1 AND fieldName2=
|
70
|
+
# fieldVal2". NOTE: Only `AND` conditions are allowed. NOTE: Use the `
|
71
|
+
# filter_alias` from `Insight.Metadata.Field` message for the filtering the
|
72
|
+
# corresponding fields in this filter field. (These expressions are based on the
|
73
|
+
# filter language described at https://google.aip.dev/160).
|
74
|
+
# @param [Array<String>, String] custom_grouping_group_fields
|
75
|
+
# Required. Fields to be used for grouping. NOTE: Use the `filter_alias` from `
|
76
|
+
# Insight.Metadata.Field` message for declaring the fields to be grouped-by here.
|
77
|
+
# @param [String] end_time
|
78
|
+
# Required. Ending time for the duration for which insight is to be pulled.
|
79
|
+
# @param [String] field_filter
|
80
|
+
# Optional. Other filterable/configurable parameters as applicable to the
|
81
|
+
# selected insight. Available fields could be fetched by calling insight list
|
82
|
+
# and get APIs in `BASIC` view. `=` is the only comparison operator supported. `
|
83
|
+
# AND` is the only logical operator supported. Usage: field_filter="fieldName1=
|
84
|
+
# fieldVal1 AND fieldName2=fieldVal2". NOTE: Only `AND` conditions are allowed.
|
85
|
+
# NOTE: Use the `filter_alias` from `Insight.Metadata.Field` message for the
|
86
|
+
# filtering the corresponding fields in this filter field. (These expressions
|
87
|
+
# are based on the filter language described at https://google.aip.dev/160).
|
88
|
+
# @param [String] group
|
89
|
+
# Optional. Group id of the available groupings for the insight. Available
|
90
|
+
# groupings could be fetched by calling insight list and get APIs in `BASIC`
|
91
|
+
# view.
|
92
|
+
# @param [Fixnum] page_size
|
93
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
94
|
+
# If unspecified, server will pick an appropriate default.
|
95
|
+
# @param [String] page_token
|
96
|
+
# Optional. Used to fetch the page represented by the token. Fetches the first
|
97
|
+
# page when not set.
|
98
|
+
# @param [String] start_time
|
99
|
+
# Required. Starting time for the duration for which insight is to be pulled.
|
100
|
+
# @param [String] fields
|
101
|
+
# Selector specifying which fields to include in a partial response.
|
102
|
+
# @param [String] quota_user
|
103
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
104
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
105
|
+
# @param [Google::Apis::RequestOptions] options
|
106
|
+
# Request-specific options
|
107
|
+
#
|
108
|
+
# @yield [result, err] Result & error if block supplied
|
109
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse] parsed result object
|
110
|
+
# @yieldparam err [StandardError] error object if request failed
|
111
|
+
#
|
112
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse]
|
113
|
+
#
|
114
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
+
def configured_organization_location_insight_insight(insight, aggregation: nil, custom_grouping_field_filter: nil, custom_grouping_group_fields: nil, end_time: nil, field_filter: nil, group: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
command = make_simple_command(:get, 'v1alpha/{+insight}:configuredInsight', options)
|
119
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse::Representation
|
120
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse
|
121
|
+
command.params['insight'] = insight unless insight.nil?
|
122
|
+
command.query['aggregation'] = aggregation unless aggregation.nil?
|
123
|
+
command.query['customGrouping.fieldFilter'] = custom_grouping_field_filter unless custom_grouping_field_filter.nil?
|
124
|
+
command.query['customGrouping.groupFields'] = custom_grouping_group_fields unless custom_grouping_group_fields.nil?
|
125
|
+
command.query['endTime'] = end_time unless end_time.nil?
|
126
|
+
command.query['fieldFilter'] = field_filter unless field_filter.nil?
|
127
|
+
command.query['group'] = group unless group.nil?
|
128
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
129
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
130
|
+
command.query['startTime'] = start_time unless start_time.nil?
|
131
|
+
command.query['fields'] = fields unless fields.nil?
|
132
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
133
|
+
execute_or_queue_command(command, &block)
|
134
|
+
end
|
135
|
+
|
136
|
+
# Gets the value for a selected particular insight with default configuration.
|
137
|
+
# The default aggregation level is 'DAILY' and no grouping will be applied or
|
138
|
+
# default grouping if applicable. The data will be returned for recent 7 days
|
139
|
+
# starting the day before. The insight data size will be limited to 50 rows. Use
|
140
|
+
# the organization level path for fetching at org level and project level path
|
141
|
+
# for fetching the insight value specific to a particular project. Setting the `
|
142
|
+
# view` to `BASIC` will only return the metadata for the insight.
|
143
|
+
# @param [String] name
|
144
|
+
# Required. The resource name of the insight using the form: `organizations/`
|
145
|
+
# organization_id`/locations/`location_id`/insights/`insight_id`` `projects/`
|
146
|
+
# project_id`/locations/`location_id`/insights/`insight_id``
|
147
|
+
# @param [String] view
|
148
|
+
# Required. Metadata only or full data view.
|
149
|
+
# @param [String] fields
|
150
|
+
# Selector specifying which fields to include in a partial response.
|
151
|
+
# @param [String] quota_user
|
152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
154
|
+
# @param [Google::Apis::RequestOptions] options
|
155
|
+
# Request-specific options
|
156
|
+
#
|
157
|
+
# @yield [result, err] Result & error if block supplied
|
158
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight] parsed result object
|
159
|
+
# @yieldparam err [StandardError] error object if request failed
|
160
|
+
#
|
161
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight]
|
162
|
+
#
|
163
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
164
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
165
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
166
|
+
def get_organization_location_insight(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
167
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
168
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight::Representation
|
169
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight
|
170
|
+
command.params['name'] = name unless name.nil?
|
171
|
+
command.query['view'] = view unless view.nil?
|
172
|
+
command.query['fields'] = fields unless fields.nil?
|
173
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
174
|
+
execute_or_queue_command(command, &block)
|
175
|
+
end
|
176
|
+
|
177
|
+
# Lists for all the available insights that could be fetched from the system.
|
178
|
+
# Allows to filter using category. Setting the `view` to `BASIC` will let you
|
179
|
+
# iterate over the list of insight metadatas.
|
180
|
+
# @param [String] parent
|
181
|
+
# Required. The resource name of InsightMetadata using the form: `organizations/`
|
182
|
+
# organization_id`/locations/`location`` `projects/`project_id`/locations/`
|
183
|
+
# location_id``
|
184
|
+
# @param [String] filter
|
185
|
+
# Optional. Filter expression to restrict the insights returned. Supported
|
186
|
+
# filter fields: * `type` * `category` * `subCategory` Examples: * "category =
|
187
|
+
# application AND type = count" * "category = application AND subCategory = iap"
|
188
|
+
# * "type = status" Allowed values: * type: [count, latency, status, list] *
|
189
|
+
# category: [application, device, request, security] * subCategory: [iap,
|
190
|
+
# webprotect] NOTE: Only equality based comparison is allowed. Only `AND`
|
191
|
+
# conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in
|
192
|
+
# capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It
|
193
|
+
# should be passed in with the parent `category` too. (These expressions are
|
194
|
+
# based on the filter language described at https://google.aip.dev/160).
|
195
|
+
# @param [String] order_by
|
196
|
+
# Optional. Hint for how to order the results. This is currently ignored.
|
197
|
+
# @param [Fixnum] page_size
|
198
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
199
|
+
# If unspecified, server will pick an appropriate default. NOTE: Default page
|
200
|
+
# size is 50.
|
201
|
+
# @param [String] page_token
|
202
|
+
# Optional. A token identifying a page of results the server should return.
|
203
|
+
# @param [String] view
|
204
|
+
# Required. List only metadata or full data.
|
205
|
+
# @param [String] fields
|
206
|
+
# Selector specifying which fields to include in a partial response.
|
207
|
+
# @param [String] quota_user
|
208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
210
|
+
# @param [Google::Apis::RequestOptions] options
|
211
|
+
# Request-specific options
|
212
|
+
#
|
213
|
+
# @yield [result, err] Result & error if block supplied
|
214
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse] parsed result object
|
215
|
+
# @yieldparam err [StandardError] error object if request failed
|
216
|
+
#
|
217
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse]
|
218
|
+
#
|
219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
222
|
+
def list_organization_location_insights(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
223
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/insights', options)
|
224
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse::Representation
|
225
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
|
226
|
+
command.params['parent'] = parent unless parent.nil?
|
227
|
+
command.query['filter'] = filter unless filter.nil?
|
228
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
229
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
230
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
231
|
+
command.query['view'] = view unless view.nil?
|
232
|
+
command.query['fields'] = fields unless fields.nil?
|
233
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
234
|
+
execute_or_queue_command(command, &block)
|
235
|
+
end
|
236
|
+
|
55
237
|
# Gets information about a location.
|
56
238
|
# @param [String] name
|
57
239
|
# Resource name for the location.
|
@@ -851,8 +1033,8 @@ module Google
|
|
851
1033
|
execute_or_queue_command(command, &block)
|
852
1034
|
end
|
853
1035
|
|
854
|
-
#
|
855
|
-
# AppConnector to get its container config.
|
1036
|
+
# Gets instance configuration for a given AppConnector. An internal method
|
1037
|
+
# called by a AppConnector to get its container config.
|
856
1038
|
# @param [String] app_connector
|
857
1039
|
# Required. BeyondCorp AppConnector name using the form: `projects/`project_id`/
|
858
1040
|
# locations/`location_id`/appConnectors/`app_connector``
|
@@ -1624,7 +1806,8 @@ module Google
|
|
1624
1806
|
# ClientConnectorService resource by the update. The fields specified in the
|
1625
1807
|
# update_mask are relative to the resource, not the full request. A field will
|
1626
1808
|
# be overwritten if it is in the mask. If the user does not provide a mask then
|
1627
|
-
# all fields will be overwritten. Mutable fields: display_name.
|
1809
|
+
# all fields will be overwritten. Mutable fields: display_name, ingress.config.
|
1810
|
+
# destination_routes.
|
1628
1811
|
# @param [Boolean] validate_only
|
1629
1812
|
# Optional. If set, validates request by executing a dry-run which would not
|
1630
1813
|
# alter the resource in any way.
|
@@ -2757,8 +2940,8 @@ module Google
|
|
2757
2940
|
execute_or_queue_command(command, &block)
|
2758
2941
|
end
|
2759
2942
|
|
2760
|
-
#
|
2761
|
-
# connector to get its container config.
|
2943
|
+
# Gets instance configuration for a given connector. An internal method called
|
2944
|
+
# by a connector to get its container config.
|
2762
2945
|
# @param [String] connector
|
2763
2946
|
# Required. BeyondCorp Connector name using the form: `projects/`project_id`/
|
2764
2947
|
# locations/`location_id`/connectors/`connector``
|
@@ -2865,6 +3048,188 @@ module Google
|
|
2865
3048
|
execute_or_queue_command(command, &block)
|
2866
3049
|
end
|
2867
3050
|
|
3051
|
+
# Gets the value for a selected particular insight based on the provided filters.
|
3052
|
+
# Use the organization level path for fetching at org level and project level
|
3053
|
+
# path for fetching the insight value specific to a particular project.
|
3054
|
+
# @param [String] insight
|
3055
|
+
# Required. The resource name of the insight using the form: `organizations/`
|
3056
|
+
# organization_id`/locations/`location_id`/insights/`insight_id`` `projects/`
|
3057
|
+
# project_id`/locations/`location_id`/insights/`insight_id``.
|
3058
|
+
# @param [String] aggregation
|
3059
|
+
# Required. Aggregation type. Available aggregation could be fetched by calling
|
3060
|
+
# insight list and get APIs in `BASIC` view.
|
3061
|
+
# @param [String] custom_grouping_field_filter
|
3062
|
+
# Optional. Filterable parameters to be added to the grouping clause. Available
|
3063
|
+
# fields could be fetched by calling insight list and get APIs in `BASIC` view. `
|
3064
|
+
# =` is the only comparison operator supported. `AND` is the only logical
|
3065
|
+
# operator supported. Usage: field_filter="fieldName1=fieldVal1 AND fieldName2=
|
3066
|
+
# fieldVal2". NOTE: Only `AND` conditions are allowed. NOTE: Use the `
|
3067
|
+
# filter_alias` from `Insight.Metadata.Field` message for the filtering the
|
3068
|
+
# corresponding fields in this filter field. (These expressions are based on the
|
3069
|
+
# filter language described at https://google.aip.dev/160).
|
3070
|
+
# @param [Array<String>, String] custom_grouping_group_fields
|
3071
|
+
# Required. Fields to be used for grouping. NOTE: Use the `filter_alias` from `
|
3072
|
+
# Insight.Metadata.Field` message for declaring the fields to be grouped-by here.
|
3073
|
+
# @param [String] end_time
|
3074
|
+
# Required. Ending time for the duration for which insight is to be pulled.
|
3075
|
+
# @param [String] field_filter
|
3076
|
+
# Optional. Other filterable/configurable parameters as applicable to the
|
3077
|
+
# selected insight. Available fields could be fetched by calling insight list
|
3078
|
+
# and get APIs in `BASIC` view. `=` is the only comparison operator supported. `
|
3079
|
+
# AND` is the only logical operator supported. Usage: field_filter="fieldName1=
|
3080
|
+
# fieldVal1 AND fieldName2=fieldVal2". NOTE: Only `AND` conditions are allowed.
|
3081
|
+
# NOTE: Use the `filter_alias` from `Insight.Metadata.Field` message for the
|
3082
|
+
# filtering the corresponding fields in this filter field. (These expressions
|
3083
|
+
# are based on the filter language described at https://google.aip.dev/160).
|
3084
|
+
# @param [String] group
|
3085
|
+
# Optional. Group id of the available groupings for the insight. Available
|
3086
|
+
# groupings could be fetched by calling insight list and get APIs in `BASIC`
|
3087
|
+
# view.
|
3088
|
+
# @param [Fixnum] page_size
|
3089
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3090
|
+
# If unspecified, server will pick an appropriate default.
|
3091
|
+
# @param [String] page_token
|
3092
|
+
# Optional. Used to fetch the page represented by the token. Fetches the first
|
3093
|
+
# page when not set.
|
3094
|
+
# @param [String] start_time
|
3095
|
+
# Required. Starting time for the duration for which insight is to be pulled.
|
3096
|
+
# @param [String] fields
|
3097
|
+
# Selector specifying which fields to include in a partial response.
|
3098
|
+
# @param [String] quota_user
|
3099
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3101
|
+
# @param [Google::Apis::RequestOptions] options
|
3102
|
+
# Request-specific options
|
3103
|
+
#
|
3104
|
+
# @yield [result, err] Result & error if block supplied
|
3105
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse] parsed result object
|
3106
|
+
# @yieldparam err [StandardError] error object if request failed
|
3107
|
+
#
|
3108
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse]
|
3109
|
+
#
|
3110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3113
|
+
def configured_project_location_insight_insight(insight, aggregation: nil, custom_grouping_field_filter: nil, custom_grouping_group_fields: nil, end_time: nil, field_filter: nil, group: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3114
|
+
command = make_simple_command(:get, 'v1alpha/{+insight}:configuredInsight', options)
|
3115
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse::Representation
|
3116
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse
|
3117
|
+
command.params['insight'] = insight unless insight.nil?
|
3118
|
+
command.query['aggregation'] = aggregation unless aggregation.nil?
|
3119
|
+
command.query['customGrouping.fieldFilter'] = custom_grouping_field_filter unless custom_grouping_field_filter.nil?
|
3120
|
+
command.query['customGrouping.groupFields'] = custom_grouping_group_fields unless custom_grouping_group_fields.nil?
|
3121
|
+
command.query['endTime'] = end_time unless end_time.nil?
|
3122
|
+
command.query['fieldFilter'] = field_filter unless field_filter.nil?
|
3123
|
+
command.query['group'] = group unless group.nil?
|
3124
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3125
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3126
|
+
command.query['startTime'] = start_time unless start_time.nil?
|
3127
|
+
command.query['fields'] = fields unless fields.nil?
|
3128
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3129
|
+
execute_or_queue_command(command, &block)
|
3130
|
+
end
|
3131
|
+
|
3132
|
+
# Gets the value for a selected particular insight with default configuration.
|
3133
|
+
# The default aggregation level is 'DAILY' and no grouping will be applied or
|
3134
|
+
# default grouping if applicable. The data will be returned for recent 7 days
|
3135
|
+
# starting the day before. The insight data size will be limited to 50 rows. Use
|
3136
|
+
# the organization level path for fetching at org level and project level path
|
3137
|
+
# for fetching the insight value specific to a particular project. Setting the `
|
3138
|
+
# view` to `BASIC` will only return the metadata for the insight.
|
3139
|
+
# @param [String] name
|
3140
|
+
# Required. The resource name of the insight using the form: `organizations/`
|
3141
|
+
# organization_id`/locations/`location_id`/insights/`insight_id`` `projects/`
|
3142
|
+
# project_id`/locations/`location_id`/insights/`insight_id``
|
3143
|
+
# @param [String] view
|
3144
|
+
# Required. Metadata only or full data view.
|
3145
|
+
# @param [String] fields
|
3146
|
+
# Selector specifying which fields to include in a partial response.
|
3147
|
+
# @param [String] quota_user
|
3148
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3149
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3150
|
+
# @param [Google::Apis::RequestOptions] options
|
3151
|
+
# Request-specific options
|
3152
|
+
#
|
3153
|
+
# @yield [result, err] Result & error if block supplied
|
3154
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight] parsed result object
|
3155
|
+
# @yieldparam err [StandardError] error object if request failed
|
3156
|
+
#
|
3157
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight]
|
3158
|
+
#
|
3159
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3160
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3161
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3162
|
+
def get_project_location_insight(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3163
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3164
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight::Representation
|
3165
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight
|
3166
|
+
command.params['name'] = name unless name.nil?
|
3167
|
+
command.query['view'] = view unless view.nil?
|
3168
|
+
command.query['fields'] = fields unless fields.nil?
|
3169
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3170
|
+
execute_or_queue_command(command, &block)
|
3171
|
+
end
|
3172
|
+
|
3173
|
+
# Lists for all the available insights that could be fetched from the system.
|
3174
|
+
# Allows to filter using category. Setting the `view` to `BASIC` will let you
|
3175
|
+
# iterate over the list of insight metadatas.
|
3176
|
+
# @param [String] parent
|
3177
|
+
# Required. The resource name of InsightMetadata using the form: `organizations/`
|
3178
|
+
# organization_id`/locations/`location`` `projects/`project_id`/locations/`
|
3179
|
+
# location_id``
|
3180
|
+
# @param [String] filter
|
3181
|
+
# Optional. Filter expression to restrict the insights returned. Supported
|
3182
|
+
# filter fields: * `type` * `category` * `subCategory` Examples: * "category =
|
3183
|
+
# application AND type = count" * "category = application AND subCategory = iap"
|
3184
|
+
# * "type = status" Allowed values: * type: [count, latency, status, list] *
|
3185
|
+
# category: [application, device, request, security] * subCategory: [iap,
|
3186
|
+
# webprotect] NOTE: Only equality based comparison is allowed. Only `AND`
|
3187
|
+
# conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in
|
3188
|
+
# capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It
|
3189
|
+
# should be passed in with the parent `category` too. (These expressions are
|
3190
|
+
# based on the filter language described at https://google.aip.dev/160).
|
3191
|
+
# @param [String] order_by
|
3192
|
+
# Optional. Hint for how to order the results. This is currently ignored.
|
3193
|
+
# @param [Fixnum] page_size
|
3194
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3195
|
+
# If unspecified, server will pick an appropriate default. NOTE: Default page
|
3196
|
+
# size is 50.
|
3197
|
+
# @param [String] page_token
|
3198
|
+
# Optional. A token identifying a page of results the server should return.
|
3199
|
+
# @param [String] view
|
3200
|
+
# Required. List only metadata or full data.
|
3201
|
+
# @param [String] fields
|
3202
|
+
# Selector specifying which fields to include in a partial response.
|
3203
|
+
# @param [String] quota_user
|
3204
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3205
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3206
|
+
# @param [Google::Apis::RequestOptions] options
|
3207
|
+
# Request-specific options
|
3208
|
+
#
|
3209
|
+
# @yield [result, err] Result & error if block supplied
|
3210
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse] parsed result object
|
3211
|
+
# @yieldparam err [StandardError] error object if request failed
|
3212
|
+
#
|
3213
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse]
|
3214
|
+
#
|
3215
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3216
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3217
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3218
|
+
def list_project_location_insights(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3219
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/insights', options)
|
3220
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse::Representation
|
3221
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
|
3222
|
+
command.params['parent'] = parent unless parent.nil?
|
3223
|
+
command.query['filter'] = filter unless filter.nil?
|
3224
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3225
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3226
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3227
|
+
command.query['view'] = view unless view.nil?
|
3228
|
+
command.query['fields'] = fields unless fields.nil?
|
3229
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3230
|
+
execute_or_queue_command(command, &block)
|
3231
|
+
end
|
3232
|
+
|
2868
3233
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2869
3234
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2870
3235
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
# Beyondcorp Enterprise provides identity and context aware access controls for
|
25
25
|
# enterprise resources and enables zero-trust access. Using the Beyondcorp
|
26
26
|
# Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity
|
27
|
-
#
|
27
|
+
# solutions.
|
28
28
|
#
|
29
29
|
# @see https://cloud.google.com/
|
30
30
|
module BeyondcorpV1alpha
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-15 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-beyondcorp_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|