google-apis-managedidentities_v1 0.22.0 → 0.23.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/managedidentities_v1/classes.rb +59 -23
- data/lib/google/apis/managedidentities_v1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1/representations.rb +15 -0
- data/lib/google/apis/managedidentities_v1/service.rb +34 -0
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: c0b3d4d2f5d52c0ea0c15f7ad3b38104873aaed7ee240fea3d8403c8add15888
         | 
| 4 | 
            +
              data.tar.gz: ca6d19496afbdda1abe8932ae8c8c6353bbe1865f6b6535949c9d5ede614240f
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 99648f25d55d48e271eb5c5cb45d40b6fcd5bb4007e9a7e3d0fa77698f13e4e204634843e1ca60d0a1d8d8199628e325b5293044b78681a7e1a6c7d0ec860214
         | 
| 7 | 
            +
              data.tar.gz: b7085b066d7b88f790dc7227bef37c1ab949fb546857b32aa58a2ae4465b8b1bc16ca401ed29d9f48dfb4e5fbca59f8debda1b6ccc92585c29f42c0771eccfcb
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,10 @@ | |
| 1 1 | 
             
            # Release history for google-apis-managedidentities_v1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.23.0 (2022-08-22)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20220817
         | 
| 6 | 
            +
            * Regenerated using generator version 0.9.0
         | 
| 7 | 
            +
             | 
| 3 8 | 
             
            ### v0.22.0 (2022-07-02)
         | 
| 4 9 |  | 
| 5 10 | 
             
            * Regenerated using generator version 0.8.0
         | 
| @@ -131,25 +131,28 @@ module Google | |
| 131 131 | 
             
                    # anyone who is authenticated with a Google account or a service account. * `
         | 
| 132 132 | 
             
                    # user:`emailid``: An email address that represents a specific Google account.
         | 
| 133 133 | 
             
                    # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
         | 
| 134 | 
            -
                    # address that represents a service account. For example, `my-other-app@ | 
| 135 | 
            -
                    # gserviceaccount.com`. * ` | 
| 136 | 
            -
                    #  | 
| 137 | 
            -
                    #  | 
| 138 | 
            -
                    #  | 
| 139 | 
            -
                    #  | 
| 140 | 
            -
                    #  | 
| 141 | 
            -
                    #  | 
| 142 | 
            -
                    #  | 
| 143 | 
            -
                    #  | 
| 144 | 
            -
                    #  | 
| 145 | 
            -
                    # emailid | 
| 146 | 
            -
                    #  | 
| 147 | 
            -
                    #  | 
| 148 | 
            -
                    #  | 
| 149 | 
            -
                    #  | 
| 150 | 
            -
                    #  | 
| 151 | 
            -
                    #  | 
| 152 | 
            -
                    #  | 
| 134 | 
            +
                    # address that represents a Google service account. For example, `my-other-app@
         | 
| 135 | 
            +
                    # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
         | 
| 136 | 
            +
                    # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
         | 
| 137 | 
            +
                    # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
         | 
| 138 | 
            +
                    # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
         | 
| 139 | 
            +
                    # . * `group:`emailid``: An email address that represents a Google group. For
         | 
| 140 | 
            +
                    # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
         | 
| 141 | 
            +
                    # email address (plus unique identifier) representing a user that has been
         | 
| 142 | 
            +
                    # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
         | 
| 143 | 
            +
                    # If the user is recovered, this value reverts to `user:`emailid`` and the
         | 
| 144 | 
            +
                    # recovered user retains the role in the binding. * `deleted:serviceAccount:`
         | 
| 145 | 
            +
                    # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
         | 
| 146 | 
            +
                    # representing a service account that has been recently deleted. For example, `
         | 
| 147 | 
            +
                    # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
         | 
| 148 | 
            +
                    # service account is undeleted, this value reverts to `serviceAccount:`emailid``
         | 
| 149 | 
            +
                    # and the undeleted service account retains the role in the binding. * `deleted:
         | 
| 150 | 
            +
                    # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
         | 
| 151 | 
            +
                    # representing a Google group that has been recently deleted. For example, `
         | 
| 152 | 
            +
                    # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
         | 
| 153 | 
            +
                    # value reverts to `group:`emailid`` and the recovered group retains the role in
         | 
| 154 | 
            +
                    # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
         | 
| 155 | 
            +
                    # all the users of that domain. For example, `google.com` or `example.com`.
         | 
| 153 156 | 
             
                    # Corresponds to the JSON property `members`
         | 
| 154 157 | 
             
                    # @return [Array<String>]
         | 
| 155 158 | 
             
                    attr_accessor :members
         | 
| @@ -545,6 +548,40 @@ module Google | |
| 545 548 | 
             
                    end
         | 
| 546 549 | 
             
                  end
         | 
| 547 550 |  | 
| 551 | 
            +
                  # ExtendSchemaRequest is the request message for ExtendSchema method.
         | 
| 552 | 
            +
                  class ExtendSchemaRequest
         | 
| 553 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 554 | 
            +
                  
         | 
| 555 | 
            +
                    # Required. Description for Schema Change.
         | 
| 556 | 
            +
                    # Corresponds to the JSON property `description`
         | 
| 557 | 
            +
                    # @return [String]
         | 
| 558 | 
            +
                    attr_accessor :description
         | 
| 559 | 
            +
                  
         | 
| 560 | 
            +
                    # File uploaded as a byte stream input.
         | 
| 561 | 
            +
                    # Corresponds to the JSON property `fileContents`
         | 
| 562 | 
            +
                    # NOTE: Values are automatically base64 encoded/decoded in the client library.
         | 
| 563 | 
            +
                    # @return [String]
         | 
| 564 | 
            +
                    attr_accessor :file_contents
         | 
| 565 | 
            +
                  
         | 
| 566 | 
            +
                    # File stored in Cloud Storage bucket and represented in the form projects/`
         | 
| 567 | 
            +
                    # project_id`/buckets/`bucket_name`/objects/`object_name` File should be in the
         | 
| 568 | 
            +
                    # same project as the domain.
         | 
| 569 | 
            +
                    # Corresponds to the JSON property `gcsPath`
         | 
| 570 | 
            +
                    # @return [String]
         | 
| 571 | 
            +
                    attr_accessor :gcs_path
         | 
| 572 | 
            +
                  
         | 
| 573 | 
            +
                    def initialize(**args)
         | 
| 574 | 
            +
                       update!(**args)
         | 
| 575 | 
            +
                    end
         | 
| 576 | 
            +
                  
         | 
| 577 | 
            +
                    # Update properties of this object
         | 
| 578 | 
            +
                    def update!(**args)
         | 
| 579 | 
            +
                      @description = args[:description] if args.key?(:description)
         | 
| 580 | 
            +
                      @file_contents = args[:file_contents] if args.key?(:file_contents)
         | 
| 581 | 
            +
                      @gcs_path = args[:gcs_path] if args.key?(:gcs_path)
         | 
| 582 | 
            +
                    end
         | 
| 583 | 
            +
                  end
         | 
| 584 | 
            +
                  
         | 
| 548 585 | 
             
                  # Represents the metadata of the long-running operation.
         | 
| 549 586 | 
             
                  class GoogleCloudManagedidentitiesV1OpMetadata
         | 
| 550 587 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -738,8 +775,8 @@ module Google | |
| 738 775 | 
             
                    # @return [Hash<String,String>]
         | 
| 739 776 | 
             
                    attr_accessor :labels
         | 
| 740 777 |  | 
| 741 | 
            -
                    # Deprecated. The MaintenancePolicies that have been attached to the | 
| 742 | 
            -
                    # The key must be of the type name of the oneof policy name defined in
         | 
| 778 | 
            +
                    # Optional. Deprecated. The MaintenancePolicies that have been attached to the
         | 
| 779 | 
            +
                    # instance. The key must be of the type name of the oneof policy name defined in
         | 
| 743 780 | 
             
                    # MaintenancePolicy, and the referenced policy must define the same policy type.
         | 
| 744 781 | 
             
                    # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
         | 
| 745 782 | 
             
                    # Corresponds to the JSON property `maintenancePolicyNames`
         | 
| @@ -925,8 +962,7 @@ module Google | |
| 925 962 | 
             
                    # key must be of the type name of the oneof policy name defined in
         | 
| 926 963 | 
             
                    # MaintenancePolicy, and the embedded policy must define the same policy type.
         | 
| 927 964 | 
             
                    # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
         | 
| 928 | 
            -
                    # If only the name is needed  | 
| 929 | 
            -
                    # maintenance_policy_names field) then only populate MaintenancePolicy.name.
         | 
| 965 | 
            +
                    # If only the name is needed, then only populate MaintenancePolicy.name.
         | 
| 930 966 | 
             
                    # Corresponds to the JSON property `maintenancePolicies`
         | 
| 931 967 | 
             
                    # @return [Hash<String,Google::Apis::ManagedidentitiesV1::MaintenancePolicy>]
         | 
| 932 968 | 
             
                    attr_accessor :maintenance_policies
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module ManagedidentitiesV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-managedidentities_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.23.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 | 
            -
                  GENERATOR_VERSION = "0. | 
| 22 | 
            +
                  GENERATOR_VERSION = "0.9.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20220817"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -94,6 +94,12 @@ module Google | |
| 94 94 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 95 95 | 
             
                  end
         | 
| 96 96 |  | 
| 97 | 
            +
                  class ExtendSchemaRequest
         | 
| 98 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 99 | 
            +
                  
         | 
| 100 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 101 | 
            +
                  end
         | 
| 102 | 
            +
                  
         | 
| 97 103 | 
             
                  class GoogleCloudManagedidentitiesV1OpMetadata
         | 
| 98 104 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 99 105 |  | 
| @@ -463,6 +469,15 @@ module Google | |
| 463 469 | 
             
                    end
         | 
| 464 470 | 
             
                  end
         | 
| 465 471 |  | 
| 472 | 
            +
                  class ExtendSchemaRequest
         | 
| 473 | 
            +
                    # @private
         | 
| 474 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 475 | 
            +
                      property :description, as: 'description'
         | 
| 476 | 
            +
                      property :file_contents, :base64 => true, as: 'fileContents'
         | 
| 477 | 
            +
                      property :gcs_path, as: 'gcsPath'
         | 
| 478 | 
            +
                    end
         | 
| 479 | 
            +
                  end
         | 
| 480 | 
            +
                  
         | 
| 466 481 | 
             
                  class GoogleCloudManagedidentitiesV1OpMetadata
         | 
| 467 482 | 
             
                    # @private
         | 
| 468 483 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -265,6 +265,40 @@ module Google | |
| 265 265 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 266 266 | 
             
                    end
         | 
| 267 267 |  | 
| 268 | 
            +
                    # Extend Schema for Domain
         | 
| 269 | 
            +
                    # @param [String] domain
         | 
| 270 | 
            +
                    #   Required. The domain resource name using the form: `projects/`project_id`/
         | 
| 271 | 
            +
                    #   locations/global/domains/`domain_name``
         | 
| 272 | 
            +
                    # @param [Google::Apis::ManagedidentitiesV1::ExtendSchemaRequest] extend_schema_request_object
         | 
| 273 | 
            +
                    # @param [String] fields
         | 
| 274 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 275 | 
            +
                    # @param [String] quota_user
         | 
| 276 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 277 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 278 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 279 | 
            +
                    #   Request-specific options
         | 
| 280 | 
            +
                    #
         | 
| 281 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 282 | 
            +
                    # @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
         | 
| 283 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 284 | 
            +
                    #
         | 
| 285 | 
            +
                    # @return [Google::Apis::ManagedidentitiesV1::Operation]
         | 
| 286 | 
            +
                    #
         | 
| 287 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 288 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 289 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 290 | 
            +
                    def extend_domain_schema(domain, extend_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 291 | 
            +
                      command = make_simple_command(:post, 'v1/{+domain}:extendSchema', options)
         | 
| 292 | 
            +
                      command.request_representation = Google::Apis::ManagedidentitiesV1::ExtendSchemaRequest::Representation
         | 
| 293 | 
            +
                      command.request_object = extend_schema_request_object
         | 
| 294 | 
            +
                      command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
         | 
| 295 | 
            +
                      command.response_class = Google::Apis::ManagedidentitiesV1::Operation
         | 
| 296 | 
            +
                      command.params['domain'] = domain unless domain.nil?
         | 
| 297 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 298 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 299 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 300 | 
            +
                    end
         | 
| 301 | 
            +
                    
         | 
| 268 302 | 
             
                    # Gets information about a domain.
         | 
| 269 303 | 
             
                    # @param [String] name
         | 
| 270 304 | 
             
                    #   Required. The domain resource name using the form: `projects/`project_id`/
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-managedidentities_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.23.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2022- | 
| 11 | 
            +
            date: 2022-08-29 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| @@ -59,7 +59,7 @@ licenses: | |
| 59 59 | 
             
            metadata:
         | 
| 60 60 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 61 61 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1/CHANGELOG.md
         | 
| 62 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0. | 
| 62 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.23.0
         | 
| 63 63 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1
         | 
| 64 64 | 
             
            post_install_message: 
         | 
| 65 65 | 
             
            rdoc_options: []
         |