google-apis-agentregistry_v1 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 466098670e4663d557f59949229df467a5b253ff764b35717701e72f23028ce6
4
- data.tar.gz: d19b8aa92e7cd18d5dc50136e26b7b8fd12d9677850de0ec39549090c43d55ea
3
+ metadata.gz: 6e695bb52928f9ae4d7de358434aa45892926dfb99af58b082645b7ce91b373b
4
+ data.tar.gz: f37744336d9b7fbdcb3cacf0643c84f8468c6e241719226fba4c3e0cc0ab0ce9
5
5
  SHA512:
6
- metadata.gz: 69edfe206c6bb111e8ee11970dd6401dbbb96ec667835037fb11c86d2e15420235912f0b1fa6629999e3b97e147049b06ba9076efcdf670ae57871df1f919486
7
- data.tar.gz: 5f151a690536c835c1610f21be6be66ee92998b70dcaacbde6bcc8118e8481d592d93dd001217446f25213354670db2c23ee27d5001028f50da2cb3e76d4263f
6
+ metadata.gz: 53a98ea7eba52bf34f199683535a5f03ae8c2e80bbabb2ba466bad40e9709542f6250b59b470999c2ecbe5779bfc4affd49424d3e2a1a6eea7733dee2458166c
7
+ data.tar.gz: 8b1c9b1d57f6973f46a162e33188077cc5760b935f024f1003898d6aa242f5ed2105c32c206b83cb10bc58ede17d3d4a91fe6df3b7d7d8079560c29bfc463c68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-agentregistry_v1
2
2
 
3
+ ### v0.2.0 (2026-09-20)
4
+
5
+ * Regenerated from discovery document revision 20260904
6
+
3
7
  ### v0.1.0 (2026-07-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20260617
@@ -490,6 +490,60 @@ module Google
490
490
  end
491
491
  end
492
492
 
493
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
494
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
495
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
496
+ # "Summary size limit" description: "Determines if a summary is less than 100
497
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
498
+ # Requestor is owner" description: "Determines if requestor is the document
499
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
500
+ # Logic): title: "Public documents" description: "Determine whether the document
501
+ # should be publicly visible" expression: "document.type != 'private' &&
502
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
503
+ # string" description: "Create a notification string with a timestamp."
504
+ # expression: "'New message received at ' + string(document.create_time)" The
505
+ # exact variables and functions that may be referenced within an expression are
506
+ # determined by the service that evaluates it. See the service documentation for
507
+ # additional information.
508
+ class Expr
509
+ include Google::Apis::Core::Hashable
510
+
511
+ # Optional. Description of the expression. This is a longer text which describes
512
+ # the expression, e.g. when hovered over it in a UI.
513
+ # Corresponds to the JSON property `description`
514
+ # @return [String]
515
+ attr_accessor :description
516
+
517
+ # Textual representation of an expression in Common Expression Language syntax.
518
+ # Corresponds to the JSON property `expression`
519
+ # @return [String]
520
+ attr_accessor :expression
521
+
522
+ # Optional. String indicating the location of the expression for error reporting,
523
+ # e.g. a file name and a position in the file.
524
+ # Corresponds to the JSON property `location`
525
+ # @return [String]
526
+ attr_accessor :location
527
+
528
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
529
+ # This can be used e.g. in UIs which allow to enter the expression.
530
+ # Corresponds to the JSON property `title`
531
+ # @return [String]
532
+ attr_accessor :title
533
+
534
+ def initialize(**args)
535
+ update!(**args)
536
+ end
537
+
538
+ # Update properties of this object
539
+ def update!(**args)
540
+ @description = args[:description] if args.key?(:description)
541
+ @expression = args[:expression] if args.key?(:expression)
542
+ @location = args[:location] if args.key?(:location)
543
+ @title = args[:title] if args.key?(:title)
544
+ end
545
+ end
546
+
493
547
  # Message for response to fetching available Bindings.
494
548
  class FetchAvailableBindingsResponse
495
549
  include Google::Apis::Core::Hashable
@@ -515,6 +569,366 @@ module Google
515
569
  end
516
570
  end
517
571
 
572
+ # Specifies the audit configuration for a service. The configuration determines
573
+ # which permission types are logged, and what identities, if any, are exempted
574
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
575
+ # are AuditConfigs for both `allServices` and a specific service, the union of
576
+ # the two AuditConfigs is used for that service: the log_types specified in each
577
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
578
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
579
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
580
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
581
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
582
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
583
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
584
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
585
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
586
+ # from DATA_WRITE logging.
587
+ class GoogleIamV1AuditConfig
588
+ include Google::Apis::Core::Hashable
589
+
590
+ # The configuration for logging of each type of permission.
591
+ # Corresponds to the JSON property `auditLogConfigs`
592
+ # @return [Array<Google::Apis::AgentregistryV1::GoogleIamV1AuditLogConfig>]
593
+ attr_accessor :audit_log_configs
594
+
595
+ # Specifies a service that will be enabled for audit logging. For example, `
596
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
597
+ # value that covers all services.
598
+ # Corresponds to the JSON property `service`
599
+ # @return [String]
600
+ attr_accessor :service
601
+
602
+ def initialize(**args)
603
+ update!(**args)
604
+ end
605
+
606
+ # Update properties of this object
607
+ def update!(**args)
608
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
609
+ @service = args[:service] if args.key?(:service)
610
+ end
611
+ end
612
+
613
+ # Provides the configuration for logging a type of permissions. Example: ` "
614
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
615
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
616
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
617
+ # DATA_READ logging.
618
+ class GoogleIamV1AuditLogConfig
619
+ include Google::Apis::Core::Hashable
620
+
621
+ # Specifies the identities that do not cause logging for this type of permission.
622
+ # Follows the same format of Binding.members.
623
+ # Corresponds to the JSON property `exemptedMembers`
624
+ # @return [Array<String>]
625
+ attr_accessor :exempted_members
626
+
627
+ # The log type that this config enables.
628
+ # Corresponds to the JSON property `logType`
629
+ # @return [String]
630
+ attr_accessor :log_type
631
+
632
+ def initialize(**args)
633
+ update!(**args)
634
+ end
635
+
636
+ # Update properties of this object
637
+ def update!(**args)
638
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
639
+ @log_type = args[:log_type] if args.key?(:log_type)
640
+ end
641
+ end
642
+
643
+ # Associates `members`, or principals, with a `role`.
644
+ class GoogleIamV1Binding
645
+ include Google::Apis::Core::Hashable
646
+
647
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
648
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
649
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
650
+ # "Summary size limit" description: "Determines if a summary is less than 100
651
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
652
+ # Requestor is owner" description: "Determines if requestor is the document
653
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
654
+ # Logic): title: "Public documents" description: "Determine whether the document
655
+ # should be publicly visible" expression: "document.type != 'private' &&
656
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
657
+ # string" description: "Create a notification string with a timestamp."
658
+ # expression: "'New message received at ' + string(document.create_time)" The
659
+ # exact variables and functions that may be referenced within an expression are
660
+ # determined by the service that evaluates it. See the service documentation for
661
+ # additional information.
662
+ # Corresponds to the JSON property `condition`
663
+ # @return [Google::Apis::AgentregistryV1::Expr]
664
+ attr_accessor :condition
665
+
666
+ # Specifies the principals requesting access for a Google Cloud resource. `
667
+ # members` can have the following values: * `allUsers`: A special identifier
668
+ # that represents anyone who is on the internet; with or without a Google
669
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
670
+ # anyone who is authenticated with a Google account or a service account. Does
671
+ # not include identities that come from external identity providers (IdPs)
672
+ # through identity federation. * `user:`emailid``: An email address that
673
+ # represents a specific Google account. For example, `alice@example.com` . * `
674
+ # serviceAccount:`emailid``: An email address that represents a Google service
675
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
676
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
677
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
678
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
679
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
680
+ # email address that represents a Google group. For example, `admins@example.com`
681
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
682
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
683
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
684
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
685
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
686
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
687
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
688
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
689
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
690
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
691
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
692
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
693
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
694
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
695
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
696
+ # googleapis.com/projects/`project_number`/locations/global/
697
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
698
+ # All identities in a workload identity pool with a certain attribute. * `
699
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
700
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
701
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
702
+ # identifier) representing a user that has been recently deleted. For example, `
703
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
704
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
705
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
706
+ # address (plus unique identifier) representing a service account that has been
707
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
708
+ # 123456789012345678901`. If the service account is undeleted, this value
709
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
710
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
711
+ # An email address (plus unique identifier) representing a Google group that has
712
+ # been recently deleted. For example, `admins@example.com?uid=
713
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
714
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
715
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
716
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
717
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
718
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
719
+ # Corresponds to the JSON property `members`
720
+ # @return [Array<String>]
721
+ attr_accessor :members
722
+
723
+ # Role that is assigned to the list of `members`, or principals. For example, `
724
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
725
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
726
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
727
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
728
+ # Corresponds to the JSON property `role`
729
+ # @return [String]
730
+ attr_accessor :role
731
+
732
+ def initialize(**args)
733
+ update!(**args)
734
+ end
735
+
736
+ # Update properties of this object
737
+ def update!(**args)
738
+ @condition = args[:condition] if args.key?(:condition)
739
+ @members = args[:members] if args.key?(:members)
740
+ @role = args[:role] if args.key?(:role)
741
+ end
742
+ end
743
+
744
+ # An Identity and Access Management (IAM) policy, which specifies access
745
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
746
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
747
+ # Principals can be user accounts, service accounts, Google groups, and domains (
748
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
749
+ # an IAM predefined role or a user-created custom role. For some types of Google
750
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
751
+ # logical expression that allows access to a resource only if the expression
752
+ # evaluates to `true`. A condition can add constraints based on attributes of
753
+ # the request, the resource, or both. To learn which resources support
754
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
755
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
756
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
757
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
758
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
759
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
760
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
761
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
762
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
763
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
764
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
765
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
766
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
767
+ # title: expirable access description: Does not grant access after Sep 2020
768
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
769
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
770
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
771
+ class GoogleIamV1Policy
772
+ include Google::Apis::Core::Hashable
773
+
774
+ # Specifies cloud audit logging configuration for this policy.
775
+ # Corresponds to the JSON property `auditConfigs`
776
+ # @return [Array<Google::Apis::AgentregistryV1::GoogleIamV1AuditConfig>]
777
+ attr_accessor :audit_configs
778
+
779
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
780
+ # specify a `condition` that determines how and when the `bindings` are applied.
781
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
782
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
783
+ # can be Google groups. Each occurrence of a principal counts towards these
784
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
785
+ # example.com`, and not to any other principal, then you can add another 1,450
786
+ # principals to the `bindings` in the `Policy`.
787
+ # Corresponds to the JSON property `bindings`
788
+ # @return [Array<Google::Apis::AgentregistryV1::GoogleIamV1Binding>]
789
+ attr_accessor :bindings
790
+
791
+ # `etag` is used for optimistic concurrency control as a way to help prevent
792
+ # simultaneous updates of a policy from overwriting each other. It is strongly
793
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
794
+ # to perform policy updates in order to avoid race conditions: An `etag` is
795
+ # returned in the response to `getIamPolicy`, and systems are expected to put
796
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
797
+ # applied to the same version of the policy. **Important:** If you use IAM
798
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
799
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
800
+ # with a version `1` policy, and all of the conditions in the version `3` policy
801
+ # are lost.
802
+ # Corresponds to the JSON property `etag`
803
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
804
+ # @return [String]
805
+ attr_accessor :etag
806
+
807
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
808
+ # Requests that specify an invalid value are rejected. Any operation that
809
+ # affects conditional role bindings must specify version `3`. This requirement
810
+ # applies to the following operations: * Getting a policy that includes a
811
+ # conditional role binding * Adding a conditional role binding to a policy *
812
+ # Changing a conditional role binding in a policy * Removing any role binding,
813
+ # with or without a condition, from a policy that includes conditions **
814
+ # Important:** If you use IAM Conditions, you must include the `etag` field
815
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
816
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
817
+ # conditions in the version `3` policy are lost. If a policy does not include
818
+ # any conditions, operations on that policy may specify any valid version or
819
+ # leave the field unset. To learn which resources support conditions in their
820
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
821
+ # conditions/resource-policies).
822
+ # Corresponds to the JSON property `version`
823
+ # @return [Fixnum]
824
+ attr_accessor :version
825
+
826
+ def initialize(**args)
827
+ update!(**args)
828
+ end
829
+
830
+ # Update properties of this object
831
+ def update!(**args)
832
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
833
+ @bindings = args[:bindings] if args.key?(:bindings)
834
+ @etag = args[:etag] if args.key?(:etag)
835
+ @version = args[:version] if args.key?(:version)
836
+ end
837
+ end
838
+
839
+ # Request message for `SetIamPolicy` method.
840
+ class GoogleIamV1SetIamPolicyRequest
841
+ include Google::Apis::Core::Hashable
842
+
843
+ # An Identity and Access Management (IAM) policy, which specifies access
844
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
845
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
846
+ # Principals can be user accounts, service accounts, Google groups, and domains (
847
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
848
+ # an IAM predefined role or a user-created custom role. For some types of Google
849
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
850
+ # logical expression that allows access to a resource only if the expression
851
+ # evaluates to `true`. A condition can add constraints based on attributes of
852
+ # the request, the resource, or both. To learn which resources support
853
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
854
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
855
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
856
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
857
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
858
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
859
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
860
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
861
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
862
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
863
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
864
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
865
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
866
+ # title: expirable access description: Does not grant access after Sep 2020
867
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
868
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
869
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
870
+ # Corresponds to the JSON property `policy`
871
+ # @return [Google::Apis::AgentregistryV1::GoogleIamV1Policy]
872
+ attr_accessor :policy
873
+
874
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
875
+ # the fields in the mask will be modified. If no mask is provided, the following
876
+ # default mask is used: `paths: "bindings, etag"`
877
+ # Corresponds to the JSON property `updateMask`
878
+ # @return [String]
879
+ attr_accessor :update_mask
880
+
881
+ def initialize(**args)
882
+ update!(**args)
883
+ end
884
+
885
+ # Update properties of this object
886
+ def update!(**args)
887
+ @policy = args[:policy] if args.key?(:policy)
888
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
889
+ end
890
+ end
891
+
892
+ # Request message for `TestIamPermissions` method.
893
+ class GoogleIamV1TestIamPermissionsRequest
894
+ include Google::Apis::Core::Hashable
895
+
896
+ # The set of permissions to check for the `resource`. Permissions with wildcards
897
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
898
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
899
+ # Corresponds to the JSON property `permissions`
900
+ # @return [Array<String>]
901
+ attr_accessor :permissions
902
+
903
+ def initialize(**args)
904
+ update!(**args)
905
+ end
906
+
907
+ # Update properties of this object
908
+ def update!(**args)
909
+ @permissions = args[:permissions] if args.key?(:permissions)
910
+ end
911
+ end
912
+
913
+ # Response message for `TestIamPermissions` method.
914
+ class GoogleIamV1TestIamPermissionsResponse
915
+ include Google::Apis::Core::Hashable
916
+
917
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
918
+ # Corresponds to the JSON property `permissions`
919
+ # @return [Array<String>]
920
+ attr_accessor :permissions
921
+
922
+ def initialize(**args)
923
+ update!(**args)
924
+ end
925
+
926
+ # Update properties of this object
927
+ def update!(**args)
928
+ @permissions = args[:permissions] if args.key?(:permissions)
929
+ end
930
+ end
931
+
518
932
  # Represents the connection details for an Agent or MCP Server.
519
933
  class Interface
520
934
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AgentregistryV1
18
18
  # Version of the google-apis-agentregistry_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260617"
25
+ REVISION = "20260904"
26
26
  end
27
27
  end
28
28
  end
@@ -88,12 +88,60 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class Expr
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class FetchAvailableBindingsResponse
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
94
100
  include Google::Apis::Core::JsonObjectSupport
95
101
  end
96
102
 
103
+ class GoogleIamV1AuditConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleIamV1AuditLogConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleIamV1Binding
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleIamV1Policy
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleIamV1SetIamPolicyRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleIamV1TestIamPermissionsRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleIamV1TestIamPermissionsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
97
145
  class Interface
98
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
147
 
@@ -353,6 +401,16 @@ module Google
353
401
  end
354
402
  end
355
403
 
404
+ class Expr
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :description, as: 'description'
408
+ property :expression, as: 'expression'
409
+ property :location, as: 'location'
410
+ property :title, as: 'title'
411
+ end
412
+ end
413
+
356
414
  class FetchAvailableBindingsResponse
357
415
  # @private
358
416
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -362,6 +420,68 @@ module Google
362
420
  end
363
421
  end
364
422
 
423
+ class GoogleIamV1AuditConfig
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::AgentregistryV1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::AgentregistryV1::GoogleIamV1AuditLogConfig::Representation
427
+
428
+ property :service, as: 'service'
429
+ end
430
+ end
431
+
432
+ class GoogleIamV1AuditLogConfig
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ collection :exempted_members, as: 'exemptedMembers'
436
+ property :log_type, as: 'logType'
437
+ end
438
+ end
439
+
440
+ class GoogleIamV1Binding
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :condition, as: 'condition', class: Google::Apis::AgentregistryV1::Expr, decorator: Google::Apis::AgentregistryV1::Expr::Representation
444
+
445
+ collection :members, as: 'members'
446
+ property :role, as: 'role'
447
+ end
448
+ end
449
+
450
+ class GoogleIamV1Policy
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::AgentregistryV1::GoogleIamV1AuditConfig, decorator: Google::Apis::AgentregistryV1::GoogleIamV1AuditConfig::Representation
454
+
455
+ collection :bindings, as: 'bindings', class: Google::Apis::AgentregistryV1::GoogleIamV1Binding, decorator: Google::Apis::AgentregistryV1::GoogleIamV1Binding::Representation
456
+
457
+ property :etag, :base64 => true, as: 'etag'
458
+ property :version, as: 'version'
459
+ end
460
+ end
461
+
462
+ class GoogleIamV1SetIamPolicyRequest
463
+ # @private
464
+ class Representation < Google::Apis::Core::JsonRepresentation
465
+ property :policy, as: 'policy', class: Google::Apis::AgentregistryV1::GoogleIamV1Policy, decorator: Google::Apis::AgentregistryV1::GoogleIamV1Policy::Representation
466
+
467
+ property :update_mask, as: 'updateMask'
468
+ end
469
+ end
470
+
471
+ class GoogleIamV1TestIamPermissionsRequest
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ collection :permissions, as: 'permissions'
475
+ end
476
+ end
477
+
478
+ class GoogleIamV1TestIamPermissionsResponse
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ collection :permissions, as: 'permissions'
482
+ end
483
+ end
484
+
365
485
  class Interface
366
486
  # @private
367
487
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -246,6 +246,127 @@ module Google
246
246
  execute_or_queue_command(command, &block)
247
247
  end
248
248
 
249
+ # Gets the access control policy for a resource. Returns an empty policy if the
250
+ # resource exists and does not have a policy set.
251
+ # @param [String] resource
252
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
253
+ # names](https://cloud.google.com/apis/design/resource_names) for the
254
+ # appropriate value for this field.
255
+ # @param [Fixnum] options_requested_policy_version
256
+ # Optional. The maximum policy version that will be used to format the policy.
257
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
258
+ # rejected. Requests for policies with any conditional role bindings must
259
+ # specify version 3. Policies with no conditional role bindings may specify any
260
+ # valid value or leave the field unset. The policy in the response might use the
261
+ # policy version that you specified, or it might use a lower policy version. For
262
+ # example, if you specify version 3, but the policy has no conditional role
263
+ # bindings, the response uses version 1. To learn which resources support
264
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
265
+ # google.com/iam/help/conditions/resource-policies).
266
+ # @param [String] fields
267
+ # Selector specifying which fields to include in a partial response.
268
+ # @param [String] quota_user
269
+ # Available to use for quota purposes for server-side applications. Can be any
270
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
271
+ # @param [Google::Apis::RequestOptions] options
272
+ # Request-specific options
273
+ #
274
+ # @yield [result, err] Result & error if block supplied
275
+ # @yieldparam result [Google::Apis::AgentregistryV1::GoogleIamV1Policy] parsed result object
276
+ # @yieldparam err [StandardError] error object if request failed
277
+ #
278
+ # @return [Google::Apis::AgentregistryV1::GoogleIamV1Policy]
279
+ #
280
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
281
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
282
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
283
+ def get_project_location_ai_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
284
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
285
+ command.response_representation = Google::Apis::AgentregistryV1::GoogleIamV1Policy::Representation
286
+ command.response_class = Google::Apis::AgentregistryV1::GoogleIamV1Policy
287
+ command.params['resource'] = resource unless resource.nil?
288
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
289
+ command.query['fields'] = fields unless fields.nil?
290
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
291
+ execute_or_queue_command(command, &block)
292
+ end
293
+
294
+ # Sets the access control policy on the specified resource. Replaces any
295
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
296
+ # PERMISSION_DENIED` errors.
297
+ # @param [String] resource
298
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
299
+ # names](https://cloud.google.com/apis/design/resource_names) for the
300
+ # appropriate value for this field.
301
+ # @param [Google::Apis::AgentregistryV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
302
+ # @param [String] fields
303
+ # Selector specifying which fields to include in a partial response.
304
+ # @param [String] quota_user
305
+ # Available to use for quota purposes for server-side applications. Can be any
306
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
307
+ # @param [Google::Apis::RequestOptions] options
308
+ # Request-specific options
309
+ #
310
+ # @yield [result, err] Result & error if block supplied
311
+ # @yieldparam result [Google::Apis::AgentregistryV1::GoogleIamV1Policy] parsed result object
312
+ # @yieldparam err [StandardError] error object if request failed
313
+ #
314
+ # @return [Google::Apis::AgentregistryV1::GoogleIamV1Policy]
315
+ #
316
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
317
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
318
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
319
+ def set_project_location_ai_application_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
320
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
321
+ command.request_representation = Google::Apis::AgentregistryV1::GoogleIamV1SetIamPolicyRequest::Representation
322
+ command.request_object = google_iam_v1_set_iam_policy_request_object
323
+ command.response_representation = Google::Apis::AgentregistryV1::GoogleIamV1Policy::Representation
324
+ command.response_class = Google::Apis::AgentregistryV1::GoogleIamV1Policy
325
+ command.params['resource'] = resource unless resource.nil?
326
+ command.query['fields'] = fields unless fields.nil?
327
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
328
+ execute_or_queue_command(command, &block)
329
+ end
330
+
331
+ # Returns permissions that a caller has on the specified resource. If the
332
+ # resource does not exist, this will return an empty set of permissions, not a `
333
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
334
+ # permission-aware UIs and command-line tools, not for authorization checking.
335
+ # This operation may "fail open" without warning.
336
+ # @param [String] resource
337
+ # REQUIRED: The resource for which the policy detail is being requested. See [
338
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
339
+ # appropriate value for this field.
340
+ # @param [Google::Apis::AgentregistryV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
341
+ # @param [String] fields
342
+ # Selector specifying which fields to include in a partial response.
343
+ # @param [String] quota_user
344
+ # Available to use for quota purposes for server-side applications. Can be any
345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
346
+ # @param [Google::Apis::RequestOptions] options
347
+ # Request-specific options
348
+ #
349
+ # @yield [result, err] Result & error if block supplied
350
+ # @yieldparam result [Google::Apis::AgentregistryV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
351
+ # @yieldparam err [StandardError] error object if request failed
352
+ #
353
+ # @return [Google::Apis::AgentregistryV1::GoogleIamV1TestIamPermissionsResponse]
354
+ #
355
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
356
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
357
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
358
+ def test_project_location_ai_application_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
359
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
360
+ command.request_representation = Google::Apis::AgentregistryV1::GoogleIamV1TestIamPermissionsRequest::Representation
361
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
362
+ command.response_representation = Google::Apis::AgentregistryV1::GoogleIamV1TestIamPermissionsResponse::Representation
363
+ command.response_class = Google::Apis::AgentregistryV1::GoogleIamV1TestIamPermissionsResponse
364
+ command.params['resource'] = resource unless resource.nil?
365
+ command.query['fields'] = fields unless fields.nil?
366
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
367
+ execute_or_queue_command(command, &block)
368
+ end
369
+
249
370
  # Creates a new Binding in a given project and location.
250
371
  # @param [String] parent
251
372
  # Required. The project and location to create the Binding in. Expected format: `
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-agentregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-agentregistry_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-agentregistry_v1/v0.1.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-agentregistry_v1/v0.2.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-agentregistry_v1
62
62
  rdoc_options: []
63
63
  require_paths: