1"""Generated message classes for mediaasset version v1alpha. 2 3""" 4# NOTE: This file is autogenerated and should not be edited by hand. 5 6from __future__ import absolute_import 7 8from apitools.base.protorpclite import messages as _messages 9from apitools.base.py import encoding 10from apitools.base.py import extra_types 11 12 13package = 'mediaasset' 14 15 16class Asset(_messages.Message): 17 r"""An asset resource. An asset is a core resource that represents a media 18 entity. An Asset has an asset type associated with it which specifies the 19 schema of the asset. 20 21 Messages: 22 LabelsValue: The labels associated with this resource. Each label is a 23 key-value pair. 24 LinkSetsValue: Named collections of Link Sets, each having qualified 25 links. 26 LinksValue: Links to other assets. 27 MetadataValue: List of metadata for this asset. 28 MetadataInfoValue: Information about the metadata fields. 29 30 Fields: 31 createTime: The creation time. 32 etag: Etag of the resource used in output and update requests. 33 labels: The labels associated with this resource. Each label is a key- 34 value pair. 35 linkSets: Named collections of Link Sets, each having qualified links. 36 links: Links to other assets. 37 metadata: List of metadata for this asset. 38 metadataInfo: Information about the metadata fields. 39 name: The resource name of the asset, in the following form: `projects/{pr 40 oject}/locations/{location}/assetTypes/{type}/assets/{asset}`. 41 """ 42 43 @encoding.MapUnrecognizedFields('additionalProperties') 44 class LabelsValue(_messages.Message): 45 r"""The labels associated with this resource. Each label is a key-value 46 pair. 47 48 Messages: 49 AdditionalProperty: An additional property for a LabelsValue object. 50 51 Fields: 52 additionalProperties: Additional properties of type LabelsValue 53 """ 54 55 class AdditionalProperty(_messages.Message): 56 r"""An additional property for a LabelsValue object. 57 58 Fields: 59 key: Name of the additional property. 60 value: A string attribute. 61 """ 62 63 key = _messages.StringField(1) 64 value = _messages.StringField(2) 65 66 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 67 68 @encoding.MapUnrecognizedFields('additionalProperties') 69 class LinkSetsValue(_messages.Message): 70 r"""Named collections of Link Sets, each having qualified links. 71 72 Messages: 73 AdditionalProperty: An additional property for a LinkSetsValue object. 74 75 Fields: 76 additionalProperties: Additional properties of type LinkSetsValue 77 """ 78 79 class AdditionalProperty(_messages.Message): 80 r"""An additional property for a LinkSetsValue object. 81 82 Fields: 83 key: Name of the additional property. 84 value: A LinkSet attribute. 85 """ 86 87 key = _messages.StringField(1) 88 value = _messages.MessageField('LinkSet', 2) 89 90 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 91 92 @encoding.MapUnrecognizedFields('additionalProperties') 93 class LinksValue(_messages.Message): 94 r"""Links to other assets. 95 96 Messages: 97 AdditionalProperty: An additional property for a LinksValue object. 98 99 Fields: 100 additionalProperties: Additional properties of type LinksValue 101 """ 102 103 class AdditionalProperty(_messages.Message): 104 r"""An additional property for a LinksValue object. 105 106 Fields: 107 key: Name of the additional property. 108 value: A Asset attribute. 109 """ 110 111 key = _messages.StringField(1) 112 value = _messages.MessageField('Asset', 2) 113 114 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 115 116 @encoding.MapUnrecognizedFields('additionalProperties') 117 class MetadataInfoValue(_messages.Message): 118 r"""Information about the metadata fields. 119 120 Messages: 121 AdditionalProperty: An additional property for a MetadataInfoValue 122 object. 123 124 Fields: 125 additionalProperties: Additional properties of type MetadataInfoValue 126 """ 127 128 class AdditionalProperty(_messages.Message): 129 r"""An additional property for a MetadataInfoValue object. 130 131 Fields: 132 key: Name of the additional property. 133 value: A MetadataInfo attribute. 134 """ 135 136 key = _messages.StringField(1) 137 value = _messages.MessageField('MetadataInfo', 2) 138 139 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 140 141 @encoding.MapUnrecognizedFields('additionalProperties') 142 class MetadataValue(_messages.Message): 143 r"""List of metadata for this asset. 144 145 Messages: 146 AdditionalProperty: An additional property for a MetadataValue object. 147 148 Fields: 149 additionalProperties: Additional properties of type MetadataValue 150 """ 151 152 class AdditionalProperty(_messages.Message): 153 r"""An additional property for a MetadataValue object. 154 155 Messages: 156 ValueValue: A ValueValue object. 157 158 Fields: 159 key: Name of the additional property. 160 value: A ValueValue attribute. 161 """ 162 163 @encoding.MapUnrecognizedFields('additionalProperties') 164 class ValueValue(_messages.Message): 165 r"""A ValueValue object. 166 167 Messages: 168 AdditionalProperty: An additional property for a ValueValue object. 169 170 Fields: 171 additionalProperties: Properties of the object. 172 """ 173 174 class AdditionalProperty(_messages.Message): 175 r"""An additional property for a ValueValue object. 176 177 Fields: 178 key: Name of the additional property. 179 value: A extra_types.JsonValue attribute. 180 """ 181 182 key = _messages.StringField(1) 183 value = _messages.MessageField('extra_types.JsonValue', 2) 184 185 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 186 187 key = _messages.StringField(1) 188 value = _messages.MessageField('ValueValue', 2) 189 190 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 191 192 createTime = _messages.StringField(1) 193 etag = _messages.StringField(2) 194 labels = _messages.MessageField('LabelsValue', 3) 195 linkSets = _messages.MessageField('LinkSetsValue', 4) 196 links = _messages.MessageField('LinksValue', 5) 197 metadata = _messages.MessageField('MetadataValue', 6) 198 metadataInfo = _messages.MessageField('MetadataInfoValue', 7) 199 name = _messages.StringField(8) 200 201 202class AssetTransformation(_messages.Message): 203 r"""An asset transformation resource. Asset transformation is a read-only 204 resource and is nested under an asset. It contains the status of the 205 transformations associated with an Asset. Each field contains the current 206 status of transformation execution, last invocation time and any error 207 information for the last execution. 208 209 Enums: 210 StateValueValuesEnum: State of the asset transformation. 211 212 Messages: 213 LabelsValue: The labels associated with this resource. Each label is a 214 key-value pair. 215 216 Fields: 217 createTime: The creation time. 218 labels: The labels associated with this resource. Each label is a key- 219 value pair. 220 lastRunStatus: Status of the last asset transformation run. 221 lastRunTime: Time at which the asset transformation was last run. 222 name: The resource name of the asset transformation, in the following 223 form: `projects/{project}/locations/{location}/assetTypes/{type}/assets/ 224 {asset}/transformations/{transformation}`. 225 state: State of the asset transformation. 226 updateTime: The last-modified time. 227 """ 228 229 class StateValueValuesEnum(_messages.Enum): 230 r"""State of the asset transformation. 231 232 Values: 233 STATE_UNKNOWN: <no description> 234 QUEUED: <no description> 235 RUNNING: <no description> 236 COMPLETED: <no description> 237 """ 238 STATE_UNKNOWN = 0 239 QUEUED = 1 240 RUNNING = 2 241 COMPLETED = 3 242 243 @encoding.MapUnrecognizedFields('additionalProperties') 244 class LabelsValue(_messages.Message): 245 r"""The labels associated with this resource. Each label is a key-value 246 pair. 247 248 Messages: 249 AdditionalProperty: An additional property for a LabelsValue object. 250 251 Fields: 252 additionalProperties: Additional properties of type LabelsValue 253 """ 254 255 class AdditionalProperty(_messages.Message): 256 r"""An additional property for a LabelsValue object. 257 258 Fields: 259 key: Name of the additional property. 260 value: A string attribute. 261 """ 262 263 key = _messages.StringField(1) 264 value = _messages.StringField(2) 265 266 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 267 268 createTime = _messages.StringField(1) 269 labels = _messages.MessageField('LabelsValue', 2) 270 lastRunStatus = _messages.MessageField('Status', 3) 271 lastRunTime = _messages.StringField(4) 272 name = _messages.StringField(5) 273 state = _messages.EnumField('StateValueValuesEnum', 6) 274 updateTime = _messages.StringField(7) 275 276 277class AssetType(_messages.Message): 278 r"""An asset type resource. An asset type defines the schema for the 279 assets.It specifies configuration of all the fields present on the asset. 280 281 Messages: 282 IndexedFieldConfigsValue: List of indexed fields (e.g. 283 "metadata.file.url") to make available in searches with their 284 corresponding properties. 285 LabelsValue: The labels associated with this resource. Each label is a 286 key-value pair. 287 LinkConfigsValue: Mapping of a link field name to its configuration. 288 LinkSetConfigsValue: Mapping of a collection of link sets to the set 289 configuration. 290 MetadataConfigsValue: Mapping of field name to its configuration. 291 TransformationConfigsValue: Mapping of a transformation name to its 292 configuration. 293 294 Fields: 295 createTime: The creation time. 296 indexedFieldConfigs: List of indexed fields (e.g. "metadata.file.url") to 297 make available in searches with their corresponding properties. 298 labels: The labels associated with this resource. Each label is a key- 299 value pair. 300 linkConfigs: Mapping of a link field name to its configuration. 301 linkSetConfigs: Mapping of a collection of link sets to the set 302 configuration. 303 metadataConfigs: Mapping of field name to its configuration. 304 name: The resource name of the asset type, in the following form: 305 `projects/{project}/locations/{location}/assetTypes/{type}`. 306 sortOrder: Specifies sort order for all assets of the type. If not 307 specified, assets are sorted in reverse create_time order (newest 308 first). 309 transformationConfigs: Mapping of a transformation name to its 310 configuration. 311 updateTime: The last-modified time. 312 """ 313 314 @encoding.MapUnrecognizedFields('additionalProperties') 315 class IndexedFieldConfigsValue(_messages.Message): 316 r"""List of indexed fields (e.g. "metadata.file.url") to make available in 317 searches with their corresponding properties. 318 319 Messages: 320 AdditionalProperty: An additional property for a 321 IndexedFieldConfigsValue object. 322 323 Fields: 324 additionalProperties: Additional properties of type 325 IndexedFieldConfigsValue 326 """ 327 328 class AdditionalProperty(_messages.Message): 329 r"""An additional property for a IndexedFieldConfigsValue object. 330 331 Fields: 332 key: Name of the additional property. 333 value: A IndexedFieldConfig attribute. 334 """ 335 336 key = _messages.StringField(1) 337 value = _messages.MessageField('IndexedFieldConfig', 2) 338 339 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 340 341 @encoding.MapUnrecognizedFields('additionalProperties') 342 class LabelsValue(_messages.Message): 343 r"""The labels associated with this resource. Each label is a key-value 344 pair. 345 346 Messages: 347 AdditionalProperty: An additional property for a LabelsValue object. 348 349 Fields: 350 additionalProperties: Additional properties of type LabelsValue 351 """ 352 353 class AdditionalProperty(_messages.Message): 354 r"""An additional property for a LabelsValue object. 355 356 Fields: 357 key: Name of the additional property. 358 value: A string attribute. 359 """ 360 361 key = _messages.StringField(1) 362 value = _messages.StringField(2) 363 364 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 365 366 @encoding.MapUnrecognizedFields('additionalProperties') 367 class LinkConfigsValue(_messages.Message): 368 r"""Mapping of a link field name to its configuration. 369 370 Messages: 371 AdditionalProperty: An additional property for a LinkConfigsValue 372 object. 373 374 Fields: 375 additionalProperties: Additional properties of type LinkConfigsValue 376 """ 377 378 class AdditionalProperty(_messages.Message): 379 r"""An additional property for a LinkConfigsValue object. 380 381 Fields: 382 key: Name of the additional property. 383 value: A LinkConfig attribute. 384 """ 385 386 key = _messages.StringField(1) 387 value = _messages.MessageField('LinkConfig', 2) 388 389 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 390 391 @encoding.MapUnrecognizedFields('additionalProperties') 392 class LinkSetConfigsValue(_messages.Message): 393 r"""Mapping of a collection of link sets to the set configuration. 394 395 Messages: 396 AdditionalProperty: An additional property for a LinkSetConfigsValue 397 object. 398 399 Fields: 400 additionalProperties: Additional properties of type LinkSetConfigsValue 401 """ 402 403 class AdditionalProperty(_messages.Message): 404 r"""An additional property for a LinkSetConfigsValue object. 405 406 Fields: 407 key: Name of the additional property. 408 value: A LinkSetConfig attribute. 409 """ 410 411 key = _messages.StringField(1) 412 value = _messages.MessageField('LinkSetConfig', 2) 413 414 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 415 416 @encoding.MapUnrecognizedFields('additionalProperties') 417 class MetadataConfigsValue(_messages.Message): 418 r"""Mapping of field name to its configuration. 419 420 Messages: 421 AdditionalProperty: An additional property for a MetadataConfigsValue 422 object. 423 424 Fields: 425 additionalProperties: Additional properties of type MetadataConfigsValue 426 """ 427 428 class AdditionalProperty(_messages.Message): 429 r"""An additional property for a MetadataConfigsValue object. 430 431 Fields: 432 key: Name of the additional property. 433 value: A MetadataConfig attribute. 434 """ 435 436 key = _messages.StringField(1) 437 value = _messages.MessageField('MetadataConfig', 2) 438 439 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 440 441 @encoding.MapUnrecognizedFields('additionalProperties') 442 class TransformationConfigsValue(_messages.Message): 443 r"""Mapping of a transformation name to its configuration. 444 445 Messages: 446 AdditionalProperty: An additional property for a 447 TransformationConfigsValue object. 448 449 Fields: 450 additionalProperties: Additional properties of type 451 TransformationConfigsValue 452 """ 453 454 class AdditionalProperty(_messages.Message): 455 r"""An additional property for a TransformationConfigsValue object. 456 457 Fields: 458 key: Name of the additional property. 459 value: A TransformationConfig attribute. 460 """ 461 462 key = _messages.StringField(1) 463 value = _messages.MessageField('TransformationConfig', 2) 464 465 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 466 467 createTime = _messages.StringField(1) 468 indexedFieldConfigs = _messages.MessageField('IndexedFieldConfigsValue', 2) 469 labels = _messages.MessageField('LabelsValue', 3) 470 linkConfigs = _messages.MessageField('LinkConfigsValue', 4) 471 linkSetConfigs = _messages.MessageField('LinkSetConfigsValue', 5) 472 metadataConfigs = _messages.MessageField('MetadataConfigsValue', 6) 473 name = _messages.StringField(7) 474 sortOrder = _messages.MessageField('SortOrderConfig', 8) 475 transformationConfigs = _messages.MessageField('TransformationConfigsValue', 9) 476 updateTime = _messages.StringField(10) 477 478 479class AuditConfig(_messages.Message): 480 r"""Specifies the audit configuration for a service. The configuration 481 determines which permission types are logged, and what identities, if any, 482 are exempted from logging. An AuditConfig must have one or more 483 AuditLogConfigs. If there are AuditConfigs for both `allServices` and a 484 specific service, the union of the two AuditConfigs is used for that 485 service: the log_types specified in each AuditConfig are enabled, and the 486 exempted_members in each AuditLogConfig are exempted. Example Policy with 487 multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", 488 "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ 489 "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": 490 "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", 491 "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": 492 "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For 493 sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ 494 logging. It also exempts jose@example.com from DATA_READ logging, and 495 aliya@example.com from DATA_WRITE logging. 496 497 Fields: 498 auditLogConfigs: The configuration for logging of each type of permission. 499 exemptedMembers: A string attribute. 500 service: Specifies a service that will be enabled for audit logging. For 501 example, `storage.googleapis.com`, `cloudsql.googleapis.com`. 502 `allServices` is a special value that covers all services. 503 """ 504 505 auditLogConfigs = _messages.MessageField('AuditLogConfig', 1, repeated=True) 506 exemptedMembers = _messages.StringField(2, repeated=True) 507 service = _messages.StringField(3) 508 509 510class AuditLogConfig(_messages.Message): 511 r"""Provides the configuration for logging a type of permissions. Example: { 512 "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ 513 "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 514 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from 515 DATA_READ logging. 516 517 Enums: 518 LogTypeValueValuesEnum: The log type that this config enables. 519 520 Fields: 521 exemptedMembers: Specifies the identities that do not cause logging for 522 this type of permission. Follows the same format of Binding.members. 523 ignoreChildExemptions: A boolean attribute. 524 logType: The log type that this config enables. 525 """ 526 527 class LogTypeValueValuesEnum(_messages.Enum): 528 r"""The log type that this config enables. 529 530 Values: 531 LOG_TYPE_UNSPECIFIED: Default case. Should never be this. 532 ADMIN_READ: Admin reads. Example: CloudIAM getIamPolicy 533 DATA_WRITE: Data writes. Example: CloudSQL Users create 534 DATA_READ: Data reads. Example: CloudSQL Users list 535 """ 536 LOG_TYPE_UNSPECIFIED = 0 537 ADMIN_READ = 1 538 DATA_WRITE = 2 539 DATA_READ = 3 540 541 exemptedMembers = _messages.StringField(1, repeated=True) 542 ignoreChildExemptions = _messages.BooleanField(2) 543 logType = _messages.EnumField('LogTypeValueValuesEnum', 3) 544 545 546class AuthorizationLoggingOptions(_messages.Message): 547 r"""Authorization-related information used by Cloud Audit Logging. 548 549 Enums: 550 PermissionTypeValueValuesEnum: The type of the permission that was 551 checked. 552 553 Fields: 554 permissionType: The type of the permission that was checked. 555 """ 556 557 class PermissionTypeValueValuesEnum(_messages.Enum): 558 r"""The type of the permission that was checked. 559 560 Values: 561 PERMISSION_TYPE_UNSPECIFIED: Default. Should not be used. 562 ADMIN_READ: A read of admin (meta) data. 563 ADMIN_WRITE: A write of admin (meta) data. 564 DATA_READ: A read of standard data. 565 DATA_WRITE: A write of standard data. 566 """ 567 PERMISSION_TYPE_UNSPECIFIED = 0 568 ADMIN_READ = 1 569 ADMIN_WRITE = 2 570 DATA_READ = 3 571 DATA_WRITE = 4 572 573 permissionType = _messages.EnumField('PermissionTypeValueValuesEnum', 1) 574 575 576class Binding(_messages.Message): 577 r"""Associates `members` with a `role`. 578 579 Fields: 580 bindingId: A string attribute. 581 condition: The condition that is associated with this binding. If the 582 condition evaluates to `true`, then this binding applies to the current 583 request. If the condition evaluates to `false`, then this binding does 584 not apply to the current request. However, a different role binding 585 might grant the same role to one or more of the members in this binding. 586 To learn which resources support conditions in their IAM policies, see 587 the [IAM 588 documentation](https://cloud.google.com/iam/help/conditions/resource- 589 policies). 590 members: Specifies the identities requesting access for a Cloud Platform 591 resource. `members` can have the following values: * `allUsers`: A 592 special identifier that represents anyone who is on the internet; with 593 or without a Google account. * `allAuthenticatedUsers`: A special 594 identifier that represents anyone who is authenticated with a Google 595 account or a service account. * `user:{emailid}`: An email address that 596 represents a specific Google account. For example, `alice@example.com` . 597 * `serviceAccount:{emailid}`: An email address that represents a service 598 account. For example, `my-other-app@appspot.gserviceaccount.com`. * 599 `group:{emailid}`: An email address that represents a Google group. For 600 example, `admins@example.com`. * 601 `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique 602 identifier) representing a user that has been recently deleted. For 603 example, `alice@example.com?uid=123456789012345678901`. If the user is 604 recovered, this value reverts to `user:{emailid}` and the recovered user 605 retains the role in the binding. * 606 `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address 607 (plus unique identifier) representing a service account that has been 608 recently deleted. For example, `my-other- 609 app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the 610 service account is undeleted, this value reverts to 611 `serviceAccount:{emailid}` and the undeleted service account retains the 612 role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An 613 email address (plus unique identifier) representing a Google group that 614 has been recently deleted. For example, 615 `admins@example.com?uid=123456789012345678901`. If the group is 616 recovered, this value reverts to `group:{emailid}` and the recovered 617 group retains the role in the binding. * `domain:{domain}`: The G Suite 618 domain (primary) that represents all the users of that domain. For 619 example, `google.com` or `example.com`. 620 role: Role that is assigned to `members`. For example, `roles/viewer`, 621 `roles/editor`, or `roles/owner`. 622 """ 623 624 bindingId = _messages.StringField(1) 625 condition = _messages.MessageField('Expr', 2) 626 members = _messages.StringField(3, repeated=True) 627 role = _messages.StringField(4) 628 629 630class CancelOperationRequest(_messages.Message): 631 r"""The request message for Operations.CancelOperation.""" 632 633 634class CloudAuditOptions(_messages.Message): 635 r"""Write a Cloud Audit log 636 637 Enums: 638 LogNameValueValuesEnum: The log_name to populate in the Cloud Audit 639 Record. 640 641 Fields: 642 authorizationLoggingOptions: Information used by the Cloud Audit Logging 643 pipeline. 644 logName: The log_name to populate in the Cloud Audit Record. 645 """ 646 647 class LogNameValueValuesEnum(_messages.Enum): 648 r"""The log_name to populate in the Cloud Audit Record. 649 650 Values: 651 UNSPECIFIED_LOG_NAME: Default. Should not be used. 652 ADMIN_ACTIVITY: Corresponds to "cloudaudit.googleapis.com/activity" 653 DATA_ACCESS: Corresponds to "cloudaudit.googleapis.com/data_access" 654 """ 655 UNSPECIFIED_LOG_NAME = 0 656 ADMIN_ACTIVITY = 1 657 DATA_ACCESS = 2 658 659 authorizationLoggingOptions = _messages.MessageField('AuthorizationLoggingOptions', 1) 660 logName = _messages.EnumField('LogNameValueValuesEnum', 2) 661 662 663class ComplexFieldAllowedValues(_messages.Message): 664 r"""A ComplexFieldAllowedValues object. 665 666 Fields: 667 values: A extra_types.JsonValue attribute. 668 """ 669 670 values = _messages.MessageField('extra_types.JsonValue', 1, repeated=True) 671 672 673class ComplexFieldType(_messages.Message): 674 r"""A ComplexFieldType object. 675 676 Fields: 677 allowedValues: If present, metadata values of ComplexFieldType must be 678 within the constraints of allowedValues. 679 required: If true, a value of this complex type must contain this field. 680 type: Type for this field. The type could be one of: - Primitive types 681 ("string", "number", "bool") - Custom complex type. Format: 682 "p/p/l/l/complexTypes/*" - Collections of the above - list(), dict() 683 """ 684 685 allowedValues = _messages.MessageField('ComplexFieldAllowedValues', 1) 686 required = _messages.BooleanField(2) 687 type = _messages.StringField(3) 688 689 690class ComplexType(_messages.Message): 691 r"""A complex type resource. A complex type describes the schema for asset 692 metadata. 693 694 Messages: 695 FieldsValue: Mapping of a field name to its type. 696 LabelsValue: The labels associated with this resource. Each label is a 697 key-value pair. 698 699 Fields: 700 allowUndefinedFields: Allow fields that aren't in complex type schema. 701 createTime: The creation time. 702 fields: Mapping of a field name to its type. 703 labels: The labels associated with this resource. Each label is a key- 704 value pair. 705 name: The resource name of the complex type, in the following form: 706 `projects/{project}/locations/{location}/complexTypes/{type}`. 707 updateTime: The last-modified time. 708 """ 709 710 @encoding.MapUnrecognizedFields('additionalProperties') 711 class FieldsValue(_messages.Message): 712 r"""Mapping of a field name to its type. 713 714 Messages: 715 AdditionalProperty: An additional property for a FieldsValue object. 716 717 Fields: 718 additionalProperties: Additional properties of type FieldsValue 719 """ 720 721 class AdditionalProperty(_messages.Message): 722 r"""An additional property for a FieldsValue object. 723 724 Fields: 725 key: Name of the additional property. 726 value: A ComplexFieldType attribute. 727 """ 728 729 key = _messages.StringField(1) 730 value = _messages.MessageField('ComplexFieldType', 2) 731 732 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 733 734 @encoding.MapUnrecognizedFields('additionalProperties') 735 class LabelsValue(_messages.Message): 736 r"""The labels associated with this resource. Each label is a key-value 737 pair. 738 739 Messages: 740 AdditionalProperty: An additional property for a LabelsValue object. 741 742 Fields: 743 additionalProperties: Additional properties of type LabelsValue 744 """ 745 746 class AdditionalProperty(_messages.Message): 747 r"""An additional property for a LabelsValue object. 748 749 Fields: 750 key: Name of the additional property. 751 value: A string attribute. 752 """ 753 754 key = _messages.StringField(1) 755 value = _messages.StringField(2) 756 757 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 758 759 allowUndefinedFields = _messages.BooleanField(1) 760 createTime = _messages.StringField(2) 761 fields = _messages.MessageField('FieldsValue', 3) 762 labels = _messages.MessageField('LabelsValue', 4) 763 name = _messages.StringField(5) 764 updateTime = _messages.StringField(6) 765 766 767class Condition(_messages.Message): 768 r"""A condition to be met. 769 770 Enums: 771 IamValueValuesEnum: Trusted attributes supplied by the IAM system. 772 OpValueValuesEnum: An operator to apply the subject with. 773 SysValueValuesEnum: Trusted attributes supplied by any service that owns 774 resources and uses the IAM system for access control. 775 776 Fields: 777 iam: Trusted attributes supplied by the IAM system. 778 op: An operator to apply the subject with. 779 svc: Trusted attributes discharged by the service. 780 sys: Trusted attributes supplied by any service that owns resources and 781 uses the IAM system for access control. 782 values: The objects of the condition. 783 """ 784 785 class IamValueValuesEnum(_messages.Enum): 786 r"""Trusted attributes supplied by the IAM system. 787 788 Values: 789 NO_ATTR: Default non-attribute. 790 AUTHORITY: Either principal or (if present) authority selector. 791 ATTRIBUTION: The principal (even if an authority selector is present), 792 which must only be used for attribution, not authorization. 793 SECURITY_REALM: Any of the security realms in the IAMContext 794 (go/security-realms). When used with IN, the condition indicates "any 795 of the request's realms match one of the given values; with NOT_IN, 796 "none of the realms match any of the given values". Note that a value 797 can be: - 'self' (i.e., allow connections from clients that are in the 798 same security realm) - 'self:metro' (i.e., clients that are in the 799 same metro) - 'self:cloud-region' (i.e., allow connections from 800 clients that are in the same cloud region) - 'guardians' (i.e., allow 801 connections from its guardian realms. See go/security-realms- 802 glossary#guardian for more information.) - a realm (e.g., 'campus- 803 abc') - a realm group (e.g., 'realms-for-borg-cell-xx', see: go/realm- 804 groups) A match is determined by a realm group membership check 805 performed by a RealmAclRep object (go/realm-acl-howto). It is not 806 permitted to grant access based on the *absence* of a realm, so realm 807 conditions can only be used in a "positive" context (e.g., ALLOW/IN or 808 DENY/NOT_IN). 809 APPROVER: An approver (distinct from the requester) that has authorized 810 this request. When used with IN, the condition indicates that one of 811 the approvers associated with the request matches the specified 812 principal, or is a member of the specified group. Approvers can only 813 grant additional access, and are thus only used in a strictly positive 814 context (e.g. ALLOW/IN or DENY/NOT_IN). 815 JUSTIFICATION_TYPE: What types of justifications have been supplied with 816 this request. String values should match enum names from 817 security.credentials.JustificationType, e.g. "MANUAL_STRING". It is 818 not permitted to grant access based on the *absence* of a 819 justification, so justification conditions can only be used in a 820 "positive" context (e.g., ALLOW/IN or DENY/NOT_IN). Multiple 821 justifications, e.g., a Buganizer ID and a manually-entered reason, 822 are normal and supported. 823 CREDENTIALS_TYPE: What type of credentials have been supplied with this 824 request. String values should match enum names from 825 security_loas_l2.CredentialsType - currently, only 826 CREDS_TYPE_EMERGENCY is supported. It is not permitted to grant access 827 based on the *absence* of a credentials type, so the conditions can 828 only be used in a "positive" context (e.g., ALLOW/IN or DENY/NOT_IN). 829 CREDS_ASSERTION: EXPERIMENTAL -- DO NOT USE. The conditions can only be 830 used in a "positive" context (e.g., ALLOW/IN or DENY/NOT_IN). 831 """ 832 NO_ATTR = 0 833 AUTHORITY = 1 834 ATTRIBUTION = 2 835 SECURITY_REALM = 3 836 APPROVER = 4 837 JUSTIFICATION_TYPE = 5 838 CREDENTIALS_TYPE = 6 839 CREDS_ASSERTION = 7 840 841 class OpValueValuesEnum(_messages.Enum): 842 r"""An operator to apply the subject with. 843 844 Values: 845 NO_OP: Default no-op. 846 EQUALS: DEPRECATED. Use IN instead. 847 NOT_EQUALS: DEPRECATED. Use NOT_IN instead. 848 IN: The condition is true if the subject (or any element of it if it is 849 a set) matches any of the supplied values. 850 NOT_IN: The condition is true if the subject (or every element of it if 851 it is a set) matches none of the supplied values. 852 DISCHARGED: Subject is discharged 853 """ 854 NO_OP = 0 855 EQUALS = 1 856 NOT_EQUALS = 2 857 IN = 3 858 NOT_IN = 4 859 DISCHARGED = 5 860 861 class SysValueValuesEnum(_messages.Enum): 862 r"""Trusted attributes supplied by any service that owns resources and 863 uses the IAM system for access control. 864 865 Values: 866 NO_ATTR: Default non-attribute type 867 REGION: Region of the resource 868 SERVICE: Service name 869 NAME: Resource name 870 IP: IP address of the caller 871 """ 872 NO_ATTR = 0 873 REGION = 1 874 SERVICE = 2 875 NAME = 3 876 IP = 4 877 878 iam = _messages.EnumField('IamValueValuesEnum', 1) 879 op = _messages.EnumField('OpValueValuesEnum', 2) 880 svc = _messages.StringField(3) 881 sys = _messages.EnumField('SysValueValuesEnum', 4) 882 values = _messages.StringField(5, repeated=True) 883 884 885class CounterOptions(_messages.Message): 886 r"""Increment a streamz counter with the specified metric and field names. 887 Metric names should start with a '/', generally be lowercase-only, and end 888 in "_count". Field names should not contain an initial slash. The actual 889 exported metric names will have "/iam/policy" prepended. Field names 890 correspond to IAM request parameters and field values are their respective 891 values. Supported field names: - "authority", which is "[token]" if 892 IAMContext.token is present, otherwise the value of 893 IAMContext.authority_selector if present, and otherwise a representation of 894 IAMContext.principal; or - "iam_principal", a representation of 895 IAMContext.principal even if a token or authority selector is present; or - 896 "" (empty string), resulting in a counter with no fields. Examples: counter 897 { metric: "/debug_access_count" field: "iam_principal" } ==> increment 898 counter /iam/policy/debug_access_count {iam_principal=[value of 899 IAMContext.principal]} 900 901 Fields: 902 customFields: Custom fields. 903 field: The field value to attribute. 904 metric: The metric to update. 905 """ 906 907 customFields = _messages.MessageField('CustomField', 1, repeated=True) 908 field = _messages.StringField(2) 909 metric = _messages.StringField(3) 910 911 912class CustomField(_messages.Message): 913 r"""Custom fields. These can be used to create a counter with arbitrary 914 field/value pairs. See: go/rpcsp-custom-fields. 915 916 Fields: 917 name: Name is the field name. 918 value: Value is the field value. It is important that in contrast to the 919 CounterOptions.field, the value here is a constant that is not derived 920 from the IAMContext. 921 """ 922 923 name = _messages.StringField(1) 924 value = _messages.StringField(2) 925 926 927class DataAccessOptions(_messages.Message): 928 r"""Write a Data Access (Gin) log 929 930 Enums: 931 LogModeValueValuesEnum: 932 933 Fields: 934 logMode: A LogModeValueValuesEnum attribute. 935 """ 936 937 class LogModeValueValuesEnum(_messages.Enum): 938 r"""LogModeValueValuesEnum enum type. 939 940 Values: 941 LOG_MODE_UNSPECIFIED: Client is not required to write a partial Gin log 942 immediately after the authorization check. If client chooses to write 943 one and it fails, client may either fail open (allow the operation to 944 continue) or fail closed (handle as a DENY outcome). 945 LOG_FAIL_CLOSED: The application's operation in the context of which 946 this authorization check is being made may only be performed if it is 947 successfully logged to Gin. For instance, the authorization library 948 may satisfy this obligation by emitting a partial log entry at 949 authorization check time and only returning ALLOW to the application 950 if it succeeds. If a matching Rule has this directive, but the client 951 has not indicated that it will honor such requirements, then the IAM 952 check will result in authorization failure by setting 953 CheckPolicyResponse.success=false. 954 """ 955 LOG_MODE_UNSPECIFIED = 0 956 LOG_FAIL_CLOSED = 1 957 958 logMode = _messages.EnumField('LogModeValueValuesEnum', 1) 959 960 961class Empty(_messages.Message): 962 r"""A generic empty message that you can re-use to avoid defining duplicated 963 empty messages in your APIs. A typical example is to use it as the request 964 or the response type of an API method. For instance: service Foo { rpc 965 Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON 966 representation for `Empty` is empty JSON object `{}`. 967 """ 968 969 970 971class Expr(_messages.Message): 972 r"""Represents a textual expression in the Common Expression Language (CEL) 973 syntax. CEL is a C-like expression language. The syntax and semantics of CEL 974 are documented at https://github.com/google/cel-spec. Example (Comparison): 975 title: "Summary size limit" description: "Determines if a summary is less 976 than 100 chars" expression: "document.summary.size() < 100" Example 977 (Equality): title: "Requestor is owner" description: "Determines if 978 requestor is the document owner" expression: "document.owner == 979 request.auth.claims.email" Example (Logic): title: "Public documents" 980 description: "Determine whether the document should be publicly visible" 981 expression: "document.type != 'private' && document.type != 'internal'" 982 Example (Data Manipulation): title: "Notification string" description: 983 "Create a notification string with a timestamp." expression: "'New message 984 received at ' + string(document.create_time)" The exact variables and 985 functions that may be referenced within an expression are determined by the 986 service that evaluates it. See the service documentation for additional 987 information. 988 989 Fields: 990 description: Optional. Description of the expression. This is a longer 991 text which describes the expression, e.g. when hovered over it in a UI. 992 expression: Textual representation of an expression in Common Expression 993 Language syntax. 994 location: Optional. String indicating the location of the expression for 995 error reporting, e.g. a file name and a position in the file. 996 title: Optional. Title for the expression, i.e. a short string describing 997 its purpose. This can be used e.g. in UIs which allow to enter the 998 expression. 999 """ 1000 1001 description = _messages.StringField(1) 1002 expression = _messages.StringField(2) 1003 location = _messages.StringField(3) 1004 title = _messages.StringField(4) 1005 1006 1007class IndexedFieldConfig(_messages.Message): 1008 r"""A IndexedFieldConfig object. 1009 1010 Fields: 1011 expression: Expression to evaluate in the context of an indexed property 1012 defaults to the property name. 1013 fullTextSearch: Enable full text search - strings only. 1014 """ 1015 1016 expression = _messages.StringField(1) 1017 fullTextSearch = _messages.BooleanField(2) 1018 1019 1020class LinkConfig(_messages.Message): 1021 r"""A LinkConfig object. 1022 1023 Fields: 1024 assetType: Reference to the asset type name of the linked asset, in the 1025 following form: 1026 `projects/{project}/locations/{location}/assetTypes/{name}`. 1027 cascadeOnDelete: If true, the linked assets should be deleted upon 1028 deletion of this asset. 1029 required: If true, this asset link is required during asset creation. 1030 """ 1031 1032 assetType = _messages.StringField(1) 1033 cascadeOnDelete = _messages.BooleanField(2) 1034 required = _messages.BooleanField(3) 1035 1036 1037class LinkSet(_messages.Message): 1038 r"""A LinkSet object. 1039 1040 Messages: 1041 LinksValue: Mapping of a qualifier to an asset link. Asset Link Format: 1042 "p/p/l/l/assets/" 1043 1044 Fields: 1045 links: Mapping of a qualifier to an asset link. Asset Link Format: 1046 "p/p/l/l/assets/" 1047 """ 1048 1049 @encoding.MapUnrecognizedFields('additionalProperties') 1050 class LinksValue(_messages.Message): 1051 r"""Mapping of a qualifier to an asset link. Asset Link Format: 1052 "p/p/l/l/assets/" 1053 1054 Messages: 1055 AdditionalProperty: An additional property for a LinksValue object. 1056 1057 Fields: 1058 additionalProperties: Additional properties of type LinksValue 1059 """ 1060 1061 class AdditionalProperty(_messages.Message): 1062 r"""An additional property for a LinksValue object. 1063 1064 Fields: 1065 key: Name of the additional property. 1066 value: A Asset attribute. 1067 """ 1068 1069 key = _messages.StringField(1) 1070 value = _messages.MessageField('Asset', 2) 1071 1072 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1073 1074 links = _messages.MessageField('LinksValue', 1) 1075 1076 1077class LinkSetConfig(_messages.Message): 1078 r"""A LinkSetConfig object. 1079 1080 Fields: 1081 assetType: Reference to the asset type name for the type of the assets in 1082 this set, in the following form: 1083 `projects/{project}/locations/{location}/assetTypes/{name}`. 1084 cascadeOnDelete: If true, all the linked assets should be deleted upon 1085 deletion of this asset. 1086 """ 1087 1088 assetType = _messages.StringField(1) 1089 cascadeOnDelete = _messages.BooleanField(2) 1090 1091 1092class ListAssetTransformationsResponse(_messages.Message): 1093 r"""Response message for 1094 AssetTransformationsService.ListAssetTransformations. 1095 1096 Fields: 1097 assetTransformations: The list of transformations. 1098 nextPageToken: Token to retrieve the next page of results, or empty if 1099 there are no more results in the list. 1100 """ 1101 1102 assetTransformations = _messages.MessageField('AssetTransformation', 1, repeated=True) 1103 nextPageToken = _messages.StringField(2) 1104 1105 1106class ListAssetTypesResponse(_messages.Message): 1107 r"""Response message for AssetTypesService.ListAssetTypes. 1108 1109 Fields: 1110 assetTypes: The list of asset types. 1111 nextPageToken: Token to retrieve the next page of results, or empty if 1112 there are no more results in the list. 1113 unreachable: Locations that could not be reached. 1114 """ 1115 1116 assetTypes = _messages.MessageField('AssetType', 1, repeated=True) 1117 nextPageToken = _messages.StringField(2) 1118 unreachable = _messages.StringField(3, repeated=True) 1119 1120 1121class ListAssetsResponse(_messages.Message): 1122 r"""Response message for AssetsService.ListAssets. 1123 1124 Fields: 1125 assets: The list of assets. 1126 nextPageToken: Token to retrieve the next page of results, or empty if 1127 there are no more results in the list. 1128 unreachable: Locations that could not be reached. 1129 """ 1130 1131 assets = _messages.MessageField('Asset', 1, repeated=True) 1132 nextPageToken = _messages.StringField(2) 1133 unreachable = _messages.StringField(3, repeated=True) 1134 1135 1136class ListComplexTypesResponse(_messages.Message): 1137 r"""Response message for ComplexTypesService.ListComplexTypes. 1138 1139 Fields: 1140 complexTypes: The list of complex types. 1141 nextPageToken: Token to retrieve the next page of results, or empty if 1142 there are no more results in the list. 1143 unreachable: Locations that could not be reached. 1144 """ 1145 1146 complexTypes = _messages.MessageField('ComplexType', 1, repeated=True) 1147 nextPageToken = _messages.StringField(2) 1148 unreachable = _messages.StringField(3, repeated=True) 1149 1150 1151class ListLocationsResponse(_messages.Message): 1152 r"""The response message for Locations.ListLocations. 1153 1154 Fields: 1155 locations: A list of locations that matches the specified filter in the 1156 request. 1157 nextPageToken: The standard List next-page token. 1158 """ 1159 1160 locations = _messages.MessageField('Location', 1, repeated=True) 1161 nextPageToken = _messages.StringField(2) 1162 1163 1164class ListOperationsResponse(_messages.Message): 1165 r"""The response message for Operations.ListOperations. 1166 1167 Fields: 1168 nextPageToken: The standard List next-page token. 1169 operations: A list of operations that matches the specified filter in the 1170 request. 1171 """ 1172 1173 nextPageToken = _messages.StringField(1) 1174 operations = _messages.MessageField('Operation', 2, repeated=True) 1175 1176 1177class ListTransformersResponse(_messages.Message): 1178 r"""Response message for TransformersService.ListTransformers. 1179 1180 Fields: 1181 nextPageToken: Token to retrieve the next page of results, or empty if 1182 there are no more results in the list. 1183 transformers: The list of transformers. 1184 unreachable: Locations that could not be reached. 1185 """ 1186 1187 nextPageToken = _messages.StringField(1) 1188 transformers = _messages.MessageField('Transformer', 2, repeated=True) 1189 unreachable = _messages.StringField(3, repeated=True) 1190 1191 1192class Location(_messages.Message): 1193 r"""A resource that represents Google Cloud Platform location. 1194 1195 Messages: 1196 LabelsValue: Cross-service attributes for the location. For example 1197 {"cloud.googleapis.com/region": "us-east1"} 1198 MetadataValue: Service-specific metadata. For example the available 1199 capacity at the given location. 1200 1201 Fields: 1202 displayName: The friendly name for this location, typically a nearby city 1203 name. For example, "Tokyo". 1204 labels: Cross-service attributes for the location. For example 1205 {"cloud.googleapis.com/region": "us-east1"} 1206 locationId: The canonical id for this location. For example: `"us-east1"`. 1207 metadata: Service-specific metadata. For example the available capacity at 1208 the given location. 1209 name: Resource name for the location, which may vary between 1210 implementations. For example: `"projects/example-project/locations/us- 1211 east1"` 1212 """ 1213 1214 @encoding.MapUnrecognizedFields('additionalProperties') 1215 class LabelsValue(_messages.Message): 1216 r"""Cross-service attributes for the location. For example 1217 {"cloud.googleapis.com/region": "us-east1"} 1218 1219 Messages: 1220 AdditionalProperty: An additional property for a LabelsValue object. 1221 1222 Fields: 1223 additionalProperties: Additional properties of type LabelsValue 1224 """ 1225 1226 class AdditionalProperty(_messages.Message): 1227 r"""An additional property for a LabelsValue object. 1228 1229 Fields: 1230 key: Name of the additional property. 1231 value: A string attribute. 1232 """ 1233 1234 key = _messages.StringField(1) 1235 value = _messages.StringField(2) 1236 1237 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1238 1239 @encoding.MapUnrecognizedFields('additionalProperties') 1240 class MetadataValue(_messages.Message): 1241 r"""Service-specific metadata. For example the available capacity at the 1242 given location. 1243 1244 Messages: 1245 AdditionalProperty: An additional property for a MetadataValue object. 1246 1247 Fields: 1248 additionalProperties: Properties of the object. Contains field @type 1249 with type URL. 1250 """ 1251 1252 class AdditionalProperty(_messages.Message): 1253 r"""An additional property for a MetadataValue object. 1254 1255 Fields: 1256 key: Name of the additional property. 1257 value: A extra_types.JsonValue attribute. 1258 """ 1259 1260 key = _messages.StringField(1) 1261 value = _messages.MessageField('extra_types.JsonValue', 2) 1262 1263 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1264 1265 displayName = _messages.StringField(1) 1266 labels = _messages.MessageField('LabelsValue', 2) 1267 locationId = _messages.StringField(3) 1268 metadata = _messages.MessageField('MetadataValue', 4) 1269 name = _messages.StringField(5) 1270 1271 1272class LogConfig(_messages.Message): 1273 r"""Specifies what kind of log the caller must write 1274 1275 Fields: 1276 cloudAudit: Cloud audit options. 1277 counter: Counter options. 1278 dataAccess: Data access options. 1279 """ 1280 1281 cloudAudit = _messages.MessageField('CloudAuditOptions', 1) 1282 counter = _messages.MessageField('CounterOptions', 2) 1283 dataAccess = _messages.MessageField('DataAccessOptions', 3) 1284 1285 1286class MediaassetProjectsLocationsAssetTypesAssetsCreateRequest(_messages.Message): 1287 r"""A MediaassetProjectsLocationsAssetTypesAssetsCreateRequest object. 1288 1289 Fields: 1290 asset: A Asset resource to be passed as the request body. 1291 assetId: The ID of the asset resource to be created. 1292 parent: The parent resource name, in the following form: 1293 `projects/{project}/locations/{location}/assetTypes/{type}`. 1294 """ 1295 1296 asset = _messages.MessageField('Asset', 1) 1297 assetId = _messages.StringField(2) 1298 parent = _messages.StringField(3, required=True) 1299 1300 1301class MediaassetProjectsLocationsAssetTypesAssetsDeleteRequest(_messages.Message): 1302 r"""A MediaassetProjectsLocationsAssetTypesAssetsDeleteRequest object. 1303 1304 Fields: 1305 etag: The current etag of the asset. If an etag is provided and does not 1306 match the current etag of the asset, deletion will be blocked and a 1307 FAILED_PRECONDITION error will be returned. 1308 name: The name of the asset to delete, in the following form: `projects/{p 1309 roject}/locations/{location}/assetTypes/{type}/assets/{asset}`. 1310 requestId: An optional request ID to identify requests. Specify a unique 1311 request ID so that if you must retry your request, the server will know 1312 to ignore the request if it has already been completed. The server will 1313 guarantee that for at least 60 minutes after the first request. For 1314 example, consider a situation where you make an initial request and t he 1315 request times out. If you make the request again with the same request 1316 ID, the server can check if original operation with the same request ID 1317 was received, and if so, will ignore the second request. This prevents 1318 clients from accidentally creating duplicate commitments. The request ID 1319 must be a valid UUID with the exception that zero UUID is not supported 1320 (00000000-0000-0000-0000-000000000000). 1321 """ 1322 1323 etag = _messages.StringField(1) 1324 name = _messages.StringField(2, required=True) 1325 requestId = _messages.StringField(3) 1326 1327 1328class MediaassetProjectsLocationsAssetTypesAssetsGetIamPolicyRequest(_messages.Message): 1329 r"""A MediaassetProjectsLocationsAssetTypesAssetsGetIamPolicyRequest object. 1330 1331 Fields: 1332 options_requestedPolicyVersion: Optional. The policy format version to be 1333 returned. Valid values are 0, 1, and 3. Requests specifying an invalid 1334 value will be rejected. Requests for policies with any conditional 1335 bindings must specify version 3. Policies without any conditional 1336 bindings may specify any valid value or leave the field unset. To learn 1337 which resources support conditions in their IAM policies, see the [IAM 1338 documentation](https://cloud.google.com/iam/help/conditions/resource- 1339 policies). 1340 resource: REQUIRED: The resource for which the policy is being requested. 1341 See the operation documentation for the appropriate value for this 1342 field. 1343 """ 1344 1345 options_requestedPolicyVersion = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1346 resource = _messages.StringField(2, required=True) 1347 1348 1349class MediaassetProjectsLocationsAssetTypesAssetsGetRequest(_messages.Message): 1350 r"""A MediaassetProjectsLocationsAssetTypesAssetsGetRequest object. 1351 1352 Fields: 1353 name: The name of the asset to retrieve, in the following form: `projects/ 1354 {project}/locations/{location}/assetTypes/{type}/assets/{asset}`. 1355 readMask: Extra fields to be poplulated as part of the asset resource in 1356 the response. Currently, this only supports populating asset metadata 1357 (no wildcards and no contents of the entire asset). 1358 """ 1359 1360 name = _messages.StringField(1, required=True) 1361 readMask = _messages.StringField(2) 1362 1363 1364class MediaassetProjectsLocationsAssetTypesAssetsListRequest(_messages.Message): 1365 r"""A MediaassetProjectsLocationsAssetTypesAssetsListRequest object. 1366 1367 Fields: 1368 filter: The filter to apply to list results. 1369 pageSize: The maximum number of items to return. If unspecified, server 1370 will pick an appropriate default. Server may return fewer items than 1371 requested. A caller should only rely on response's next_page_token to 1372 determine if there are more realms left to be queried. 1373 pageToken: The next_page_token value returned from a previous List 1374 request, if any. 1375 parent: The parent resource name, in the following form: 1376 `projects/{project}/locations/{location}/assetTypes/{type}`. 1377 readMask: Extra fields to be poplulated as part of the asset resource in 1378 the response. Currently, this only supports populating asset metadata 1379 (no wildcards and no contents of the entire asset). 1380 """ 1381 1382 filter = _messages.StringField(1) 1383 pageSize = _messages.IntegerField(2, variant=_messages.Variant.INT32) 1384 pageToken = _messages.StringField(3) 1385 parent = _messages.StringField(4, required=True) 1386 readMask = _messages.StringField(5) 1387 1388 1389class MediaassetProjectsLocationsAssetTypesAssetsLroCreateRequest(_messages.Message): 1390 r"""A MediaassetProjectsLocationsAssetTypesAssetsLroCreateRequest object. 1391 1392 Fields: 1393 asset: A Asset resource to be passed as the request body. 1394 assetId: The ID of the asset resource to be created. 1395 parent: The parent resource name, in the following form: 1396 `projects/{project}/locations/{location}/assetTypes/{type}`. 1397 """ 1398 1399 asset = _messages.MessageField('Asset', 1) 1400 assetId = _messages.StringField(2) 1401 parent = _messages.StringField(3, required=True) 1402 1403 1404class MediaassetProjectsLocationsAssetTypesAssetsLroDeleteRequest(_messages.Message): 1405 r"""A MediaassetProjectsLocationsAssetTypesAssetsLroDeleteRequest object. 1406 1407 Fields: 1408 etag: The current etag of the asset. If an etag is provided and does not 1409 match the current etag of the asset, deletion will be blocked and a 1410 FAILED_PRECONDITION error will be returned. 1411 name: The name of the asset to delete, in the following form: `projects/{p 1412 roject}/locations/{location}/assetTypes/{type}/assets/{asset}`. 1413 requestId: An optional request ID to identify requests. Specify a unique 1414 request ID so that if you must retry your request, the server will know 1415 to ignore the request if it has already been completed. The server will 1416 guarantee that for at least 60 minutes after the first request. For 1417 example, consider a situation where you make an initial request and t he 1418 request times out. If you make the request again with the same request 1419 ID, the server can check if original operation with the same request ID 1420 was received, and if so, will ignore the second request. This prevents 1421 clients from accidentally creating duplicate commitments. The request ID 1422 must be a valid UUID with the exception that zero UUID is not supported 1423 (00000000-0000-0000-0000-000000000000). 1424 """ 1425 1426 etag = _messages.StringField(1) 1427 name = _messages.StringField(2, required=True) 1428 requestId = _messages.StringField(3) 1429 1430 1431class MediaassetProjectsLocationsAssetTypesAssetsLroUpdateRequest(_messages.Message): 1432 r"""A MediaassetProjectsLocationsAssetTypesAssetsLroUpdateRequest object. 1433 1434 Fields: 1435 asset: A Asset resource to be passed as the request body. 1436 name: The resource name of the asset, in the following form: `projects/{pr 1437 oject}/locations/{location}/assetTypes/{type}/assets/{asset}`. 1438 requestId: An optional request ID to identify requests. Specify a unique 1439 request ID so that if you must retry your request, the server will know 1440 to ignore the request if it has already been completed. The server will 1441 guarantee that for at least 60 minutes since the first request. For 1442 example, consider a situation where you make an initial request and t he 1443 request times out. If you make the request again with the same request 1444 ID, the server can check if original operation with the same request ID 1445 was received, and if so, will ignore the second request. This prevents 1446 clients from accidentally creating duplicate commitments. The request ID 1447 must be a valid UUID with the exception that zero UUID is not supported 1448 (00000000-0000-0000-0000-000000000000). 1449 updateMask: Required. Field mask is used to specify the fields to be 1450 overwritten in the Asset resource by the update. The fields specified in 1451 the update_mask are relative to the resource, not the full request. A 1452 field will be overwritten if it is in the mask. If the user does not 1453 provide a mask then all fields will be overwritten. 1454 """ 1455 1456 asset = _messages.MessageField('Asset', 1) 1457 name = _messages.StringField(2, required=True) 1458 requestId = _messages.StringField(3) 1459 updateMask = _messages.StringField(4) 1460 1461 1462class MediaassetProjectsLocationsAssetTypesAssetsPatchRequest(_messages.Message): 1463 r"""A MediaassetProjectsLocationsAssetTypesAssetsPatchRequest object. 1464 1465 Fields: 1466 asset: A Asset resource to be passed as the request body. 1467 name: The resource name of the asset, in the following form: `projects/{pr 1468 oject}/locations/{location}/assetTypes/{type}/assets/{asset}`. 1469 requestId: An optional request ID to identify requests. Specify a unique 1470 request ID so that if you must retry your request, the server will know 1471 to ignore the request if it has already been completed. The server will 1472 guarantee that for at least 60 minutes since the first request. For 1473 example, consider a situation where you make an initial request and t he 1474 request times out. If you make the request again with the same request 1475 ID, the server can check if original operation with the same request ID 1476 was received, and if so, will ignore the second request. This prevents 1477 clients from accidentally creating duplicate commitments. The request ID 1478 must be a valid UUID with the exception that zero UUID is not supported 1479 (00000000-0000-0000-0000-000000000000). 1480 updateMask: Required. Field mask is used to specify the fields to be 1481 overwritten in the Asset resource by the update. The fields specified in 1482 the update_mask are relative to the resource, not the full request. A 1483 field will be overwritten if it is in the mask. If the user does not 1484 provide a mask then all fields will be overwritten. 1485 """ 1486 1487 asset = _messages.MessageField('Asset', 1) 1488 name = _messages.StringField(2, required=True) 1489 requestId = _messages.StringField(3) 1490 updateMask = _messages.StringField(4) 1491 1492 1493class MediaassetProjectsLocationsAssetTypesAssetsSetIamPolicyRequest(_messages.Message): 1494 r"""A MediaassetProjectsLocationsAssetTypesAssetsSetIamPolicyRequest object. 1495 1496 Fields: 1497 resource: REQUIRED: The resource for which the policy is being specified. 1498 See the operation documentation for the appropriate value for this 1499 field. 1500 setIamPolicyRequest: A SetIamPolicyRequest resource to be passed as the 1501 request body. 1502 """ 1503 1504 resource = _messages.StringField(1, required=True) 1505 setIamPolicyRequest = _messages.MessageField('SetIamPolicyRequest', 2) 1506 1507 1508class MediaassetProjectsLocationsAssetTypesAssetsTestIamPermissionsRequest(_messages.Message): 1509 r"""A MediaassetProjectsLocationsAssetTypesAssetsTestIamPermissionsRequest 1510 object. 1511 1512 Fields: 1513 resource: REQUIRED: The resource for which the policy detail is being 1514 requested. See the operation documentation for the appropriate value for 1515 this field. 1516 testIamPermissionsRequest: A TestIamPermissionsRequest resource to be 1517 passed as the request body. 1518 """ 1519 1520 resource = _messages.StringField(1, required=True) 1521 testIamPermissionsRequest = _messages.MessageField('TestIamPermissionsRequest', 2) 1522 1523 1524class MediaassetProjectsLocationsAssetTypesAssetsTransformationsGetIamPolicyRequest(_messages.Message): 1525 r"""A MediaassetProjectsLocationsAssetTypesAssetsTransformationsGetIamPolicy 1526 Request object. 1527 1528 Fields: 1529 options_requestedPolicyVersion: Optional. The policy format version to be 1530 returned. Valid values are 0, 1, and 3. Requests specifying an invalid 1531 value will be rejected. Requests for policies with any conditional 1532 bindings must specify version 3. Policies without any conditional 1533 bindings may specify any valid value or leave the field unset. To learn 1534 which resources support conditions in their IAM policies, see the [IAM 1535 documentation](https://cloud.google.com/iam/help/conditions/resource- 1536 policies). 1537 resource: REQUIRED: The resource for which the policy is being requested. 1538 See the operation documentation for the appropriate value for this 1539 field. 1540 """ 1541 1542 options_requestedPolicyVersion = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1543 resource = _messages.StringField(2, required=True) 1544 1545 1546class MediaassetProjectsLocationsAssetTypesAssetsTransformationsGetRequest(_messages.Message): 1547 r"""A MediaassetProjectsLocationsAssetTypesAssetsTransformationsGetRequest 1548 object. 1549 1550 Fields: 1551 name: The name of the asset transformation to retrieve, in the following 1552 form: `projects/{project}/locations/{location}/assetTypes/{type}/assets/ 1553 {asset}/transformations/{transformation}`. 1554 """ 1555 1556 name = _messages.StringField(1, required=True) 1557 1558 1559class MediaassetProjectsLocationsAssetTypesAssetsTransformationsListRequest(_messages.Message): 1560 r"""A MediaassetProjectsLocationsAssetTypesAssetsTransformationsListRequest 1561 object. 1562 1563 Fields: 1564 filter: The filter to apply to list results. 1565 orderBy: Specifies the ordering of results following syntax at 1566 https://cloud.google.com/apis/design/design_patterns#sorting_order. 1567 pageSize: The maximum number of items to return. If unspecified, server 1568 will pick an appropriate default. Server may return fewer items than 1569 requested. A caller should only rely on response's next_page_token to 1570 determine if there are more realms left to be queried. 1571 pageToken: The next_page_token value returned from a previous List 1572 request, if any. 1573 parent: The parent resource name, in the following form: `projects/{projec 1574 t}/locations/{location}/assetTypes/{type}/assets/{asset}`. 1575 """ 1576 1577 filter = _messages.StringField(1) 1578 orderBy = _messages.StringField(2) 1579 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 1580 pageToken = _messages.StringField(4) 1581 parent = _messages.StringField(5, required=True) 1582 1583 1584class MediaassetProjectsLocationsAssetTypesAssetsTransformationsSetIamPolicyRequest(_messages.Message): 1585 r"""A MediaassetProjectsLocationsAssetTypesAssetsTransformationsSetIamPolicy 1586 Request object. 1587 1588 Fields: 1589 resource: REQUIRED: The resource for which the policy is being specified. 1590 See the operation documentation for the appropriate value for this 1591 field. 1592 setIamPolicyRequest: A SetIamPolicyRequest resource to be passed as the 1593 request body. 1594 """ 1595 1596 resource = _messages.StringField(1, required=True) 1597 setIamPolicyRequest = _messages.MessageField('SetIamPolicyRequest', 2) 1598 1599 1600class MediaassetProjectsLocationsAssetTypesAssetsTransformationsTestIamPermissionsRequest(_messages.Message): 1601 r"""A MediaassetProjectsLocationsAssetTypesAssetsTransformationsTestIamPermi 1602 ssionsRequest object. 1603 1604 Fields: 1605 resource: REQUIRED: The resource for which the policy detail is being 1606 requested. See the operation documentation for the appropriate value for 1607 this field. 1608 testIamPermissionsRequest: A TestIamPermissionsRequest resource to be 1609 passed as the request body. 1610 """ 1611 1612 resource = _messages.StringField(1, required=True) 1613 testIamPermissionsRequest = _messages.MessageField('TestIamPermissionsRequest', 2) 1614 1615 1616class MediaassetProjectsLocationsAssetTypesCreateRequest(_messages.Message): 1617 r"""A MediaassetProjectsLocationsAssetTypesCreateRequest object. 1618 1619 Fields: 1620 assetType: A AssetType resource to be passed as the request body. 1621 assetTypeId: The ID of the asset type resource to be created. 1622 parent: The parent resource name, in the following form: 1623 `projects/{project}/locations/{location}`. 1624 requestId: An optional request ID to identify requests. Specify a unique 1625 request ID so that if you must retry your request, the server will know 1626 to ignore the request if it has already been completed. The server will 1627 guarantee that for at least 60 minutes since the first request. For 1628 example, consider a situation where you make an initial request and t he 1629 request times out. If you make the request again with the same request 1630 ID, the server can check if original operation with the same request ID 1631 was received, and if so, will ignore the second request. This prevents 1632 clients from accidentally creating duplicate commitments. The request ID 1633 must be a valid UUID with the exception that zero UUID is not supported 1634 (00000000-0000-0000-0000-000000000000). 1635 """ 1636 1637 assetType = _messages.MessageField('AssetType', 1) 1638 assetTypeId = _messages.StringField(2) 1639 parent = _messages.StringField(3, required=True) 1640 requestId = _messages.StringField(4) 1641 1642 1643class MediaassetProjectsLocationsAssetTypesDeleteRequest(_messages.Message): 1644 r"""A MediaassetProjectsLocationsAssetTypesDeleteRequest object. 1645 1646 Fields: 1647 name: The name of the asset type to delete, in the following form: 1648 `projects/{project}/locations/{location}/assetTypes/{type}`. 1649 requestId: An optional request ID to identify requests. Specify a unique 1650 request ID so that if you must retry your request, the server will know 1651 to ignore the request if it has already been completed. The server will 1652 guarantee that for at least 60 minutes after the first request. For 1653 example, consider a situation where you make an initial request and t he 1654 request times out. If you make the request again with the same request 1655 ID, the server can check if original operation with the same request ID 1656 was received, and if so, will ignore the second request. This prevents 1657 clients from accidentally creating duplicate commitments. The request ID 1658 must be a valid UUID with the exception that zero UUID is not supported 1659 (00000000-0000-0000-0000-000000000000). 1660 """ 1661 1662 name = _messages.StringField(1, required=True) 1663 requestId = _messages.StringField(2) 1664 1665 1666class MediaassetProjectsLocationsAssetTypesGetIamPolicyRequest(_messages.Message): 1667 r"""A MediaassetProjectsLocationsAssetTypesGetIamPolicyRequest object. 1668 1669 Fields: 1670 options_requestedPolicyVersion: Optional. The policy format version to be 1671 returned. Valid values are 0, 1, and 3. Requests specifying an invalid 1672 value will be rejected. Requests for policies with any conditional 1673 bindings must specify version 3. Policies without any conditional 1674 bindings may specify any valid value or leave the field unset. To learn 1675 which resources support conditions in their IAM policies, see the [IAM 1676 documentation](https://cloud.google.com/iam/help/conditions/resource- 1677 policies). 1678 resource: REQUIRED: The resource for which the policy is being requested. 1679 See the operation documentation for the appropriate value for this 1680 field. 1681 """ 1682 1683 options_requestedPolicyVersion = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1684 resource = _messages.StringField(2, required=True) 1685 1686 1687class MediaassetProjectsLocationsAssetTypesGetRequest(_messages.Message): 1688 r"""A MediaassetProjectsLocationsAssetTypesGetRequest object. 1689 1690 Fields: 1691 name: The name of the asset type to retrieve, in the following form: 1692 `projects/{project}/locations/{location}/assetTypes/{type}`. 1693 """ 1694 1695 name = _messages.StringField(1, required=True) 1696 1697 1698class MediaassetProjectsLocationsAssetTypesListRequest(_messages.Message): 1699 r"""A MediaassetProjectsLocationsAssetTypesListRequest object. 1700 1701 Fields: 1702 filter: The filter to apply to list results. 1703 orderBy: Specifies the ordering of results following syntax at 1704 https://cloud.google.com/apis/design/design_patterns#sorting_order. 1705 pageSize: The maximum number of items to return. If unspecified, server 1706 will pick an appropriate default. Server may return fewer items than 1707 requested. A caller should only rely on response's next_page_token to 1708 determine if there are more realms left to be queried. 1709 pageToken: The next_page_token value returned from a previous List 1710 request, if any. 1711 parent: The parent resource name, in the following form: 1712 `projects/{project}/locations/{location}`. 1713 """ 1714 1715 filter = _messages.StringField(1) 1716 orderBy = _messages.StringField(2) 1717 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 1718 pageToken = _messages.StringField(4) 1719 parent = _messages.StringField(5, required=True) 1720 1721 1722class MediaassetProjectsLocationsAssetTypesPatchRequest(_messages.Message): 1723 r"""A MediaassetProjectsLocationsAssetTypesPatchRequest object. 1724 1725 Fields: 1726 assetType: A AssetType resource to be passed as the request body. 1727 name: The resource name of the asset type, in the following form: 1728 `projects/{project}/locations/{location}/assetTypes/{type}`. 1729 requestId: An optional request ID to identify requests. Specify a unique 1730 request ID so that if you must retry your request, the server will know 1731 to ignore the request if it has already been completed. The server will 1732 guarantee that for at least 60 minutes since the first request. For 1733 example, consider a situation where you make an initial request and t he 1734 request times out. If you make the request again with the same request 1735 ID, the server can check if original operation with the same request ID 1736 was received, and if so, will ignore the second request. This prevents 1737 clients from accidentally creating duplicate commitments. The request ID 1738 must be a valid UUID with the exception that zero UUID is not supported 1739 (00000000-0000-0000-0000-000000000000). 1740 updateMask: Field mask is used to specify the fields to be overwritten in 1741 the AssetType resource by the update. The fields specified in the 1742 update_mask are relative to the resource, not the full request. A field 1743 will be overwritten if it is in the mask. If the user does not provide a 1744 mask then all fields will be overwritten. 1745 """ 1746 1747 assetType = _messages.MessageField('AssetType', 1) 1748 name = _messages.StringField(2, required=True) 1749 requestId = _messages.StringField(3) 1750 updateMask = _messages.StringField(4) 1751 1752 1753class MediaassetProjectsLocationsAssetTypesSetIamPolicyRequest(_messages.Message): 1754 r"""A MediaassetProjectsLocationsAssetTypesSetIamPolicyRequest object. 1755 1756 Fields: 1757 resource: REQUIRED: The resource for which the policy is being specified. 1758 See the operation documentation for the appropriate value for this 1759 field. 1760 setIamPolicyRequest: A SetIamPolicyRequest resource to be passed as the 1761 request body. 1762 """ 1763 1764 resource = _messages.StringField(1, required=True) 1765 setIamPolicyRequest = _messages.MessageField('SetIamPolicyRequest', 2) 1766 1767 1768class MediaassetProjectsLocationsAssetTypesTestIamPermissionsRequest(_messages.Message): 1769 r"""A MediaassetProjectsLocationsAssetTypesTestIamPermissionsRequest object. 1770 1771 Fields: 1772 resource: REQUIRED: The resource for which the policy detail is being 1773 requested. See the operation documentation for the appropriate value for 1774 this field. 1775 testIamPermissionsRequest: A TestIamPermissionsRequest resource to be 1776 passed as the request body. 1777 """ 1778 1779 resource = _messages.StringField(1, required=True) 1780 testIamPermissionsRequest = _messages.MessageField('TestIamPermissionsRequest', 2) 1781 1782 1783class MediaassetProjectsLocationsComplexTypesCreateRequest(_messages.Message): 1784 r"""A MediaassetProjectsLocationsComplexTypesCreateRequest object. 1785 1786 Fields: 1787 complexType: A ComplexType resource to be passed as the request body. 1788 complexTypeId: The ID of the complex type resource to be created. 1789 parent: The parent resource name, in the following form: 1790 `projects/{project}/locations/{location}`. 1791 requestId: An optional request ID to identify requests. Specify a unique 1792 request ID so that if you must retry your request, the server will know 1793 to ignore the request if it has already been completed. The server will 1794 guarantee that for at least 60 minutes since the first request. For 1795 example, consider a situation where you make an initial request and t he 1796 request times out. If you make the request again with the same request 1797 ID, the server can check if original operation with the same request ID 1798 was received, and if so, will ignore the second request. This prevents 1799 clients from accidentally creating duplicate commitments. The request ID 1800 must be a valid UUID with the exception that zero UUID is not supported 1801 (00000000-0000-0000-0000-000000000000). 1802 """ 1803 1804 complexType = _messages.MessageField('ComplexType', 1) 1805 complexTypeId = _messages.StringField(2) 1806 parent = _messages.StringField(3, required=True) 1807 requestId = _messages.StringField(4) 1808 1809 1810class MediaassetProjectsLocationsComplexTypesDeleteRequest(_messages.Message): 1811 r"""A MediaassetProjectsLocationsComplexTypesDeleteRequest object. 1812 1813 Fields: 1814 name: The name of the complex type to delete, in the following form: 1815 `projects/{project}/locations/{location}/complexTypes/{type}`. 1816 requestId: An optional request ID to identify requests. Specify a unique 1817 request ID so that if you must retry your request, the server will know 1818 to ignore the request if it has already been completed. The server will 1819 guarantee that for at least 60 minutes after the first request. For 1820 example, consider a situation where you make an initial request and t he 1821 request times out. If you make the request again with the same request 1822 ID, the server can check if original operation with the same request ID 1823 was received, and if so, will ignore the second request. This prevents 1824 clients from accidentally creating duplicate commitments. The request ID 1825 must be a valid UUID with the exception that zero UUID is not supported 1826 (00000000-0000-0000-0000-000000000000). 1827 """ 1828 1829 name = _messages.StringField(1, required=True) 1830 requestId = _messages.StringField(2) 1831 1832 1833class MediaassetProjectsLocationsComplexTypesGetIamPolicyRequest(_messages.Message): 1834 r"""A MediaassetProjectsLocationsComplexTypesGetIamPolicyRequest object. 1835 1836 Fields: 1837 options_requestedPolicyVersion: Optional. The policy format version to be 1838 returned. Valid values are 0, 1, and 3. Requests specifying an invalid 1839 value will be rejected. Requests for policies with any conditional 1840 bindings must specify version 3. Policies without any conditional 1841 bindings may specify any valid value or leave the field unset. To learn 1842 which resources support conditions in their IAM policies, see the [IAM 1843 documentation](https://cloud.google.com/iam/help/conditions/resource- 1844 policies). 1845 resource: REQUIRED: The resource for which the policy is being requested. 1846 See the operation documentation for the appropriate value for this 1847 field. 1848 """ 1849 1850 options_requestedPolicyVersion = _messages.IntegerField(1, variant=_messages.Variant.INT32) 1851 resource = _messages.StringField(2, required=True) 1852 1853 1854class MediaassetProjectsLocationsComplexTypesGetRequest(_messages.Message): 1855 r"""A MediaassetProjectsLocationsComplexTypesGetRequest object. 1856 1857 Fields: 1858 name: The name of the complex type to retrieve, in the following form: 1859 `projects/{project}/locations/{location}/complexTypes/{type}`. 1860 """ 1861 1862 name = _messages.StringField(1, required=True) 1863 1864 1865class MediaassetProjectsLocationsComplexTypesListRequest(_messages.Message): 1866 r"""A MediaassetProjectsLocationsComplexTypesListRequest object. 1867 1868 Fields: 1869 filter: The filter to apply to list results. 1870 orderBy: Specifies the ordering of results following syntax at 1871 https://cloud.google.com/apis/design/design_patterns#sorting_order. 1872 pageSize: The maximum number of items to return. If unspecified, server 1873 will pick an appropriate default. Server may return fewer items than 1874 requested. A caller should only rely on response's next_page_token to 1875 determine if there are more realms left to be queried 1876 pageToken: The next_page_token value returned from a previous List 1877 request, if any. 1878 parent: The parent resource name, in the following form: 1879 `projects/{project}/locations/{location}`. 1880 """ 1881 1882 filter = _messages.StringField(1) 1883 orderBy = _messages.StringField(2) 1884 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 1885 pageToken = _messages.StringField(4) 1886 parent = _messages.StringField(5, required=True) 1887 1888 1889class MediaassetProjectsLocationsComplexTypesPatchRequest(_messages.Message): 1890 r"""A MediaassetProjectsLocationsComplexTypesPatchRequest object. 1891 1892 Fields: 1893 complexType: A ComplexType resource to be passed as the request body. 1894 name: The resource name of the complex type, in the following form: 1895 `projects/{project}/locations/{location}/complexTypes/{type}`. 1896 requestId: An optional request ID to identify requests. Specify a unique 1897 request ID so that if you must retry your request, the server will know 1898 to ignore the request if it has already been completed. The server will 1899 guarantee that for at least 60 minutes since the first request. For 1900 example, consider a situation where you make an initial request and t he 1901 request times out. If you make the request again with the same request 1902 ID, the server can check if original operation with the same request ID 1903 was received, and if so, will ignore the second request. This prevents 1904 clients from accidentally creating duplicate commitments. The request ID 1905 must be a valid UUID with the exception that zero UUID is not supported 1906 (00000000-0000-0000-0000-000000000000). 1907 updateMask: Field mask is used to specify the fields to be overwritten in 1908 the ComplexType resource by the update. The fields specified in the 1909 update_mask are relative to the resource, not the full request. A field 1910 will be overwritten if it is in the mask. If the user does not provide a 1911 mask then all fields will be overwritten. 1912 """ 1913 1914 complexType = _messages.MessageField('ComplexType', 1) 1915 name = _messages.StringField(2, required=True) 1916 requestId = _messages.StringField(3) 1917 updateMask = _messages.StringField(4) 1918 1919 1920class MediaassetProjectsLocationsComplexTypesSetIamPolicyRequest(_messages.Message): 1921 r"""A MediaassetProjectsLocationsComplexTypesSetIamPolicyRequest object. 1922 1923 Fields: 1924 resource: REQUIRED: The resource for which the policy is being specified. 1925 See the operation documentation for the appropriate value for this 1926 field. 1927 setIamPolicyRequest: A SetIamPolicyRequest resource to be passed as the 1928 request body. 1929 """ 1930 1931 resource = _messages.StringField(1, required=True) 1932 setIamPolicyRequest = _messages.MessageField('SetIamPolicyRequest', 2) 1933 1934 1935class MediaassetProjectsLocationsComplexTypesTestIamPermissionsRequest(_messages.Message): 1936 r"""A MediaassetProjectsLocationsComplexTypesTestIamPermissionsRequest 1937 object. 1938 1939 Fields: 1940 resource: REQUIRED: The resource for which the policy detail is being 1941 requested. See the operation documentation for the appropriate value for 1942 this field. 1943 testIamPermissionsRequest: A TestIamPermissionsRequest resource to be 1944 passed as the request body. 1945 """ 1946 1947 resource = _messages.StringField(1, required=True) 1948 testIamPermissionsRequest = _messages.MessageField('TestIamPermissionsRequest', 2) 1949 1950 1951class MediaassetProjectsLocationsGetRequest(_messages.Message): 1952 r"""A MediaassetProjectsLocationsGetRequest object. 1953 1954 Fields: 1955 name: Resource name for the location. 1956 """ 1957 1958 name = _messages.StringField(1, required=True) 1959 1960 1961class MediaassetProjectsLocationsListRequest(_messages.Message): 1962 r"""A MediaassetProjectsLocationsListRequest object. 1963 1964 Fields: 1965 filter: The standard list filter. 1966 includeUnrevealedLocations: If true, the returned list will include 1967 locations which are not yet revealed. 1968 name: The resource that owns the locations collection, if applicable. 1969 pageSize: The standard list page size. 1970 pageToken: The standard list page token. 1971 """ 1972 1973 filter = _messages.StringField(1) 1974 includeUnrevealedLocations = _messages.BooleanField(2) 1975 name = _messages.StringField(3, required=True) 1976 pageSize = _messages.IntegerField(4, variant=_messages.Variant.INT32) 1977 pageToken = _messages.StringField(5) 1978 1979 1980class MediaassetProjectsLocationsOperationsCancelRequest(_messages.Message): 1981 r"""A MediaassetProjectsLocationsOperationsCancelRequest object. 1982 1983 Fields: 1984 cancelOperationRequest: A CancelOperationRequest resource to be passed as 1985 the request body. 1986 name: The name of the operation resource to be cancelled. 1987 """ 1988 1989 cancelOperationRequest = _messages.MessageField('CancelOperationRequest', 1) 1990 name = _messages.StringField(2, required=True) 1991 1992 1993class MediaassetProjectsLocationsOperationsDeleteRequest(_messages.Message): 1994 r"""A MediaassetProjectsLocationsOperationsDeleteRequest object. 1995 1996 Fields: 1997 name: The name of the operation resource to be deleted. 1998 """ 1999 2000 name = _messages.StringField(1, required=True) 2001 2002 2003class MediaassetProjectsLocationsOperationsGetRequest(_messages.Message): 2004 r"""A MediaassetProjectsLocationsOperationsGetRequest object. 2005 2006 Fields: 2007 name: The name of the operation resource. 2008 """ 2009 2010 name = _messages.StringField(1, required=True) 2011 2012 2013class MediaassetProjectsLocationsOperationsListRequest(_messages.Message): 2014 r"""A MediaassetProjectsLocationsOperationsListRequest object. 2015 2016 Fields: 2017 filter: The standard list filter. 2018 name: The name of the operation's parent resource. 2019 pageSize: The standard list page size. 2020 pageToken: The standard list page token. 2021 """ 2022 2023 filter = _messages.StringField(1) 2024 name = _messages.StringField(2, required=True) 2025 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2026 pageToken = _messages.StringField(4) 2027 2028 2029class MediaassetProjectsLocationsTransformersCreateRequest(_messages.Message): 2030 r"""A MediaassetProjectsLocationsTransformersCreateRequest object. 2031 2032 Fields: 2033 parent: The parent resource name, in the following form: 2034 `projects/{project}/locations/{location}`. 2035 requestId: An optional request ID to identify requests. Specify a unique 2036 request ID so that if you must retry your request, the server will know 2037 to ignore the request if it has already been completed. The server will 2038 guarantee that for at least 60 minutes since the first request. For 2039 example, consider a situation where you make an initial request and t he 2040 request times out. If you make the request again with the same request 2041 ID, the server can check if original operation with the same request ID 2042 was received, and if so, will ignore the second request. This prevents 2043 clients from accidentally creating duplicate commitments. The request ID 2044 must be a valid UUID with the exception that zero UUID is not supported 2045 (00000000-0000-0000-0000-000000000000). 2046 transformer: A Transformer resource to be passed as the request body. 2047 transformerId: The ID of the transformer resource to be created. 2048 """ 2049 2050 parent = _messages.StringField(1, required=True) 2051 requestId = _messages.StringField(2) 2052 transformer = _messages.MessageField('Transformer', 3) 2053 transformerId = _messages.StringField(4) 2054 2055 2056class MediaassetProjectsLocationsTransformersDeleteRequest(_messages.Message): 2057 r"""A MediaassetProjectsLocationsTransformersDeleteRequest object. 2058 2059 Fields: 2060 name: The name of the transformer to delete, in the following form: 2061 `projects/{project}/locations/{location}/transformer/{type}`. 2062 requestId: An optional request ID to identify requests. Specify a unique 2063 request ID so that if you must retry your request, the server will know 2064 to ignore the request if it has already been completed. The server will 2065 guarantee that for at least 60 minutes after the first request. For 2066 example, consider a situation where you make an initial request and t he 2067 request times out. If you make the request again with the same request 2068 ID, the server can check if original operation with the same request ID 2069 was received, and if so, will ignore the second request. This prevents 2070 clients from accidentally creating duplicate commitments. The request ID 2071 must be a valid UUID with the exception that zero UUID is not supported 2072 (00000000-0000-0000-0000-000000000000). 2073 """ 2074 2075 name = _messages.StringField(1, required=True) 2076 requestId = _messages.StringField(2) 2077 2078 2079class MediaassetProjectsLocationsTransformersGetIamPolicyRequest(_messages.Message): 2080 r"""A MediaassetProjectsLocationsTransformersGetIamPolicyRequest object. 2081 2082 Fields: 2083 options_requestedPolicyVersion: Optional. The policy format version to be 2084 returned. Valid values are 0, 1, and 3. Requests specifying an invalid 2085 value will be rejected. Requests for policies with any conditional 2086 bindings must specify version 3. Policies without any conditional 2087 bindings may specify any valid value or leave the field unset. To learn 2088 which resources support conditions in their IAM policies, see the [IAM 2089 documentation](https://cloud.google.com/iam/help/conditions/resource- 2090 policies). 2091 resource: REQUIRED: The resource for which the policy is being requested. 2092 See the operation documentation for the appropriate value for this 2093 field. 2094 """ 2095 2096 options_requestedPolicyVersion = _messages.IntegerField(1, variant=_messages.Variant.INT32) 2097 resource = _messages.StringField(2, required=True) 2098 2099 2100class MediaassetProjectsLocationsTransformersGetRequest(_messages.Message): 2101 r"""A MediaassetProjectsLocationsTransformersGetRequest object. 2102 2103 Fields: 2104 name: The name of the transformer to retrieve, in the following form: 2105 `projects/{project}/locations/{location}/transformers/{transformer}`. 2106 """ 2107 2108 name = _messages.StringField(1, required=True) 2109 2110 2111class MediaassetProjectsLocationsTransformersListRequest(_messages.Message): 2112 r"""A MediaassetProjectsLocationsTransformersListRequest object. 2113 2114 Fields: 2115 filter: The filter to apply to list results. 2116 orderBy: Specifies the ordering of results following syntax at 2117 https://cloud.google.com/apis/design/design_patterns#sorting_order. 2118 pageSize: The maximum number of items to return. If unspecified, server 2119 will pick an appropriate default. Server may return fewer items than 2120 requested. A caller should only rely on response's next_page_token to 2121 determine if there are more realms left to be queried 2122 pageToken: The next_page_token value returned from a previous List 2123 request, if any. 2124 parent: The parent resource name, in the following form: 2125 `projects/{project}/locations/{location}`. 2126 """ 2127 2128 filter = _messages.StringField(1) 2129 orderBy = _messages.StringField(2) 2130 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 2131 pageToken = _messages.StringField(4) 2132 parent = _messages.StringField(5, required=True) 2133 2134 2135class MediaassetProjectsLocationsTransformersPatchRequest(_messages.Message): 2136 r"""A MediaassetProjectsLocationsTransformersPatchRequest object. 2137 2138 Fields: 2139 name: The resource name of the transformer, in the following form: 2140 `projects/{project}/locations/{location}/transformer/{transformer}`. 2141 requestId: An optional request ID to identify requests. Specify a unique 2142 request ID so that if you must retry your request, the server will know 2143 to ignore the request if it has already been completed. The server will 2144 guarantee that for at least 60 minutes since the first request. For 2145 example, consider a situation where you make an initial request and t he 2146 request times out. If you make the request again with the same request 2147 ID, the server can check if original operation with the same request ID 2148 was received, and if so, will ignore the second request. This prevents 2149 clients from accidentally creating duplicate commitments. The request ID 2150 must be a valid UUID with the exception that zero UUID is not supported 2151 (00000000-0000-0000-0000-000000000000). 2152 transformer: A Transformer resource to be passed as the request body. 2153 updateMask: Field mask is used to specify the fields to be overwritten in 2154 the Transformer resource by the update. The fields specified in the 2155 update_mask are relative to the resource, not the full request. A field 2156 will be overwritten if it is in the mask. If the user does not provide a 2157 mask then all fields will be overwritten. 2158 """ 2159 2160 name = _messages.StringField(1, required=True) 2161 requestId = _messages.StringField(2) 2162 transformer = _messages.MessageField('Transformer', 3) 2163 updateMask = _messages.StringField(4) 2164 2165 2166class MediaassetProjectsLocationsTransformersSetIamPolicyRequest(_messages.Message): 2167 r"""A MediaassetProjectsLocationsTransformersSetIamPolicyRequest object. 2168 2169 Fields: 2170 resource: REQUIRED: The resource for which the policy is being specified. 2171 See the operation documentation for the appropriate value for this 2172 field. 2173 setIamPolicyRequest: A SetIamPolicyRequest resource to be passed as the 2174 request body. 2175 """ 2176 2177 resource = _messages.StringField(1, required=True) 2178 setIamPolicyRequest = _messages.MessageField('SetIamPolicyRequest', 2) 2179 2180 2181class MediaassetProjectsLocationsTransformersTestIamPermissionsRequest(_messages.Message): 2182 r"""A MediaassetProjectsLocationsTransformersTestIamPermissionsRequest 2183 object. 2184 2185 Fields: 2186 resource: REQUIRED: The resource for which the policy detail is being 2187 requested. See the operation documentation for the appropriate value for 2188 this field. 2189 testIamPermissionsRequest: A TestIamPermissionsRequest resource to be 2190 passed as the request body. 2191 """ 2192 2193 resource = _messages.StringField(1, required=True) 2194 testIamPermissionsRequest = _messages.MessageField('TestIamPermissionsRequest', 2) 2195 2196 2197class MetadataConfig(_messages.Message): 2198 r"""A MetadataConfig object. 2199 2200 Fields: 2201 complexType: Reference to the complex type name, in the following form: 2202 `projects/{project}/locations/{location}/complexTypes/{name}`. 2203 manageGcsContent: If true, any Cloud Storage content referenced in this 2204 metadata block will be managed by the media asset service (validated, 2205 deleted etc.). This field is temporarily hidden from the public until 2206 the feature is supported. 2207 required: If true, this asset metadata is required to be specified during 2208 asset creation. 2209 """ 2210 2211 complexType = _messages.StringField(1) 2212 manageGcsContent = _messages.BooleanField(2) 2213 required = _messages.BooleanField(3) 2214 2215 2216class MetadataInfo(_messages.Message): 2217 r"""A MetadataInfo object. 2218 2219 Fields: 2220 updateTime: Time at which this field was updated. 2221 """ 2222 2223 updateTime = _messages.StringField(1) 2224 2225 2226class Operation(_messages.Message): 2227 r"""This resource represents a long-running operation that is the result of 2228 a network API call. 2229 2230 Messages: 2231 MetadataValue: Service-specific metadata associated with the operation. It 2232 typically contains progress information and common metadata such as 2233 create time. Some services might not provide such metadata. Any method 2234 that returns a long-running operation should document the metadata type, 2235 if any. 2236 ResponseValue: The normal response of the operation in case of success. If 2237 the original method returns no data on success, such as `Delete`, the 2238 response is `google.protobuf.Empty`. If the original method is standard 2239 `Get`/`Create`/`Update`, the response should be the resource. For other 2240 methods, the response should have the type `XxxResponse`, where `Xxx` is 2241 the original method name. For example, if the original method name is 2242 `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 2243 2244 Fields: 2245 done: If the value is `false`, it means the operation is still in 2246 progress. If `true`, the operation is completed, and either `error` or 2247 `response` is available. 2248 error: The error result of the operation in case of failure or 2249 cancellation. 2250 metadata: Service-specific metadata associated with the operation. It 2251 typically contains progress information and common metadata such as 2252 create time. Some services might not provide such metadata. Any method 2253 that returns a long-running operation should document the metadata type, 2254 if any. 2255 name: The server-assigned name, which is only unique within the same 2256 service that originally returns it. If you use the default HTTP mapping, 2257 the `name` should be a resource name ending with 2258 `operations/{unique_id}`. 2259 response: The normal response of the operation in case of success. If the 2260 original method returns no data on success, such as `Delete`, the 2261 response is `google.protobuf.Empty`. If the original method is standard 2262 `Get`/`Create`/`Update`, the response should be the resource. For other 2263 methods, the response should have the type `XxxResponse`, where `Xxx` is 2264 the original method name. For example, if the original method name is 2265 `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 2266 """ 2267 2268 @encoding.MapUnrecognizedFields('additionalProperties') 2269 class MetadataValue(_messages.Message): 2270 r"""Service-specific metadata associated with the operation. It typically 2271 contains progress information and common metadata such as create time. 2272 Some services might not provide such metadata. Any method that returns a 2273 long-running operation should document the metadata type, if any. 2274 2275 Messages: 2276 AdditionalProperty: An additional property for a MetadataValue object. 2277 2278 Fields: 2279 additionalProperties: Properties of the object. Contains field @type 2280 with type URL. 2281 """ 2282 2283 class AdditionalProperty(_messages.Message): 2284 r"""An additional property for a MetadataValue object. 2285 2286 Fields: 2287 key: Name of the additional property. 2288 value: A extra_types.JsonValue attribute. 2289 """ 2290 2291 key = _messages.StringField(1) 2292 value = _messages.MessageField('extra_types.JsonValue', 2) 2293 2294 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2295 2296 @encoding.MapUnrecognizedFields('additionalProperties') 2297 class ResponseValue(_messages.Message): 2298 r"""The normal response of the operation in case of success. If the 2299 original method returns no data on success, such as `Delete`, the response 2300 is `google.protobuf.Empty`. If the original method is standard 2301 `Get`/`Create`/`Update`, the response should be the resource. For other 2302 methods, the response should have the type `XxxResponse`, where `Xxx` is 2303 the original method name. For example, if the original method name is 2304 `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 2305 2306 Messages: 2307 AdditionalProperty: An additional property for a ResponseValue object. 2308 2309 Fields: 2310 additionalProperties: Properties of the object. Contains field @type 2311 with type URL. 2312 """ 2313 2314 class AdditionalProperty(_messages.Message): 2315 r"""An additional property for a ResponseValue object. 2316 2317 Fields: 2318 key: Name of the additional property. 2319 value: A extra_types.JsonValue attribute. 2320 """ 2321 2322 key = _messages.StringField(1) 2323 value = _messages.MessageField('extra_types.JsonValue', 2) 2324 2325 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2326 2327 done = _messages.BooleanField(1) 2328 error = _messages.MessageField('Status', 2) 2329 metadata = _messages.MessageField('MetadataValue', 3) 2330 name = _messages.StringField(4) 2331 response = _messages.MessageField('ResponseValue', 5) 2332 2333 2334class OperationMetadata(_messages.Message): 2335 r"""Represents the metadata of the long-running operation. 2336 2337 Fields: 2338 apiVersion: Output only. API version used to start the operation. 2339 createTime: Output only. The time the operation was created. 2340 endTime: Output only. The time the operation finished running. 2341 requestedCancellation: Output only. Identifies whether the user has 2342 requested cancellation of the operation. Operations that have 2343 successfully been cancelled have Operation.error value with a 2344 google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. 2345 statusMessage: Output only. Human-readable status of the operation, if 2346 any. 2347 target: Output only. Server-defined resource path for the target of the 2348 operation. 2349 verb: Output only. Name of the verb executed by the operation. 2350 """ 2351 2352 apiVersion = _messages.StringField(1) 2353 createTime = _messages.StringField(2) 2354 endTime = _messages.StringField(3) 2355 requestedCancellation = _messages.BooleanField(4) 2356 statusMessage = _messages.StringField(5) 2357 target = _messages.StringField(6) 2358 verb = _messages.StringField(7) 2359 2360 2361class Policy(_messages.Message): 2362 r"""An Identity and Access Management (IAM) policy, which specifies access 2363 controls for Google Cloud resources. A `Policy` is a collection of 2364 `bindings`. A `binding` binds one or more `members` to a single `role`. 2365 Members can be user accounts, service accounts, Google groups, and domains 2366 (such as G Suite). A `role` is a named list of permissions; each `role` can 2367 be an IAM predefined role or a user-created custom role. For some types of 2368 Google Cloud resources, a `binding` can also specify a `condition`, which is 2369 a logical expression that allows access to a resource only if the expression 2370 evaluates to `true`. A condition can add constraints based on attributes of 2371 the request, the resource, or both. To learn which resources support 2372 conditions in their IAM policies, see the [IAM 2373 documentation](https://cloud.google.com/iam/help/conditions/resource- 2374 policies). **JSON example:** { "bindings": [ { "role": 2375 "roles/resourcemanager.organizationAdmin", "members": [ 2376 "user:mike@example.com", "group:admins@example.com", "domain:google.com", 2377 "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": 2378 "roles/resourcemanager.organizationViewer", "members": [ 2379 "user:eve@example.com" ], "condition": { "title": "expirable access", 2380 "description": "Does not grant access after Sep 2020", "expression": 2381 "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": 2382 "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - 2383 user:mike@example.com - group:admins@example.com - domain:google.com - 2384 serviceAccount:my-project-id@appspot.gserviceaccount.com role: 2385 roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 2386 role: roles/resourcemanager.organizationViewer condition: title: expirable 2387 access description: Does not grant access after Sep 2020 expression: 2388 request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - 2389 version: 3 For a description of IAM and its features, see the [IAM 2390 documentation](https://cloud.google.com/iam/docs/). 2391 2392 Fields: 2393 auditConfigs: Specifies cloud audit logging configuration for this policy. 2394 bindings: Associates a list of `members` to a `role`. Optionally, may 2395 specify a `condition` that determines how and when the `bindings` are 2396 applied. Each of the `bindings` must contain at least one member. 2397 etag: `etag` is used for optimistic concurrency control as a way to help 2398 prevent simultaneous updates of a policy from overwriting each other. It 2399 is strongly suggested that systems make use of the `etag` in the read- 2400 modify-write cycle to perform policy updates in order to avoid race 2401 conditions: An `etag` is returned in the response to `getIamPolicy`, and 2402 systems are expected to put that etag in the request to `setIamPolicy` 2403 to ensure that their change will be applied to the same version of the 2404 policy. **Important:** If you use IAM Conditions, you must include the 2405 `etag` field whenever you call `setIamPolicy`. If you omit this field, 2406 then IAM allows you to overwrite a version `3` policy with a version `1` 2407 policy, and all of the conditions in the version `3` policy are lost. 2408 iamOwned: A boolean attribute. 2409 rules: If more than one rule is specified, the rules are applied in the 2410 following manner: - All matching LOG rules are always applied. - If any 2411 DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be 2412 applied if one or more matching rule requires logging. - Otherwise, if 2413 any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging 2414 will be applied if one or more matching rule requires logging. - 2415 Otherwise, if no rule applies, permission is denied. 2416 version: Specifies the format of the policy. Valid values are `0`, `1`, 2417 and `3`. Requests that specify an invalid value are rejected. Any 2418 operation that affects conditional role bindings must specify version 2419 `3`. This requirement applies to the following operations: * Getting a 2420 policy that includes a conditional role binding * Adding a conditional 2421 role binding to a policy * Changing a conditional role binding in a 2422 policy * Removing any role binding, with or without a condition, from a 2423 policy that includes conditions **Important:** If you use IAM 2424 Conditions, you must include the `etag` field whenever you call 2425 `setIamPolicy`. If you omit this field, then IAM allows you to overwrite 2426 a version `3` policy with a version `1` policy, and all of the 2427 conditions in the version `3` policy are lost. If a policy does not 2428 include any conditions, operations on that policy may specify any valid 2429 version or leave the field unset. To learn which resources support 2430 conditions in their IAM policies, see the [IAM 2431 documentation](https://cloud.google.com/iam/help/conditions/resource- 2432 policies). 2433 """ 2434 2435 auditConfigs = _messages.MessageField('AuditConfig', 1, repeated=True) 2436 bindings = _messages.MessageField('Binding', 2, repeated=True) 2437 etag = _messages.BytesField(3) 2438 iamOwned = _messages.BooleanField(4) 2439 rules = _messages.MessageField('Rule', 5, repeated=True) 2440 version = _messages.IntegerField(6, variant=_messages.Variant.INT32) 2441 2442 2443class Rule(_messages.Message): 2444 r"""A rule to be applied in a Policy. 2445 2446 Enums: 2447 ActionValueValuesEnum: Required 2448 2449 Fields: 2450 action: Required 2451 conditions: Additional restrictions that must be met. All conditions must 2452 pass for the rule to match. 2453 description: Human-readable description of the rule. 2454 in_: If one or more 'in' clauses are specified, the rule matches if the 2455 PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. 2456 logConfig: The config returned to callers of tech.iam.IAM.CheckPolicy for 2457 any entries that match the LOG action. 2458 notIn: If one or more 'not_in' clauses are specified, the rule matches if 2459 the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. The format 2460 for in and not_in entries can be found at in the Local IAM documentation 2461 (see go/local-iam#features). 2462 permissions: A permission is a string of form '..' (e.g., 2463 'storage.buckets.list'). A value of '*' matches all permissions, and a 2464 verb part of '*' (e.g., 'storage.buckets.*') matches all verbs. 2465 """ 2466 2467 class ActionValueValuesEnum(_messages.Enum): 2468 r"""Required 2469 2470 Values: 2471 NO_ACTION: Default no action. 2472 ALLOW: Matching 'Entries' grant access. 2473 ALLOW_WITH_LOG: Matching 'Entries' grant access and the caller promises 2474 to log the request per the returned log_configs. 2475 DENY: Matching 'Entries' deny access. 2476 DENY_WITH_LOG: Matching 'Entries' deny access and the caller promises to 2477 log the request per the returned log_configs. 2478 LOG: Matching 'Entries' tell IAM.Check callers to generate logs. 2479 """ 2480 NO_ACTION = 0 2481 ALLOW = 1 2482 ALLOW_WITH_LOG = 2 2483 DENY = 3 2484 DENY_WITH_LOG = 4 2485 LOG = 5 2486 2487 action = _messages.EnumField('ActionValueValuesEnum', 1) 2488 conditions = _messages.MessageField('Condition', 2, repeated=True) 2489 description = _messages.StringField(3) 2490 in_ = _messages.StringField(4, repeated=True) 2491 logConfig = _messages.MessageField('LogConfig', 5, repeated=True) 2492 notIn = _messages.StringField(6, repeated=True) 2493 permissions = _messages.StringField(7, repeated=True) 2494 2495 2496class SetIamPolicyRequest(_messages.Message): 2497 r"""Request message for `SetIamPolicy` method. 2498 2499 Fields: 2500 policy: REQUIRED: The complete policy to be applied to the `resource`. The 2501 size of the policy is limited to a few 10s of KB. An empty policy is a 2502 valid policy but certain Cloud Platform services (such as Projects) 2503 might reject them. 2504 updateMask: OPTIONAL: A FieldMask specifying which fields of the policy to 2505 modify. Only the fields in the mask will be modified. If no mask is 2506 provided, the following default mask is used: `paths: "bindings, etag"` 2507 """ 2508 2509 policy = _messages.MessageField('Policy', 1) 2510 updateMask = _messages.StringField(2) 2511 2512 2513class SortOrderConfig(_messages.Message): 2514 r"""A SortOrderConfig object. 2515 2516 Fields: 2517 descending: Sort in descending order. 2518 field: Field to sort by. Must be: - required - numeric, datetime or 2519 duration field - within the asset itself and not in any linked assets. 2520 """ 2521 2522 descending = _messages.BooleanField(1) 2523 field = _messages.StringField(2) 2524 2525 2526class StandardQueryParameters(_messages.Message): 2527 r"""Query parameters accepted by all methods. 2528 2529 Enums: 2530 FXgafvValueValuesEnum: V1 error format. 2531 AltValueValuesEnum: Data format for response. 2532 2533 Fields: 2534 f__xgafv: V1 error format. 2535 access_token: OAuth access token. 2536 alt: Data format for response. 2537 callback: JSONP 2538 fields: Selector specifying which fields to include in a partial response. 2539 key: API key. Your API key identifies your project and provides you with 2540 API access, quota, and reports. Required unless you provide an OAuth 2.0 2541 token. 2542 oauth_token: OAuth 2.0 token for the current user. 2543 prettyPrint: Returns response with indentations and line breaks. 2544 quotaUser: Available to use for quota purposes for server-side 2545 applications. Can be any arbitrary string assigned to a user, but should 2546 not exceed 40 characters. 2547 trace: A tracing token of the form "token:<tokenid>" to include in api 2548 requests. 2549 uploadType: Legacy upload protocol for media (e.g. "media", "multipart"). 2550 upload_protocol: Upload protocol for media (e.g. "raw", "multipart"). 2551 """ 2552 2553 class AltValueValuesEnum(_messages.Enum): 2554 r"""Data format for response. 2555 2556 Values: 2557 json: Responses with Content-Type of application/json 2558 media: Media download with context-dependent Content-Type 2559 proto: Responses with Content-Type of application/x-protobuf 2560 """ 2561 json = 0 2562 media = 1 2563 proto = 2 2564 2565 class FXgafvValueValuesEnum(_messages.Enum): 2566 r"""V1 error format. 2567 2568 Values: 2569 _1: v1 error format 2570 _2: v2 error format 2571 """ 2572 _1 = 0 2573 _2 = 1 2574 2575 f__xgafv = _messages.EnumField('FXgafvValueValuesEnum', 1) 2576 access_token = _messages.StringField(2) 2577 alt = _messages.EnumField('AltValueValuesEnum', 3, default='json') 2578 callback = _messages.StringField(4) 2579 fields = _messages.StringField(5) 2580 key = _messages.StringField(6) 2581 oauth_token = _messages.StringField(7) 2582 prettyPrint = _messages.BooleanField(8, default=True) 2583 quotaUser = _messages.StringField(9) 2584 trace = _messages.StringField(10) 2585 uploadType = _messages.StringField(11) 2586 upload_protocol = _messages.StringField(12) 2587 2588 2589class Status(_messages.Message): 2590 r"""The `Status` type defines a logical error model that is suitable for 2591 different programming environments, including REST APIs and RPC APIs. It is 2592 used by [gRPC](https://github.com/grpc). Each `Status` message contains 2593 three pieces of data: error code, error message, and error details. You can 2594 find out more about this error model and how to work with it in the [API 2595 Design Guide](https://cloud.google.com/apis/design/errors). 2596 2597 Messages: 2598 DetailsValueListEntry: A DetailsValueListEntry object. 2599 2600 Fields: 2601 code: The status code, which should be an enum value of google.rpc.Code. 2602 details: A list of messages that carry the error details. There is a 2603 common set of message types for APIs to use. 2604 message: A developer-facing error message, which should be in English. Any 2605 user-facing error message should be localized and sent in the 2606 google.rpc.Status.details field, or localized by the client. 2607 """ 2608 2609 @encoding.MapUnrecognizedFields('additionalProperties') 2610 class DetailsValueListEntry(_messages.Message): 2611 r"""A DetailsValueListEntry object. 2612 2613 Messages: 2614 AdditionalProperty: An additional property for a DetailsValueListEntry 2615 object. 2616 2617 Fields: 2618 additionalProperties: Properties of the object. Contains field @type 2619 with type URL. 2620 """ 2621 2622 class AdditionalProperty(_messages.Message): 2623 r"""An additional property for a DetailsValueListEntry object. 2624 2625 Fields: 2626 key: Name of the additional property. 2627 value: A extra_types.JsonValue attribute. 2628 """ 2629 2630 key = _messages.StringField(1) 2631 value = _messages.MessageField('extra_types.JsonValue', 2) 2632 2633 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2634 2635 code = _messages.IntegerField(1, variant=_messages.Variant.INT32) 2636 details = _messages.MessageField('DetailsValueListEntry', 2, repeated=True) 2637 message = _messages.StringField(3) 2638 2639 2640class TestIamPermissionsRequest(_messages.Message): 2641 r"""Request message for `TestIamPermissions` method. 2642 2643 Fields: 2644 permissions: The set of permissions to check for the `resource`. 2645 Permissions with wildcards (such as '*' or 'storage.*') are not allowed. 2646 For more information see [IAM 2647 Overview](https://cloud.google.com/iam/docs/overview#permissions). 2648 """ 2649 2650 permissions = _messages.StringField(1, repeated=True) 2651 2652 2653class TestIamPermissionsResponse(_messages.Message): 2654 r"""Response message for `TestIamPermissions` method. 2655 2656 Fields: 2657 permissions: A subset of `TestPermissionsRequest.permissions` that the 2658 caller is allowed. 2659 """ 2660 2661 permissions = _messages.StringField(1, repeated=True) 2662 2663 2664class TransformationConfig(_messages.Message): 2665 r"""A TransformationConfig object. 2666 2667 Messages: 2668 InputsValue: Key-value pairs representing input parameters to the 2669 transformers. The key maps to the transformer input parameter name. The 2670 value is interpreted as a literal or a path within asset if it's 2671 prefixed by "$asset.", e.g. "$asset.file.url". 2672 OutputsValue: Key-value pairs representing output parameters from the 2673 transformers. The key maps to the transformer output parameter name. The 2674 value will be the path to the metadata in the asset to which this output 2675 should be assigned. 2676 2677 Fields: 2678 inputs: Key-value pairs representing input parameters to the transformers. 2679 The key maps to the transformer input parameter name. The value is 2680 interpreted as a literal or a path within asset if it's prefixed by 2681 "$asset.", e.g. "$asset.file.url". 2682 outputs: Key-value pairs representing output parameters from the 2683 transformers. The key maps to the transformer output parameter name. The 2684 value will be the path to the metadata in the asset to which this output 2685 should be assigned. 2686 transformer: Reference to a transformer to execute, in the following form: 2687 `projects/{project}/locations/{location}/transformers/{name}`. 2688 """ 2689 2690 @encoding.MapUnrecognizedFields('additionalProperties') 2691 class InputsValue(_messages.Message): 2692 r"""Key-value pairs representing input parameters to the transformers. The 2693 key maps to the transformer input parameter name. The value is interpreted 2694 as a literal or a path within asset if it's prefixed by "$asset.", e.g. 2695 "$asset.file.url". 2696 2697 Messages: 2698 AdditionalProperty: An additional property for a InputsValue object. 2699 2700 Fields: 2701 additionalProperties: Properties of the object. 2702 """ 2703 2704 class AdditionalProperty(_messages.Message): 2705 r"""An additional property for a InputsValue object. 2706 2707 Fields: 2708 key: Name of the additional property. 2709 value: A extra_types.JsonValue attribute. 2710 """ 2711 2712 key = _messages.StringField(1) 2713 value = _messages.MessageField('extra_types.JsonValue', 2) 2714 2715 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2716 2717 @encoding.MapUnrecognizedFields('additionalProperties') 2718 class OutputsValue(_messages.Message): 2719 r"""Key-value pairs representing output parameters from the transformers. 2720 The key maps to the transformer output parameter name. The value will be 2721 the path to the metadata in the asset to which this output should be 2722 assigned. 2723 2724 Messages: 2725 AdditionalProperty: An additional property for a OutputsValue object. 2726 2727 Fields: 2728 additionalProperties: Additional properties of type OutputsValue 2729 """ 2730 2731 class AdditionalProperty(_messages.Message): 2732 r"""An additional property for a OutputsValue object. 2733 2734 Fields: 2735 key: Name of the additional property. 2736 value: A string attribute. 2737 """ 2738 2739 key = _messages.StringField(1) 2740 value = _messages.StringField(2) 2741 2742 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2743 2744 inputs = _messages.MessageField('InputsValue', 1) 2745 outputs = _messages.MessageField('OutputsValue', 2) 2746 transformer = _messages.StringField(3) 2747 2748 2749class Transformer(_messages.Message): 2750 r"""A transformer resource. Transformers are functions that process a set of 2751 input parameters and generate outputs. They provide the mechanism to enrich 2752 asset information by processing asset contents. 2753 2754 Messages: 2755 InputsValue: Mapping of the input parameter name to its type. The type 2756 could be one of: - Primitive types ("string", "number", "bool") - Custom 2757 complex type. Format: "p/p/l/l/complexTypes/*" - Collections of the 2758 above - list(), dict() 2759 LabelsValue: The labels associated with this resource. Each label is a 2760 key-value pair. 2761 OutputsValue: Mapping of the output parameter name to its type. The type 2762 could be one of: - Primitive types ("string", "number", "bool") - Custom 2763 complex type. Format: "p/p/l/l/complexTypes/*" - Collections of the 2764 above - list(), dict() 2765 2766 Fields: 2767 createTime: The creation time. 2768 endpoint: URI endpoint that the Transformer is listening for its 2769 invocation through the documented Transformer protocol. 2770 inputs: Mapping of the input parameter name to its type. The type could be 2771 one of: - Primitive types ("string", "number", "bool") - Custom complex 2772 type. Format: "p/p/l/l/complexTypes/*" - Collections of the above - 2773 list(), dict() 2774 labels: The labels associated with this resource. Each label is a key- 2775 value pair. 2776 name: The resource name of the transformer, in the following form: 2777 `projects/{project}/locations/{location}/transformer/{transformer}`. 2778 outputs: Mapping of the output parameter name to its type. The type could 2779 be one of: - Primitive types ("string", "number", "bool") - Custom 2780 complex type. Format: "p/p/l/l/complexTypes/*" - Collections of the 2781 above - list(), dict() 2782 updateTime: The last-modified time. 2783 """ 2784 2785 @encoding.MapUnrecognizedFields('additionalProperties') 2786 class InputsValue(_messages.Message): 2787 r"""Mapping of the input parameter name to its type. The type could be one 2788 of: - Primitive types ("string", "number", "bool") - Custom complex type. 2789 Format: "p/p/l/l/complexTypes/*" - Collections of the above - list(), 2790 dict() 2791 2792 Messages: 2793 AdditionalProperty: An additional property for a InputsValue object. 2794 2795 Fields: 2796 additionalProperties: Additional properties of type InputsValue 2797 """ 2798 2799 class AdditionalProperty(_messages.Message): 2800 r"""An additional property for a InputsValue object. 2801 2802 Fields: 2803 key: Name of the additional property. 2804 value: A string attribute. 2805 """ 2806 2807 key = _messages.StringField(1) 2808 value = _messages.StringField(2) 2809 2810 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2811 2812 @encoding.MapUnrecognizedFields('additionalProperties') 2813 class LabelsValue(_messages.Message): 2814 r"""The labels associated with this resource. Each label is a key-value 2815 pair. 2816 2817 Messages: 2818 AdditionalProperty: An additional property for a LabelsValue object. 2819 2820 Fields: 2821 additionalProperties: Additional properties of type LabelsValue 2822 """ 2823 2824 class AdditionalProperty(_messages.Message): 2825 r"""An additional property for a LabelsValue object. 2826 2827 Fields: 2828 key: Name of the additional property. 2829 value: A string attribute. 2830 """ 2831 2832 key = _messages.StringField(1) 2833 value = _messages.StringField(2) 2834 2835 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2836 2837 @encoding.MapUnrecognizedFields('additionalProperties') 2838 class OutputsValue(_messages.Message): 2839 r"""Mapping of the output parameter name to its type. The type could be 2840 one of: - Primitive types ("string", "number", "bool") - Custom complex 2841 type. Format: "p/p/l/l/complexTypes/*" - Collections of the above - 2842 list(), dict() 2843 2844 Messages: 2845 AdditionalProperty: An additional property for a OutputsValue object. 2846 2847 Fields: 2848 additionalProperties: Additional properties of type OutputsValue 2849 """ 2850 2851 class AdditionalProperty(_messages.Message): 2852 r"""An additional property for a OutputsValue object. 2853 2854 Fields: 2855 key: Name of the additional property. 2856 value: A string attribute. 2857 """ 2858 2859 key = _messages.StringField(1) 2860 value = _messages.StringField(2) 2861 2862 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2863 2864 createTime = _messages.StringField(1) 2865 endpoint = _messages.StringField(2) 2866 inputs = _messages.MessageField('InputsValue', 3) 2867 labels = _messages.MessageField('LabelsValue', 4) 2868 name = _messages.StringField(5) 2869 outputs = _messages.MessageField('OutputsValue', 6) 2870 updateTime = _messages.StringField(7) 2871 2872 2873encoding.AddCustomJsonFieldMapping( 2874 Rule, 'in_', 'in') 2875encoding.AddCustomJsonFieldMapping( 2876 StandardQueryParameters, 'f__xgafv', '$.xgafv') 2877encoding.AddCustomJsonEnumMapping( 2878 StandardQueryParameters.FXgafvValueValuesEnum, '_1', '1') 2879encoding.AddCustomJsonEnumMapping( 2880 StandardQueryParameters.FXgafvValueValuesEnum, '_2', '2') 2881