@@ -1102,6 +1102,15 @@ def get_resource_record_set(project, managed_zone, name, type, client_operation_
11021102 # @param [String] managed_zone
11031103 # Identifies the managed zone addressed by this request. Can be the managed zone
11041104 # name or ID.
1105+ # @param [String] filter
1106+ # Specify a filter expression to view records that exactly match the specified
1107+ # domain. Both the name and type parameters are not supported when you use
1108+ # filter and must be omitted. Your filter expression must conform to AIP-160 and
1109+ # you must specify a domain in the name field. Optionally, you can include the
1110+ # type field to filter records by type. You can also include the has_suffix
1111+ # function to view records that match by domain suffix. Examples: - name="
1112+ # example.com." - name="example.com." AND type="A" - name=has_suffix("example.
1113+ # com.") - name=has_suffix("example.com.") AND type="A"
11051114 # @param [Fixnum] max_results
11061115 # Optional. Maximum number of results to be returned. If unspecified, the server
11071116 # decides how many results to return.
@@ -1132,12 +1141,13 @@ def get_resource_record_set(project, managed_zone, name, type, client_operation_
11321141 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11331142 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11341143 # @raise [Google::Apis::AuthorizationError] Authorization is required
1135- def list_resource_record_sets ( project , managed_zone , max_results : nil , name : nil , page_token : nil , type : nil , fields : nil , quota_user : nil , options : nil , &block )
1144+ def list_resource_record_sets ( project , managed_zone , filter : nil , max_results : nil , name : nil , page_token : nil , type : nil , fields : nil , quota_user : nil , options : nil , &block )
11361145 command = make_simple_command ( :get , 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets' , options )
11371146 command . response_representation = Google ::Apis ::DnsV1 ::ListResourceRecordSetsResponse ::Representation
11381147 command . response_class = Google ::Apis ::DnsV1 ::ListResourceRecordSetsResponse
11391148 command . params [ 'project' ] = project unless project . nil?
11401149 command . params [ 'managedZone' ] = managed_zone unless managed_zone . nil?
1150+ command . query [ 'filter' ] = filter unless filter . nil?
11411151 command . query [ 'maxResults' ] = max_results unless max_results . nil?
11421152 command . query [ 'name' ] = name unless name . nil?
11431153 command . query [ 'pageToken' ] = page_token unless page_token . nil?
0 commit comments