Skip to content

Commit 18ba002

Browse files
1 parent 47d2060 commit 18ba002

9 files changed

Lines changed: 128 additions & 124 deletions

src/CloudDataplex/GoogleCloudDataplexV1DataAsset.php

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,28 @@ class GoogleCloudDataplexV1DataAsset extends \Google\Model
2222
protected $accessGroupConfigsType = GoogleCloudDataplexV1DataAssetAccessGroupConfig::class;
2323
protected $accessGroupConfigsDataType = 'map';
2424
/**
25-
* Output only. The time at which the Data Asset was created.
25+
* Output only. The time at which the data asset was created.
2626
*
2727
* @var string
2828
*/
2929
public $createTime;
3030
/**
31-
* This checksum is computed by the server based on the value of other fields,
32-
* and may be sent on update and delete requests to ensure the client has an
33-
* up-to-date value before proceeding.
31+
* Optional. This checksum is computed by the server based on the value of
32+
* other fields, and may be sent on update and delete requests to ensure the
33+
* client has an up-to-date value before proceeding.
3434
*
3535
* @var string
3636
*/
3737
public $etag;
3838
/**
39-
* Optional. User-defined labels for the Data Asset.
39+
* Optional. User-defined labels for the data asset.Example: { "environment":
40+
* "production", "billing": "marketing-department" }
4041
*
4142
* @var string[]
4243
*/
4344
public $labels;
4445
/**
45-
* Identifier. Resource name of the Data Asset. Format: projects/{project_id_o
46+
* Identifier. Resource name of the data asset. Format: projects/{project_id_o
4647
* r_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets
4748
* /{data_asset_id}
4849
*
@@ -51,40 +52,39 @@ class GoogleCloudDataplexV1DataAsset extends \Google\Model
5152
public $name;
5253
/**
5354
* Required. Immutable. Full resource name of the cloud resource represented
54-
* by the Data Asset. This must follow https://cloud.google.com/iam/docs/full-
55+
* by the data asset. This must follow https://cloud.google.com/iam/docs/full-
5556
* resource-names. Example: //bigquery.googleapis.com/projects/my_project_123/
5657
* datasets/dataset_456/tables/table_789 Only BigQuery tables and datasets are
57-
* currently supported. Data Asset creator must have getIamPolicy and
58-
* setIamPolicy permissions on the resource. Data Asset creator must also have
58+
* currently supported. Data asset creator must have getIamPolicy and
59+
* setIamPolicy permissions on the resource. Data asset creator must also have
5960
* resource specific get permission, for instance, bigquery.tables.get for
6061
* BigQuery tables.
6162
*
6263
* @var string
6364
*/
6465
public $resource;
6566
/**
66-
* Output only. System generated globally unique ID for the Data Asset. This
67-
* ID will be different if the Data Asset is deleted and re-created with the
67+
* Output only. System generated globally unique ID for the data asset. This
68+
* ID will be different if the data asset is deleted and re-created with the
6869
* same name.
6970
*
7071
* @var string
7172
*/
7273
public $uid;
7374
/**
74-
* Output only. The time at which the Data Asset was last updated.
75+
* Output only. The time at which the data asset was last updated.
7576
*
7677
* @var string
7778
*/
7879
public $updateTime;
7980

8081
/**
81-
* Optional. Access groups configurations for this Data Asset. The key is
82-
* DataProduct.AccessGroup.id and the value is AccessGroupConfig. Example:
83-
* key: "analyst" value: { AccessGroupConfig : { iam_roles :
84-
* "roles/bigquery.dataViewer" } } Currently, at most one IAM role is allowed
85-
* per access group. For providing multiple predefined IAM roles, wrap them in
86-
* a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-
87-
* roles.
82+
* Optional. Access groups configurations for this data asset.The key is
83+
* DataProduct.AccessGroup.id and the value is AccessGroupConfig.Example: {
84+
* "analyst": { "iamRoles": ["roles/bigquery.dataViewer"] } } Currently, at
85+
* most one IAM role is allowed per access group. For providing multiple
86+
* predefined IAM roles, wrap them in a custom IAM role as per
87+
* https://cloud.google.com/iam/docs/creating-custom-roles.
8888
*
8989
* @param GoogleCloudDataplexV1DataAssetAccessGroupConfig[] $accessGroupConfigs
9090
*/
@@ -100,7 +100,7 @@ public function getAccessGroupConfigs()
100100
return $this->accessGroupConfigs;
101101
}
102102
/**
103-
* Output only. The time at which the Data Asset was created.
103+
* Output only. The time at which the data asset was created.
104104
*
105105
* @param string $createTime
106106
*/
@@ -116,9 +116,9 @@ public function getCreateTime()
116116
return $this->createTime;
117117
}
118118
/**
119-
* This checksum is computed by the server based on the value of other fields,
120-
* and may be sent on update and delete requests to ensure the client has an
121-
* up-to-date value before proceeding.
119+
* Optional. This checksum is computed by the server based on the value of
120+
* other fields, and may be sent on update and delete requests to ensure the
121+
* client has an up-to-date value before proceeding.
122122
*
123123
* @param string $etag
124124
*/
@@ -134,7 +134,8 @@ public function getEtag()
134134
return $this->etag;
135135
}
136136
/**
137-
* Optional. User-defined labels for the Data Asset.
137+
* Optional. User-defined labels for the data asset.Example: { "environment":
138+
* "production", "billing": "marketing-department" }
138139
*
139140
* @param string[] $labels
140141
*/
@@ -150,7 +151,7 @@ public function getLabels()
150151
return $this->labels;
151152
}
152153
/**
153-
* Identifier. Resource name of the Data Asset. Format: projects/{project_id_o
154+
* Identifier. Resource name of the data asset. Format: projects/{project_id_o
154155
* r_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets
155156
* /{data_asset_id}
156157
*
@@ -169,11 +170,11 @@ public function getName()
169170
}
170171
/**
171172
* Required. Immutable. Full resource name of the cloud resource represented
172-
* by the Data Asset. This must follow https://cloud.google.com/iam/docs/full-
173+
* by the data asset. This must follow https://cloud.google.com/iam/docs/full-
173174
* resource-names. Example: //bigquery.googleapis.com/projects/my_project_123/
174175
* datasets/dataset_456/tables/table_789 Only BigQuery tables and datasets are
175-
* currently supported. Data Asset creator must have getIamPolicy and
176-
* setIamPolicy permissions on the resource. Data Asset creator must also have
176+
* currently supported. Data asset creator must have getIamPolicy and
177+
* setIamPolicy permissions on the resource. Data asset creator must also have
177178
* resource specific get permission, for instance, bigquery.tables.get for
178179
* BigQuery tables.
179180
*
@@ -191,8 +192,8 @@ public function getResource()
191192
return $this->resource;
192193
}
193194
/**
194-
* Output only. System generated globally unique ID for the Data Asset. This
195-
* ID will be different if the Data Asset is deleted and re-created with the
195+
* Output only. System generated globally unique ID for the data asset. This
196+
* ID will be different if the data asset is deleted and re-created with the
196197
* same name.
197198
*
198199
* @param string $uid
@@ -209,7 +210,7 @@ public function getUid()
209210
return $this->uid;
210211
}
211212
/**
212-
* Output only. The time at which the Data Asset was last updated.
213+
* Output only. The time at which the data asset was last updated.
213214
*
214215
* @param string $updateTime
215216
*/

src/CloudDataplex/GoogleCloudDataplexV1DataAssetAccessGroupConfig.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ class GoogleCloudDataplexV1DataAssetAccessGroupConfig extends \Google\Collection
2222
protected $collection_key = 'iamRoles';
2323
/**
2424
* Optional. IAM roles granted on the resource to this access group. Role name
25-
* follows https://cloud.google.com/iam/docs/reference/rest/v1/roles. Example:
26-
* "roles/bigquery.dataViewer"
25+
* follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.Example:
26+
* [ "roles/bigquery.dataViewer" ]
2727
*
2828
* @var string[]
2929
*/
3030
public $iamRoles;
3131

3232
/**
3333
* Optional. IAM roles granted on the resource to this access group. Role name
34-
* follows https://cloud.google.com/iam/docs/reference/rest/v1/roles. Example:
35-
* "roles/bigquery.dataViewer"
34+
* follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.Example:
35+
* [ "roles/bigquery.dataViewer" ]
3636
*
3737
* @param string[] $iamRoles
3838
*/

src/CloudDataplex/GoogleCloudDataplexV1DataProduct.php

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -23,39 +23,39 @@ class GoogleCloudDataplexV1DataProduct extends \Google\Collection
2323
protected $accessGroupsType = GoogleCloudDataplexV1DataProductAccessGroup::class;
2424
protected $accessGroupsDataType = 'map';
2525
/**
26-
* Output only. Number of Data Assets associated with this Data Product.
26+
* Output only. Number of data assets associated with this data product.
2727
*
2828
* @var int
2929
*/
3030
public $assetCount;
3131
/**
32-
* Output only. The time at which the Data Product was created.
32+
* Output only. The time at which the data product was created.
3333
*
3434
* @var string
3535
*/
3636
public $createTime;
3737
/**
38-
* Optional. Description of the Data Product.
38+
* Optional. Description of the data product.
3939
*
4040
* @var string
4141
*/
4242
public $description;
4343
/**
44-
* Required. User-friendly display name of the Data Product.
44+
* Required. User-friendly display name of the data product.
4545
*
4646
* @var string
4747
*/
4848
public $displayName;
4949
/**
50-
* This checksum is computed by the server based on the value of other fields,
51-
* and may be sent on update and delete requests to ensure the client has an
52-
* up-to-date value before proceeding.
50+
* Optional. This checksum is computed by the server based on the value of
51+
* other fields, and may be sent on update and delete requests to ensure the
52+
* client has an up-to-date value before proceeding.
5353
*
5454
* @var string
5555
*/
5656
public $etag;
5757
/**
58-
* Optional. Base64 encoded image representing the Data Product. Max Size:
58+
* Optional. Base64 encoded image representing the data product. Max Size:
5959
* 3.0MiB Expected image dimensions are 512x512 pixels, however the API only
6060
* performs validation on size of the encoded data. Note: For byte fields, the
6161
* content of the fields are base64-encoded (which increases the size of the
@@ -65,44 +65,47 @@ class GoogleCloudDataplexV1DataProduct extends \Google\Collection
6565
*/
6666
public $icon;
6767
/**
68-
* Optional. User-defined labels for the Data Product.
68+
* Optional. User-defined labels for the data product.Example: {
69+
* "environment": "production", "billing": "marketing-department" }
6970
*
7071
* @var string[]
7172
*/
7273
public $labels;
7374
/**
74-
* Identifier. Resource name of the Data Product. Format: projects/{project_id
75+
* Identifier. Resource name of the data product. Format: projects/{project_id
7576
* _or_number}/locations/{location_id}/dataProducts/{data_product_id}.
7677
*
7778
* @var string
7879
*/
7980
public $name;
8081
/**
81-
* Required. Emails of the Data Product owners.
82+
* Required. Emails of the data product owners.
8283
*
8384
* @var string[]
8485
*/
8586
public $ownerEmails;
8687
/**
87-
* Output only. System generated unique ID for the Data Product. This ID will
88-
* be different if the Data Product is deleted and re-created with the same
88+
* Output only. System generated unique ID for the data product. This ID will
89+
* be different if the data product is deleted and re-created with the same
8990
* name.
9091
*
9192
* @var string
9293
*/
9394
public $uid;
9495
/**
95-
* Output only. The time at which the Data Product was last updated.
96+
* Output only. The time at which the data product was last updated.
9697
*
9798
* @var string
9899
*/
99100
public $updateTime;
100101

101102
/**
102-
* Optional. Data Product access groups by access group id as key. If Data
103-
* Product is used only for packaging Data Assets, then access groups may be
104-
* empty. However, if a Data Product is used for sharing Data Assets, then at
105-
* least one access group must be specified.
103+
* Optional. Data product access groups by access group id as key. If data
104+
* product is used only for packaging data assets, then access groups may be
105+
* empty. However, if a data product is used for sharing data assets, then at
106+
* least one access group must be specified.Example: { "analyst": { "id":
107+
* "analyst", "displayName": "Analyst", "description": "Access group for
108+
* analysts", "principal": { "googleGroup": "analysts@example.com" } } }
106109
*
107110
* @param GoogleCloudDataplexV1DataProductAccessGroup[] $accessGroups
108111
*/
@@ -118,7 +121,7 @@ public function getAccessGroups()
118121
return $this->accessGroups;
119122
}
120123
/**
121-
* Output only. Number of Data Assets associated with this Data Product.
124+
* Output only. Number of data assets associated with this data product.
122125
*
123126
* @param int $assetCount
124127
*/
@@ -134,7 +137,7 @@ public function getAssetCount()
134137
return $this->assetCount;
135138
}
136139
/**
137-
* Output only. The time at which the Data Product was created.
140+
* Output only. The time at which the data product was created.
138141
*
139142
* @param string $createTime
140143
*/
@@ -150,7 +153,7 @@ public function getCreateTime()
150153
return $this->createTime;
151154
}
152155
/**
153-
* Optional. Description of the Data Product.
156+
* Optional. Description of the data product.
154157
*
155158
* @param string $description
156159
*/
@@ -166,7 +169,7 @@ public function getDescription()
166169
return $this->description;
167170
}
168171
/**
169-
* Required. User-friendly display name of the Data Product.
172+
* Required. User-friendly display name of the data product.
170173
*
171174
* @param string $displayName
172175
*/
@@ -182,9 +185,9 @@ public function getDisplayName()
182185
return $this->displayName;
183186
}
184187
/**
185-
* This checksum is computed by the server based on the value of other fields,
186-
* and may be sent on update and delete requests to ensure the client has an
187-
* up-to-date value before proceeding.
188+
* Optional. This checksum is computed by the server based on the value of
189+
* other fields, and may be sent on update and delete requests to ensure the
190+
* client has an up-to-date value before proceeding.
188191
*
189192
* @param string $etag
190193
*/
@@ -200,7 +203,7 @@ public function getEtag()
200203
return $this->etag;
201204
}
202205
/**
203-
* Optional. Base64 encoded image representing the Data Product. Max Size:
206+
* Optional. Base64 encoded image representing the data product. Max Size:
204207
* 3.0MiB Expected image dimensions are 512x512 pixels, however the API only
205208
* performs validation on size of the encoded data. Note: For byte fields, the
206209
* content of the fields are base64-encoded (which increases the size of the
@@ -220,7 +223,8 @@ public function getIcon()
220223
return $this->icon;
221224
}
222225
/**
223-
* Optional. User-defined labels for the Data Product.
226+
* Optional. User-defined labels for the data product.Example: {
227+
* "environment": "production", "billing": "marketing-department" }
224228
*
225229
* @param string[] $labels
226230
*/
@@ -236,7 +240,7 @@ public function getLabels()
236240
return $this->labels;
237241
}
238242
/**
239-
* Identifier. Resource name of the Data Product. Format: projects/{project_id
243+
* Identifier. Resource name of the data product. Format: projects/{project_id
240244
* _or_number}/locations/{location_id}/dataProducts/{data_product_id}.
241245
*
242246
* @param string $name
@@ -253,7 +257,7 @@ public function getName()
253257
return $this->name;
254258
}
255259
/**
256-
* Required. Emails of the Data Product owners.
260+
* Required. Emails of the data product owners.
257261
*
258262
* @param string[] $ownerEmails
259263
*/
@@ -269,8 +273,8 @@ public function getOwnerEmails()
269273
return $this->ownerEmails;
270274
}
271275
/**
272-
* Output only. System generated unique ID for the Data Product. This ID will
273-
* be different if the Data Product is deleted and re-created with the same
276+
* Output only. System generated unique ID for the data product. This ID will
277+
* be different if the data product is deleted and re-created with the same
274278
* name.
275279
*
276280
* @param string $uid
@@ -287,7 +291,7 @@ public function getUid()
287291
return $this->uid;
288292
}
289293
/**
290-
* Output only. The time at which the Data Product was last updated.
294+
* Output only. The time at which the data product was last updated.
291295
*
292296
* @param string $updateTime
293297
*/

0 commit comments

Comments
 (0)