google-cloud-asset-v1 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,61 +23,61 @@ module Google
23
23
  module V1
24
24
  # Export asset request.
25
25
  # @!attribute [rw] parent
26
- # @return [String]
26
+ # @return [::String]
27
27
  # Required. The relative name of the root asset. This can only be an
28
28
  # organization number (such as "organizations/123"), a project ID (such as
29
29
  # "projects/my-project-id"), or a project number (such as "projects/12345"),
30
30
  # or a folder number (such as "folders/123").
31
31
  # @!attribute [rw] read_time
32
- # @return [Google::Protobuf::Timestamp]
32
+ # @return [::Google::Protobuf::Timestamp]
33
33
  # Timestamp to take an asset snapshot. This can only be set to a timestamp
34
34
  # between the current time and the current time minus 35 days (inclusive).
35
35
  # If not specified, the current time will be used. Due to delays in resource
36
36
  # data collection and indexing, there is a volatile window during which
37
37
  # running the same query may get different results.
38
38
  # @!attribute [rw] asset_types
39
- # @return [Array<String>]
39
+ # @return [::Array<::String>]
40
40
  # A list of asset types of which to take a snapshot for. For example:
41
41
  # "compute.googleapis.com/Disk". If specified, only matching assets will be
42
42
  # returned. See [Introduction to Cloud Asset
43
43
  # Inventory](https://cloud.google.com/asset-inventory/docs/overview)
44
44
  # for all supported asset types.
45
45
  # @!attribute [rw] content_type
46
- # @return [Google::Cloud::Asset::V1::ContentType]
46
+ # @return [::Google::Cloud::Asset::V1::ContentType]
47
47
  # Asset content type. If not specified, no content but the asset name will be
48
48
  # returned.
49
49
  # @!attribute [rw] output_config
50
- # @return [Google::Cloud::Asset::V1::OutputConfig]
50
+ # @return [::Google::Cloud::Asset::V1::OutputConfig]
51
51
  # Required. Output configuration indicating where the results will be output
52
52
  # to. All results will be in newline delimited JSON format.
53
53
  class ExportAssetsRequest
54
- include Google::Protobuf::MessageExts
55
- extend Google::Protobuf::MessageExts::ClassMethods
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
56
  end
57
57
 
58
58
  # The export asset response. This message is returned by the
59
59
  # google.longrunning.Operations.GetOperation method in the returned
60
- # {Google::Longrunning::Operation#response google.longrunning.Operation.response} field.
60
+ # {::Google::Longrunning::Operation#response google.longrunning.Operation.response} field.
61
61
  # @!attribute [rw] read_time
62
- # @return [Google::Protobuf::Timestamp]
62
+ # @return [::Google::Protobuf::Timestamp]
63
63
  # Time the snapshot was taken.
64
64
  # @!attribute [rw] output_config
65
- # @return [Google::Cloud::Asset::V1::OutputConfig]
65
+ # @return [::Google::Cloud::Asset::V1::OutputConfig]
66
66
  # Output configuration indicating where the results were output to.
67
67
  # All results are in JSON format.
68
68
  class ExportAssetsResponse
69
- include Google::Protobuf::MessageExts
70
- extend Google::Protobuf::MessageExts::ClassMethods
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
71
  end
72
72
 
73
73
  # Batch get assets history request.
74
74
  # @!attribute [rw] parent
75
- # @return [String]
75
+ # @return [::String]
76
76
  # Required. The relative name of the root asset. It can only be an
77
77
  # organization number (such as "organizations/123"), a project ID (such as
78
78
  # "projects/my-project-id")", or a project number (such as "projects/12345").
79
79
  # @!attribute [rw] asset_names
80
- # @return [Array<String>]
80
+ # @return [::Array<::String>]
81
81
  # A list of the full names of the assets. For example:
82
82
  # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
83
83
  # See [Resource
@@ -89,10 +89,10 @@ module Google
89
89
  # The request becomes a no-op if the asset name list is empty, and the max
90
90
  # size of the asset name list is 100 in one request.
91
91
  # @!attribute [rw] content_type
92
- # @return [Google::Cloud::Asset::V1::ContentType]
92
+ # @return [::Google::Cloud::Asset::V1::ContentType]
93
93
  # Optional. The content type.
94
94
  # @!attribute [rw] read_time_window
95
- # @return [Google::Cloud::Asset::V1::TimeWindow]
95
+ # @return [::Google::Cloud::Asset::V1::TimeWindow]
96
96
  # Optional. The time window for the asset history. Both start_time and
97
97
  # end_time are optional and if set, it must be after the current time minus
98
98
  # 35 days. If end_time is not set, it is default to current timestamp.
@@ -100,128 +100,128 @@ module Google
100
100
  # returned. The returned results contain all temporal assets whose time
101
101
  # window overlap with read_time_window.
102
102
  class BatchGetAssetsHistoryRequest
103
- include Google::Protobuf::MessageExts
104
- extend Google::Protobuf::MessageExts::ClassMethods
103
+ include ::Google::Protobuf::MessageExts
104
+ extend ::Google::Protobuf::MessageExts::ClassMethods
105
105
  end
106
106
 
107
107
  # Batch get assets history response.
108
108
  # @!attribute [rw] assets
109
- # @return [Array<Google::Cloud::Asset::V1::TemporalAsset>]
109
+ # @return [::Array<::Google::Cloud::Asset::V1::TemporalAsset>]
110
110
  # A list of assets with valid time windows.
111
111
  class BatchGetAssetsHistoryResponse
112
- include Google::Protobuf::MessageExts
113
- extend Google::Protobuf::MessageExts::ClassMethods
112
+ include ::Google::Protobuf::MessageExts
113
+ extend ::Google::Protobuf::MessageExts::ClassMethods
114
114
  end
115
115
 
116
116
  # Create asset feed request.
117
117
  # @!attribute [rw] parent
118
- # @return [String]
118
+ # @return [::String]
119
119
  # Required. The name of the project/folder/organization where this feed
120
120
  # should be created in. It can only be an organization number (such as
121
121
  # "organizations/123"), a folder number (such as "folders/123"), a project ID
122
122
  # (such as "projects/my-project-id")", or a project number (such as
123
123
  # "projects/12345").
124
124
  # @!attribute [rw] feed_id
125
- # @return [String]
125
+ # @return [::String]
126
126
  # Required. This is the client-assigned asset feed identifier and it needs to
127
127
  # be unique under a specific parent project/folder/organization.
128
128
  # @!attribute [rw] feed
129
- # @return [Google::Cloud::Asset::V1::Feed]
129
+ # @return [::Google::Cloud::Asset::V1::Feed]
130
130
  # Required. The feed details. The field `name` must be empty and it will be generated
131
131
  # in the format of:
132
132
  # projects/project_number/feeds/feed_id
133
133
  # folders/folder_number/feeds/feed_id
134
134
  # organizations/organization_number/feeds/feed_id
135
135
  class CreateFeedRequest
136
- include Google::Protobuf::MessageExts
137
- extend Google::Protobuf::MessageExts::ClassMethods
136
+ include ::Google::Protobuf::MessageExts
137
+ extend ::Google::Protobuf::MessageExts::ClassMethods
138
138
  end
139
139
 
140
140
  # Get asset feed request.
141
141
  # @!attribute [rw] name
142
- # @return [String]
142
+ # @return [::String]
143
143
  # Required. The name of the Feed and it must be in the format of:
144
144
  # projects/project_number/feeds/feed_id
145
145
  # folders/folder_number/feeds/feed_id
146
146
  # organizations/organization_number/feeds/feed_id
147
147
  class GetFeedRequest
148
- include Google::Protobuf::MessageExts
149
- extend Google::Protobuf::MessageExts::ClassMethods
148
+ include ::Google::Protobuf::MessageExts
149
+ extend ::Google::Protobuf::MessageExts::ClassMethods
150
150
  end
151
151
 
152
152
  # List asset feeds request.
153
153
  # @!attribute [rw] parent
154
- # @return [String]
154
+ # @return [::String]
155
155
  # Required. The parent project/folder/organization whose feeds are to be
156
156
  # listed. It can only be using project/folder/organization number (such as
157
157
  # "folders/12345")", or a project ID (such as "projects/my-project-id").
158
158
  class ListFeedsRequest
159
- include Google::Protobuf::MessageExts
160
- extend Google::Protobuf::MessageExts::ClassMethods
159
+ include ::Google::Protobuf::MessageExts
160
+ extend ::Google::Protobuf::MessageExts::ClassMethods
161
161
  end
162
162
 
163
163
  # @!attribute [rw] feeds
164
- # @return [Array<Google::Cloud::Asset::V1::Feed>]
164
+ # @return [::Array<::Google::Cloud::Asset::V1::Feed>]
165
165
  # A list of feeds.
166
166
  class ListFeedsResponse
167
- include Google::Protobuf::MessageExts
168
- extend Google::Protobuf::MessageExts::ClassMethods
167
+ include ::Google::Protobuf::MessageExts
168
+ extend ::Google::Protobuf::MessageExts::ClassMethods
169
169
  end
170
170
 
171
171
  # Update asset feed request.
172
172
  # @!attribute [rw] feed
173
- # @return [Google::Cloud::Asset::V1::Feed]
173
+ # @return [::Google::Cloud::Asset::V1::Feed]
174
174
  # Required. The new values of feed details. It must match an existing feed and the
175
175
  # field `name` must be in the format of:
176
176
  # projects/project_number/feeds/feed_id or
177
177
  # folders/folder_number/feeds/feed_id or
178
178
  # organizations/organization_number/feeds/feed_id.
179
179
  # @!attribute [rw] update_mask
180
- # @return [Google::Protobuf::FieldMask]
180
+ # @return [::Google::Protobuf::FieldMask]
181
181
  # Required. Only updates the `feed` fields indicated by this mask.
182
182
  # The field mask must not be empty, and it must not contain fields that
183
183
  # are immutable or only set by the server.
184
184
  class UpdateFeedRequest
185
- include Google::Protobuf::MessageExts
186
- extend Google::Protobuf::MessageExts::ClassMethods
185
+ include ::Google::Protobuf::MessageExts
186
+ extend ::Google::Protobuf::MessageExts::ClassMethods
187
187
  end
188
188
 
189
189
  # @!attribute [rw] name
190
- # @return [String]
190
+ # @return [::String]
191
191
  # Required. The name of the feed and it must be in the format of:
192
192
  # projects/project_number/feeds/feed_id
193
193
  # folders/folder_number/feeds/feed_id
194
194
  # organizations/organization_number/feeds/feed_id
195
195
  class DeleteFeedRequest
196
- include Google::Protobuf::MessageExts
197
- extend Google::Protobuf::MessageExts::ClassMethods
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
198
  end
199
199
 
200
200
  # Output configuration for export assets destination.
201
201
  # @!attribute [rw] gcs_destination
202
- # @return [Google::Cloud::Asset::V1::GcsDestination]
202
+ # @return [::Google::Cloud::Asset::V1::GcsDestination]
203
203
  # Destination on Cloud Storage.
204
204
  # @!attribute [rw] bigquery_destination
205
- # @return [Google::Cloud::Asset::V1::BigQueryDestination]
205
+ # @return [::Google::Cloud::Asset::V1::BigQueryDestination]
206
206
  # Destination on BigQuery. The output table stores the fields in asset
207
207
  # proto as columns in BigQuery. The resource/iam_policy field is converted
208
208
  # to a record with each field to a column, except metadata to a single JSON
209
209
  # string.
210
210
  class OutputConfig
211
- include Google::Protobuf::MessageExts
212
- extend Google::Protobuf::MessageExts::ClassMethods
211
+ include ::Google::Protobuf::MessageExts
212
+ extend ::Google::Protobuf::MessageExts::ClassMethods
213
213
  end
214
214
 
215
215
  # A Cloud Storage location.
216
216
  # @!attribute [rw] uri
217
- # @return [String]
217
+ # @return [::String]
218
218
  # The uri of the Cloud Storage object. It's the same uri that is used by
219
219
  # gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
220
220
  # Editing Object
221
221
  # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
222
222
  # for more information.
223
223
  # @!attribute [rw] uri_prefix
224
- # @return [String]
224
+ # @return [::String]
225
225
  # The uri prefix of all generated Cloud Storage objects. For example:
226
226
  # "gs://bucket_name/object_name_prefix". Each object uri is in format:
227
227
  # "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
@@ -232,50 +232,50 @@ module Google
232
232
  # returned if file with the same name "gs://bucket_name/object_name_prefix"
233
233
  # already exists.
234
234
  class GcsDestination
235
- include Google::Protobuf::MessageExts
236
- extend Google::Protobuf::MessageExts::ClassMethods
235
+ include ::Google::Protobuf::MessageExts
236
+ extend ::Google::Protobuf::MessageExts::ClassMethods
237
237
  end
238
238
 
239
239
  # A BigQuery destination.
240
240
  # @!attribute [rw] dataset
241
- # @return [String]
241
+ # @return [::String]
242
242
  # Required. The BigQuery dataset in format
243
243
  # "projects/projectId/datasets/datasetId", to which the snapshot result
244
244
  # should be exported. If this dataset does not exist, the export call returns
245
245
  # an INVALID_ARGUMENT error.
246
246
  # @!attribute [rw] table
247
- # @return [String]
247
+ # @return [::String]
248
248
  # Required. The BigQuery table to which the snapshot result should be
249
249
  # written. If this table does not exist, a new table with the given name
250
250
  # will be created.
251
251
  # @!attribute [rw] force
252
- # @return [Boolean]
252
+ # @return [::Boolean]
253
253
  # If the destination table already exists and this flag is `TRUE`, the
254
254
  # table will be overwritten by the contents of assets snapshot. If the flag
255
255
  # is `FALSE` or unset and the destination table already exists, the export
256
256
  # call returns an INVALID_ARGUMEMT error.
257
257
  class BigQueryDestination
258
- include Google::Protobuf::MessageExts
259
- extend Google::Protobuf::MessageExts::ClassMethods
258
+ include ::Google::Protobuf::MessageExts
259
+ extend ::Google::Protobuf::MessageExts::ClassMethods
260
260
  end
261
261
 
262
262
  # A Pub/Sub destination.
263
263
  # @!attribute [rw] topic
264
- # @return [String]
264
+ # @return [::String]
265
265
  # The name of the Pub/Sub topic to publish to.
266
266
  # For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
267
267
  class PubsubDestination
268
- include Google::Protobuf::MessageExts
269
- extend Google::Protobuf::MessageExts::ClassMethods
268
+ include ::Google::Protobuf::MessageExts
269
+ extend ::Google::Protobuf::MessageExts::ClassMethods
270
270
  end
271
271
 
272
272
  # Output configuration for asset feed destination.
273
273
  # @!attribute [rw] pubsub_destination
274
- # @return [Google::Cloud::Asset::V1::PubsubDestination]
274
+ # @return [::Google::Cloud::Asset::V1::PubsubDestination]
275
275
  # Destination on Pub/Sub.
276
276
  class FeedOutputConfig
277
- include Google::Protobuf::MessageExts
278
- extend Google::Protobuf::MessageExts::ClassMethods
277
+ include ::Google::Protobuf::MessageExts
278
+ extend ::Google::Protobuf::MessageExts::ClassMethods
279
279
  end
280
280
 
281
281
  # An asset feed used to export asset updates to a destinations.
@@ -284,7 +284,7 @@ module Google
284
284
  # folder. Supported destinations are:
285
285
  # Pub/Sub topics.
286
286
  # @!attribute [rw] name
287
- # @return [String]
287
+ # @return [::String]
288
288
  # Required. The format will be
289
289
  # projects/\\{project_number}/feeds/\\{client-assigned_feed_identifier} or
290
290
  # folders/\\{folder_number}/feeds/\\{client-assigned_feed_identifier} or
@@ -293,7 +293,7 @@ module Google
293
293
  # The client-assigned feed identifier must be unique within the parent
294
294
  # project/folder/organization.
295
295
  # @!attribute [rw] asset_names
296
- # @return [Array<String>]
296
+ # @return [::Array<::String>]
297
297
  # A list of the full names of the assets to receive updates. You must specify
298
298
  # either or both of asset_names and asset_types. Only asset updates matching
299
299
  # specified asset_names and asset_types are exported to the feed. For
@@ -303,7 +303,7 @@ module Google
303
303
  # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
304
304
  # for more info.
305
305
  # @!attribute [rw] asset_types
306
- # @return [Array<String>]
306
+ # @return [::Array<::String>]
307
307
  # A list of types of the assets to receive updates. You must specify either
308
308
  # or both of asset_names and asset_types. Only asset updates matching
309
309
  # specified asset_names and asset_types are exported to the feed.
@@ -313,16 +313,16 @@ module Google
313
313
  # topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
314
314
  # for a list of all supported asset types.
315
315
  # @!attribute [rw] content_type
316
- # @return [Google::Cloud::Asset::V1::ContentType]
316
+ # @return [::Google::Cloud::Asset::V1::ContentType]
317
317
  # Asset content type. If not specified, no content but the asset name and
318
318
  # type will be returned.
319
319
  # @!attribute [rw] feed_output_config
320
- # @return [Google::Cloud::Asset::V1::FeedOutputConfig]
320
+ # @return [::Google::Cloud::Asset::V1::FeedOutputConfig]
321
321
  # Required. Feed output configuration defining where the asset updates are
322
322
  # published to.
323
323
  class Feed
324
- include Google::Protobuf::MessageExts
325
- extend Google::Protobuf::MessageExts::ClassMethods
324
+ include ::Google::Protobuf::MessageExts
325
+ extend ::Google::Protobuf::MessageExts::ClassMethods
326
326
  end
327
327
 
328
328
  # Asset content type.
@@ -24,30 +24,30 @@ module Google
24
24
  # An asset in Google Cloud and its temporal metadata, including the time window
25
25
  # when it was observed and its status during that window.
26
26
  # @!attribute [rw] window
27
- # @return [Google::Cloud::Asset::V1::TimeWindow]
27
+ # @return [::Google::Cloud::Asset::V1::TimeWindow]
28
28
  # The time window when the asset data and state was observed.
29
29
  # @!attribute [rw] deleted
30
- # @return [Boolean]
30
+ # @return [::Boolean]
31
31
  # Whether the asset has been deleted or not.
32
32
  # @!attribute [rw] asset
33
- # @return [Google::Cloud::Asset::V1::Asset]
33
+ # @return [::Google::Cloud::Asset::V1::Asset]
34
34
  # An asset in Google Cloud.
35
35
  class TemporalAsset
36
- include Google::Protobuf::MessageExts
37
- extend Google::Protobuf::MessageExts::ClassMethods
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
38
  end
39
39
 
40
40
  # A time window specified by its "start_time" and "end_time".
41
41
  # @!attribute [rw] start_time
42
- # @return [Google::Protobuf::Timestamp]
42
+ # @return [::Google::Protobuf::Timestamp]
43
43
  # Start time of the time window (exclusive).
44
44
  # @!attribute [rw] end_time
45
- # @return [Google::Protobuf::Timestamp]
45
+ # @return [::Google::Protobuf::Timestamp]
46
46
  # End time of the time window (inclusive). If not specified, the current
47
47
  # timestamp is used instead.
48
48
  class TimeWindow
49
- include Google::Protobuf::MessageExts
50
- extend Google::Protobuf::MessageExts::ClassMethods
49
+ include ::Google::Protobuf::MessageExts
50
+ extend ::Google::Protobuf::MessageExts::ClassMethods
51
51
  end
52
52
 
53
53
  # An asset in Google Cloud. An asset can be any resource in the Google Cloud
@@ -56,7 +56,7 @@ module Google
56
56
  # a resource outside the Google Cloud resource hierarchy (such as Google
57
57
  # Kubernetes Engine clusters and objects), or a Cloud IAM policy.
58
58
  # @!attribute [rw] name
59
- # @return [String]
59
+ # @return [::String]
60
60
  # The full name of the asset. For example:
61
61
  # "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1"
62
62
  #
@@ -64,17 +64,17 @@ module Google
64
64
  # names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
65
65
  # for more information.
66
66
  # @!attribute [rw] asset_type
67
- # @return [String]
67
+ # @return [::String]
68
68
  # The type of the asset. For example: "compute.googleapis.com/Disk"
69
69
  #
70
70
  # See [Supported asset
71
71
  # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
72
72
  # for more information.
73
73
  # @!attribute [rw] resource
74
- # @return [Google::Cloud::Asset::V1::Resource]
74
+ # @return [::Google::Cloud::Asset::V1::Resource]
75
75
  # A representation of the resource.
76
76
  # @!attribute [rw] iam_policy
77
- # @return [Google::Iam::V1::Policy]
77
+ # @return [::Google::Iam::V1::Policy]
78
78
  # A representation of the Cloud IAM policy set on a Google Cloud resource.
79
79
  # There can be a maximum of one Cloud IAM policy set on any given resource.
80
80
  # In addition, Cloud IAM policies inherit their granted access scope from any
@@ -85,19 +85,19 @@ module Google
85
85
  # [this topic](https://cloud.google.com/iam/docs/policies#inheritance) for
86
86
  # more information.
87
87
  # @!attribute [rw] org_policy
88
- # @return [Array<Google::Cloud::OrgPolicy::V1::Policy>]
88
+ # @return [::Array<::Google::Cloud::OrgPolicy::V1::Policy>]
89
89
  # A representation of an [organization
90
90
  # policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
91
91
  # There can be more than one organization policy with different constraints
92
92
  # set on a given resource.
93
93
  # @!attribute [rw] access_policy
94
- # @return [Google::Identity::AccessContextManager::V1::AccessPolicy]
94
+ # @return [::Google::Identity::AccessContextManager::V1::AccessPolicy]
95
95
  # @!attribute [rw] access_level
96
- # @return [Google::Identity::AccessContextManager::V1::AccessLevel]
96
+ # @return [::Google::Identity::AccessContextManager::V1::AccessLevel]
97
97
  # @!attribute [rw] service_perimeter
98
- # @return [Google::Identity::AccessContextManager::V1::ServicePerimeter]
98
+ # @return [::Google::Identity::AccessContextManager::V1::ServicePerimeter]
99
99
  # @!attribute [rw] ancestors
100
- # @return [Array<String>]
100
+ # @return [::Array<::String>]
101
101
  # The ancestry path of an asset in Google Cloud [resource
102
102
  # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
103
103
  # represented as a list of relative resource names. An ancestry path starts
@@ -107,16 +107,16 @@ module Google
107
107
  #
108
108
  # For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
109
109
  class Asset
110
- include Google::Protobuf::MessageExts
111
- extend Google::Protobuf::MessageExts::ClassMethods
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
112
  end
113
113
 
114
114
  # A representation of a Google Cloud resource.
115
115
  # @!attribute [rw] version
116
- # @return [String]
116
+ # @return [::String]
117
117
  # The API version. For example: "v1"
118
118
  # @!attribute [rw] discovery_document_uri
119
- # @return [String]
119
+ # @return [::String]
120
120
  # The URL of the discovery document containing the resource's JSON schema.
121
121
  # For example:
122
122
  # "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"
@@ -124,21 +124,21 @@ module Google
124
124
  # This value is unspecified for resources that do not have an API based on a
125
125
  # discovery document, such as Cloud Bigtable.
126
126
  # @!attribute [rw] discovery_name
127
- # @return [String]
127
+ # @return [::String]
128
128
  # The JSON schema name listed in the discovery document. For example:
129
129
  # "Project"
130
130
  #
131
131
  # This value is unspecified for resources that do not have an API based on a
132
132
  # discovery document, such as Cloud Bigtable.
133
133
  # @!attribute [rw] resource_url
134
- # @return [String]
134
+ # @return [::String]
135
135
  # The REST URL for accessing the resource. An HTTP `GET` request using this
136
136
  # URL returns the resource itself. For example:
137
137
  # "https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123"
138
138
  #
139
139
  # This value is unspecified for resources without a REST API.
140
140
  # @!attribute [rw] parent
141
- # @return [String]
141
+ # @return [::String]
142
142
  # The full name of the immediate parent of this resource. See
143
143
  # [Resource
144
144
  # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -152,12 +152,12 @@ module Google
152
152
  #
153
153
  # For third-party assets, this field may be set differently.
154
154
  # @!attribute [rw] data
155
- # @return [Google::Protobuf::Struct]
155
+ # @return [::Google::Protobuf::Struct]
156
156
  # The content of the resource, in which some sensitive fields are removed
157
157
  # and may not be present.
158
158
  class Resource
159
- include Google::Protobuf::MessageExts
160
- extend Google::Protobuf::MessageExts::ClassMethods
159
+ include ::Google::Protobuf::MessageExts
160
+ extend ::Google::Protobuf::MessageExts::ClassMethods
161
161
  end
162
162
  end
163
163
  end
@@ -24,16 +24,16 @@ module Google
24
24
  # Defines a Cloud Organization `Policy` which is used to specify `Constraints`
25
25
  # for configurations of Cloud Platform resources.
26
26
  # @!attribute [rw] version
27
- # @return [Integer]
27
+ # @return [::Integer]
28
28
  # Version of the `Policy`. Default version is 0;
29
29
  # @!attribute [rw] constraint
30
- # @return [String]
30
+ # @return [::String]
31
31
  # The name of the `Constraint` the `Policy` is configuring, for example,
32
32
  # `constraints/serviceuser.services`.
33
33
  #
34
34
  # Immutable after creation.
35
35
  # @!attribute [rw] etag
36
- # @return [String]
36
+ # @return [::String]
37
37
  # An opaque tag indicating the current version of the `Policy`, used for
38
38
  # concurrency control.
39
39
  #
@@ -50,24 +50,24 @@ module Google
50
50
  # `SetOrgPolicy` request will result in an unconditional write of the
51
51
  # `Policy`.
52
52
  # @!attribute [rw] update_time
53
- # @return [Google::Protobuf::Timestamp]
53
+ # @return [::Google::Protobuf::Timestamp]
54
54
  # The time stamp the `Policy` was previously updated. This is set by the
55
55
  # server, not specified by the caller, and represents the last time a call to
56
56
  # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
57
57
  # be ignored.
58
58
  # @!attribute [rw] list_policy
59
- # @return [Google::Cloud::OrgPolicy::V1::Policy::ListPolicy]
59
+ # @return [::Google::Cloud::OrgPolicy::V1::Policy::ListPolicy]
60
60
  # List of values either allowed or disallowed.
61
61
  # @!attribute [rw] boolean_policy
62
- # @return [Google::Cloud::OrgPolicy::V1::Policy::BooleanPolicy]
62
+ # @return [::Google::Cloud::OrgPolicy::V1::Policy::BooleanPolicy]
63
63
  # For boolean `Constraints`, whether to enforce the `Constraint` or not.
64
64
  # @!attribute [rw] restore_default
65
- # @return [Google::Cloud::OrgPolicy::V1::Policy::RestoreDefault]
65
+ # @return [::Google::Cloud::OrgPolicy::V1::Policy::RestoreDefault]
66
66
  # Restores the default behavior of the constraint; independent of
67
67
  # `Constraint` type.
68
68
  class Policy
69
- include Google::Protobuf::MessageExts
70
- extend Google::Protobuf::MessageExts::ClassMethods
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
71
 
72
72
  # Used in `policy_type` to specify how `list_policy` behaves at this
73
73
  # resource.
@@ -91,24 +91,24 @@ module Google
91
91
  # values. If `all_values` is set to either `ALLOW` or `DENY`,
92
92
  # `allowed_values` and `denied_values` must be unset.
93
93
  # @!attribute [rw] allowed_values
94
- # @return [Array<String>]
94
+ # @return [::Array<::String>]
95
95
  # List of values allowed at this resource. Can only be set if `all_values`
96
96
  # is set to `ALL_VALUES_UNSPECIFIED`.
97
97
  # @!attribute [rw] denied_values
98
- # @return [Array<String>]
98
+ # @return [::Array<::String>]
99
99
  # List of values denied at this resource. Can only be set if `all_values`
100
100
  # is set to `ALL_VALUES_UNSPECIFIED`.
101
101
  # @!attribute [rw] all_values
102
- # @return [Google::Cloud::OrgPolicy::V1::Policy::ListPolicy::AllValues]
102
+ # @return [::Google::Cloud::OrgPolicy::V1::Policy::ListPolicy::AllValues]
103
103
  # The policy all_values state.
104
104
  # @!attribute [rw] suggested_value
105
- # @return [String]
105
+ # @return [::String]
106
106
  # Optional. The Google Cloud Console will try to default to a configuration
107
107
  # that matches the value specified in this `Policy`. If `suggested_value`
108
108
  # is not set, it will inherit the value specified higher in the hierarchy,
109
109
  # unless `inherit_from_parent` is `false`.
110
110
  # @!attribute [rw] inherit_from_parent
111
- # @return [Boolean]
111
+ # @return [::Boolean]
112
112
  # Determines the inheritance behavior for this `Policy`.
113
113
  #
114
114
  # By default, a `ListPolicy` set at a resource supercedes any `Policy` set
@@ -207,8 +207,8 @@ module Google
207
207
  # The accepted values at `projects/bar` are `organizations/O1`,
208
208
  # `folders/F1`, `projects/P1`.
209
209
  class ListPolicy
210
- include Google::Protobuf::MessageExts
211
- extend Google::Protobuf::MessageExts::ClassMethods
210
+ include ::Google::Protobuf::MessageExts
211
+ extend ::Google::Protobuf::MessageExts::ClassMethods
212
212
 
213
213
  # This enum can be used to set `Policies` that apply to all possible
214
214
  # configuration values rather than specific values in `allowed_values` or
@@ -234,7 +234,7 @@ module Google
234
234
  # Used in `policy_type` to specify how `boolean_policy` will behave at this
235
235
  # resource.
236
236
  # @!attribute [rw] enforced
237
- # @return [Boolean]
237
+ # @return [::Boolean]
238
238
  # If `true`, then the `Policy` is enforced. If `false`, then any
239
239
  # configuration is acceptable.
240
240
  #
@@ -280,8 +280,8 @@ module Google
280
280
  # The constraint at `projects/bar` is not enforced, because
281
281
  # `constraint_default` for the `Constraint` is `ALLOW`.
282
282
  class BooleanPolicy
283
- include Google::Protobuf::MessageExts
284
- extend Google::Protobuf::MessageExts::ClassMethods
283
+ include ::Google::Protobuf::MessageExts
284
+ extend ::Google::Protobuf::MessageExts::ClassMethods
285
285
  end
286
286
 
287
287
  # Ignores policies set above this resource and restores the
@@ -297,8 +297,8 @@ module Google
297
297
  # enforcement of the `Constraint` for only those projects, allowing those
298
298
  # projects to have all services activated.
299
299
  class RestoreDefault
300
- include Google::Protobuf::MessageExts
301
- extend Google::Protobuf::MessageExts::ClassMethods
300
+ include ::Google::Protobuf::MessageExts
301
+ extend ::Google::Protobuf::MessageExts::ClassMethods
302
302
  end
303
303
  end
304
304
  end