diff --git "a/saved_models/fine_tune/ruby/docstring_list.json" "b/saved_models/fine_tune/ruby/docstring_list.json" new file mode 100644--- /dev/null +++ "b/saved_models/fine_tune/ruby/docstring_list.json" @@ -0,0 +1 @@ +["Render but returns a valid Rack body. If fibers are defined, we return\n a streaming body that renders the template piece by piece.\n\n Note that partials are not supported to be rendered with streaming,\n so in such cases, we just wrap them in an array.", "+attribute_missing+ is like +method_missing+, but for attributes. When\n +method_missing+ is called we check to see if there is a matching\n attribute method. If so, we tell +attribute_missing+ to dispatch the\n attribute. This method can be overloaded to customize the behavior.", "Returns a struct representing the matching attribute method.\n The struct's attributes are prefix, base and suffix.", "Removes the module part from the expression in the string.\n\n demodulize('ActiveSupport::Inflector::Inflections') # => \"Inflections\"\n demodulize('Inflections') # => \"Inflections\"\n demodulize('::Inflections') # => \"Inflections\"\n demodulize('') # => \"\"\n\n See also #deconstantize.", "Mounts a regular expression, returned as a string to ease interpolation,\n that will match part by part the given constant.\n\n const_regexp(\"Foo::Bar::Baz\") # => \"Foo(::Bar(::Baz)?)?\"\n const_regexp(\"::\") # => \"::\"", "Applies inflection rules for +singularize+ and +pluralize+.\n\n If passed an optional +locale+ parameter, the uncountables will be\n found for that locale.\n\n apply_inflections('post', inflections.plurals, :en) # => \"posts\"\n apply_inflections('posts', inflections.singulars, :en) # => \"post\"", "Attempt to autoload the provided module name by searching for a directory\n matching the expected path suffix. If found, the module is created and\n assigned to +into+'s constants with the name +const_name+. Provided that\n the directory was loaded from a reloadable base path, it is added to the\n set of constants that are to be unloaded.", "Parse an XML Document string or IO into a simple hash.\n\n Same as XmlSimple::xml_in but doesn't shoot itself in the foot,\n and uses the defaults from Active Support.\n\n data::\n XML Document string or IO to parse", "Connects a model to the databases specified. The +database+ keyword\n takes a hash consisting of a +role+ and a +database_key+.\n\n This will create a connection handler for switching between connections,\n look up the config hash using the +database_key+ and finally\n establishes a connection to that config.\n\n class AnimalsModel < ApplicationRecord\n self.abstract_class = true\n\n connects_to database: { writing: :primary, reading: :primary_replica }\n end\n\n Returns an array of established connections.", "Clears the query cache for all connections associated with the current thread.", "turns 20170404131909 into \"2017_04_04_131909\"", "Keep it for indexing materialized views", "Returns a formatted string of the offset from UTC, or an alternative\n string if the time zone is already UTC.\n\n Time.zone = 'Eastern Time (US & Canada)' # => \"Eastern Time (US & Canada)\"\n Time.zone.now.formatted_offset(true) # => \"-05:00\"\n Time.zone.now.formatted_offset(false) # => \"-0500\"\n Time.zone = 'UTC' # => \"UTC\"\n Time.zone.now.formatted_offset(true, \"0\") # => \"0\"", "Uses Date to provide precise Time calculations for years, months, and days\n according to the proleptic Gregorian calendar. The result is returned as a\n new TimeWithZone object.\n\n The +options+ parameter takes a hash with any of these keys:\n :years, :months, :weeks, :days,\n :hours, :minutes, :seconds.\n\n If advancing by a value of variable length (i.e., years, weeks, months,\n days), move forward from #time, otherwise move forward from #utc, for\n accuracy when moving across DST boundaries.\n\n Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'\n now = Time.zone.now # => Sun, 02 Nov 2014 01:26:28 EDT -04:00\n now.advance(seconds: 1) # => Sun, 02 Nov 2014 01:26:29 EDT -04:00\n now.advance(minutes: 1) # => Sun, 02 Nov 2014 01:27:28 EDT -04:00\n now.advance(hours: 1) # => Sun, 02 Nov 2014 01:26:28 EST -05:00\n now.advance(days: 1) # => Mon, 03 Nov 2014 01:26:28 EST -05:00\n now.advance(weeks: 1) # => Sun, 09 Nov 2014 01:26:28 EST -05:00\n now.advance(months: 1) # => Tue, 02 Dec 2014 01:26:28 EST -05:00\n now.advance(years: 1) # => Mon, 02 Nov 2015 01:26:28 EST -05:00", "Calls the action going through the entire action dispatch stack.\n\n The actual method that is called is determined by calling\n #method_for_action. If no method can handle the action, then an\n AbstractController::ActionNotFound error is raised.\n\n ==== Returns\n * self", "Passes each element of +candidates+ collection to ArrayInquirer collection.\n The method returns true if any element from the ArrayInquirer collection\n is equal to the stringified or symbolized form of any element in the +candidates+ collection.\n\n If +candidates+ collection is not given, method returns true.\n\n variants = ActiveSupport::ArrayInquirer.new([:phone, :tablet])\n\n variants.any? # => true\n variants.any?(:phone, :tablet) # => true\n variants.any?('phone', 'desktop') # => true\n variants.any?(:desktop, :watch) # => false", "Returns a stable cache key that can be used to identify this record.\n\n Product.new.cache_key # => \"products/new\"\n Product.find(5).cache_key # => \"products/5\"\n\n If ActiveRecord::Base.cache_versioning is turned off, as it was in Rails 5.1 and earlier,\n the cache key will also include a version.\n\n Product.cache_versioning = false\n Product.find(5).cache_key # => \"products/5-20071224150000\" (updated_at available)", "Returns +text+ wrapped at +len+ columns and indented +indent+ spaces.\n By default column length +len+ equals 72 characters and indent\n +indent+ equal two spaces.\n\n my_text = 'Here is a sample text with more than 40 characters'\n\n format_paragraph(my_text, 25, 4)\n # => \" Here is a sample text with\\n more than 40 characters\"", "Yields each batch of records that was found by the find options as\n an array.\n\n Person.where(\"age > 21\").find_in_batches do |group|\n sleep(50) # Make sure it doesn't get too crowded in there!\n group.each { |person| person.party_all_night! }\n end\n\n If you do not provide a block to #find_in_batches, it will return an Enumerator\n for chaining with other methods:\n\n Person.find_in_batches.with_index do |group, batch|\n puts \"Processing group ##{batch}\"\n group.each(&:recover_from_last_night!)\n end\n\n To be yielded each record one by one, use #find_each instead.\n\n ==== Options\n * :batch_size - Specifies the size of the batch. Defaults to 1000.\n * :start - Specifies the primary key value to start from, inclusive of the value.\n * :finish - Specifies the primary key value to end at, inclusive of the value.\n * :error_on_ignore - Overrides the application config to specify if an error should be raised when\n an order is present in the relation.\n\n Limits are honored, and if present there is no requirement for the batch\n size: it can be less than, equal to, or greater than the limit.\n\n The options +start+ and +finish+ are especially useful if you want\n multiple workers dealing with the same processing queue. You can make\n worker 1 handle all the records between id 1 and 9999 and worker 2\n handle from 10000 and beyond by setting the +:start+ and +:finish+\n option on each worker.\n\n # Let's process from record 10_000 on.\n Person.find_in_batches(start: 10_000) do |group|\n group.each { |person| person.party_all_night! }\n end\n\n NOTE: It's not possible to set the order. That is automatically set to\n ascending on the primary key (\"id ASC\") to make the batch ordering\n work. This also means that this method only works when the primary key is\n orderable (e.g. an integer or string).\n\n NOTE: By its nature, batch processing is subject to race conditions if\n other processes are modifying the database.", "See if error matches provided +attribute+, +type+ and +options+.", "`order_by` is an enumerable object containing keys of the cache,\n all keys are passed in whether found already or not.\n\n `cached_partials` is a hash. If the value exists\n it represents the rendered partial from the cache\n otherwise `Hash#fetch` will take the value of its block.\n\n This method expects a block that will return the rendered\n partial. An example is to render all results\n for each element that was not found in the cache and store it as an array.\n Order it so that the first empty cache element in `cached_partials`\n corresponds to the first element in `rendered_partials`.\n\n If the partial is not already cached it will also be\n written back to the underlying cache store.", "Runs the callbacks for the given event.\n\n Calls the before and around callbacks in the order they were set, yields\n the block (if given one), and then runs the after callbacks in reverse\n order.\n\n If the callback chain was halted, returns +false+. Otherwise returns the\n result of the block, +nil+ if no callbacks have been set, or +true+\n if callbacks have been set but no block is given.\n\n run_callbacks :save do\n save\n end\n\n--\n\n As this method is used in many places, and often wraps large portions of\n user code, it has an additional design goal of minimizing its impact on\n the visible call stack. An exception from inside a :before or :after\n callback can be as noisy as it likes -- but when control has passed\n smoothly through and into the supplied block, we want as little evidence\n as possible that we were here.", "If +file+ is the filename of a file that contains annotations this method returns\n a hash with a single entry that maps +file+ to an array of its annotations.\n Otherwise it returns an empty hash.", "Checks if we should perform parameters wrapping.", "create a new session. If a block is given, the new session will be yielded\n to the block before being returned.", "reloads the environment", "The DOM id convention is to use the singular form of an object or class with the id following an underscore.\n If no id is found, prefix with \"new_\" instead.\n\n dom_id(Post.find(45)) # => \"post_45\"\n dom_id(Post.new) # => \"new_post\"\n\n If you need to address multiple instances of the same class in the same view, you can prefix the dom_id:\n\n dom_id(Post.find(45), :edit) # => \"edit_post_45\"\n dom_id(Post.new, :custom) # => \"custom_post\"", "Evaluate given block in context of base class,\n so that you can write class macros here.\n When you define more than one +included+ block, it raises an exception.", "Define class methods from given block.\n You can define private class methods as well.\n\n module Example\n extend ActiveSupport::Concern\n\n class_methods do\n def foo; puts 'foo'; end\n\n private\n def bar; puts 'bar'; end\n end\n end\n\n class Buzz\n include Example\n end\n\n Buzz.foo # => \"foo\"\n Buzz.bar # => private method 'bar' called for Buzz:Class(NoMethodError)", "Convenience accessor.", "Checks if a signed message could have been generated by signing an object\n with the +MessageVerifier+'s secret.\n\n verifier = ActiveSupport::MessageVerifier.new 's3Krit'\n signed_message = verifier.generate 'a private message'\n verifier.valid_message?(signed_message) # => true\n\n tampered_message = signed_message.chop # editing the message invalidates the signature\n verifier.valid_message?(tampered_message) # => false", "Decodes the signed message using the +MessageVerifier+'s secret.\n\n verifier = ActiveSupport::MessageVerifier.new 's3Krit'\n\n signed_message = verifier.generate 'a private message'\n verifier.verified(signed_message) # => 'a private message'\n\n Returns +nil+ if the message was not signed with the same secret.\n\n other_verifier = ActiveSupport::MessageVerifier.new 'd1ff3r3nt-s3Krit'\n other_verifier.verified(signed_message) # => nil\n\n Returns +nil+ if the message is not Base64-encoded.\n\n invalid_message = \"f--46a0120593880c733a53b6dad75b42ddc1c8996d\"\n verifier.verified(invalid_message) # => nil\n\n Raises any error raised while decoding the signed message.\n\n incompatible_message = \"test--dad7b06c94abba8d46a15fafaef56c327665d5ff\"\n verifier.verified(incompatible_message) # => TypeError: incompatible marshal file format", "Generates a signed message for the provided value.\n\n The message is signed with the +MessageVerifier+'s secret. Without knowing\n the secret, the original value cannot be extracted from the message.\n\n verifier = ActiveSupport::MessageVerifier.new 's3Krit'\n verifier.generate 'a private message' # => \"BAhJIhRwcml2YXRlLW1lc3NhZ2UGOgZFVA==--e2d724331ebdee96a10fb99b089508d1c72bd772\"", "Creates a new job instance. Takes the arguments that will be\n passed to the perform method.\n Returns a hash with the job data that can safely be passed to the\n queuing adapter.", "Attaches the stored job data to the current instance. Receives a hash\n returned from +serialize+\n\n ==== Examples\n\n class DeliverWebhookJob < ActiveJob::Base\n attr_writer :attempt_number\n\n def attempt_number\n @attempt_number ||= 0\n end\n\n def serialize\n super.merge('attempt_number' => attempt_number + 1)\n end\n\n def deserialize(job_data)\n super\n self.attempt_number = job_data['attempt_number']\n end\n\n rescue_from(Timeout::Error) do |exception|\n raise exception if attempt_number > 5\n retry_job(wait: 10)\n end\n end", "Takes a path to a file. If the file is found, has valid encoding, and has\n correct read permissions, the return value is a URI-escaped string\n representing the filename. Otherwise, false is returned.\n\n Used by the +Static+ class to check the existence of a valid file\n in the server's +public/+ directory (see Static#call).", "Compares one Duration with another or a Numeric to this Duration.\n Numeric values are treated as seconds.\n Adds another Duration or a Numeric to this Duration. Numeric values\n are treated as seconds.", "Multiplies this Duration by a Numeric and returns a new Duration.", "Returns the modulo of this Duration by another Duration or Numeric.\n Numeric values are treated as seconds.", "Overload locale= to also set the I18n.locale. If the current I18n.config object responds\n to original_config, it means that it has a copy of the original I18n configuration and it's\n acting as proxy, which we need to skip.", "Normalizes the arguments and passes it on to find_templates.", "Handles templates caching. If a key is given and caching is on\n always check the cache before hitting the resolver. Otherwise,\n it always hits the resolver but if the key is present, check if the\n resolver is fresher before returning it.", "Extract handler, formats and variant from path. If a format cannot be found neither\n from the path, or the handler, we should return the array of formats given\n to the resolver.", "For streaming, instead of rendering a given a template, we return a Body\n object that responds to each. This object is initialized with a block\n that knows how to render the template.", "If the record is new or it has changed, returns true.", "Replaces non-ASCII characters with an ASCII approximation, or if none\n exists, a replacement character which defaults to \"?\".\n\n transliterate('\u00c6r\u00f8sk\u00f8bing')\n # => \"AEroskobing\"\n\n Default approximations are provided for Western/Latin characters,\n e.g, \"\u00f8\", \"\u00f1\", \"\u00e9\", \"\u00df\", etc.\n\n This method is I18n aware, so you can set up custom approximations for a\n locale. This can be useful, for example, to transliterate German's \"\u00fc\"\n and \"\u00f6\" to \"ue\" and \"oe\", or to add support for transliterating Russian\n to ASCII.\n\n In order to make your custom transliterations available, you must set\n them as the i18n.transliterate.rule i18n key:\n\n # Store the transliterations in locales/de.yml\n i18n:\n transliterate:\n rule:\n \u00fc: \"ue\"\n \u00f6: \"oe\"\n\n # Or set them using Ruby\n I18n.backend.store_translations(:de, i18n: {\n transliterate: {\n rule: {\n '\u00fc' => 'ue',\n '\u00f6' => 'oe'\n }\n }\n })\n\n The value for i18n.transliterate.rule can be a simple Hash that\n maps characters to ASCII approximations as shown above, or, for more\n complex requirements, a Proc:\n\n I18n.backend.store_translations(:de, i18n: {\n transliterate: {\n rule: ->(string) { MyTransliterator.transliterate(string) }\n }\n })\n\n Now you can have different transliterations for each locale:\n\n transliterate('J\u00fcrgen', locale: :en)\n # => \"Jurgen\"\n\n transliterate('J\u00fcrgen', locale: :de)\n # => \"Juergen\"", "Imports one error\n Imported errors are wrapped as a NestedError,\n providing access to original error object.\n If attribute or type needs to be overriden, use `override_options`.\n\n override_options - Hash\n @option override_options [Symbol] :attribute Override the attribute the error belongs to\n @option override_options [Symbol] :type Override type of the error.", "Removes all errors except the given keys. Returns a hash containing the removed errors.\n\n person.errors.keys # => [:name, :age, :gender, :city]\n person.errors.slice!(:age, :gender) # => { :name=>[\"cannot be nil\"], :city=>[\"cannot be nil\"] }\n person.errors.keys # => [:age, :gender]", "Search for errors matching +attribute+, +type+ or +options+.\n\n Only supplied params will be matched.\n\n person.errors.where(:name) # => all name errors.\n person.errors.where(:name, :too_short) # => all name errors being too short\n person.errors.where(:name, :too_short, minimum: 2) # => all name errors being too short and minimum is 2", "Delete messages for +key+. Returns the deleted messages.\n\n person.errors[:name] # => [\"cannot be nil\"]\n person.errors.delete(:name) # => [\"cannot be nil\"]\n person.errors[:name] # => []", "Iterates through each error key, value pair in the error messages hash.\n Yields the attribute and the error for that attribute. If the attribute\n has more than one error message, yields once for each error message.\n\n person.errors.add(:name, :blank, message: \"can't be blank\")\n person.errors.each do |attribute, error|\n # Will yield :name and \"can't be blank\"\n end\n\n person.errors.add(:name, :not_specified, message: \"must be specified\")\n person.errors.each do |attribute, error|\n # Will yield :name and \"can't be blank\"\n # then yield :name and \"must be specified\"\n end", "Returns an xml formatted representation of the Errors hash.\n\n person.errors.add(:name, :blank, message: \"can't be blank\")\n person.errors.add(:name, :not_specified, message: \"must be specified\")\n person.errors.to_xml\n # =>\n # \n # \n # name can't be blank\n # name must be specified\n # ", "Reverses the migration commands for the given block and\n the given migrations.\n\n The following migration will remove the table 'horses'\n and create the table 'apples' on the way up, and the reverse\n on the way down.\n\n class FixTLMigration < ActiveRecord::Migration[5.0]\n def change\n revert do\n create_table(:horses) do |t|\n t.text :content\n t.datetime :remind_at\n end\n end\n create_table(:apples) do |t|\n t.string :variety\n end\n end\n end\n\n Or equivalently, if +TenderloveMigration+ is defined as in the\n documentation for Migration:\n\n require_relative '20121212123456_tenderlove_migration'\n\n class FixupTLMigration < ActiveRecord::Migration[5.0]\n def change\n revert TenderloveMigration\n\n create_table(:apples) do |t|\n t.string :variety\n end\n end\n end\n\n This command can be nested.", "Outputs text along with how long it took to run its block.\n If the block returns an integer it assumes it is the number of rows affected.", "Determines the version number of the next migration.", "Used for running a specific migration.", "Used for running multiple migrations up to or down to a certain value.", "Sets the +permitted+ attribute to +true+. This can be used to pass\n mass assignment. Returns +self+.\n\n class Person < ActiveRecord::Base\n end\n\n params = ActionController::Parameters.new(name: \"Francesco\")\n params.permitted? # => false\n Person.new(params) # => ActiveModel::ForbiddenAttributesError\n params.permit!\n params.permitted? # => true\n Person.new(params) # => #", "This method accepts both a single key and an array of keys.\n\n When passed a single key, if it exists and its associated value is\n either present or the singleton +false+, returns said value:\n\n ActionController::Parameters.new(person: { name: \"Francesco\" }).require(:person)\n # => \"Francesco\"} permitted: false>\n\n Otherwise raises ActionController::ParameterMissing:\n\n ActionController::Parameters.new.require(:person)\n # ActionController::ParameterMissing: param is missing or the value is empty: person\n\n ActionController::Parameters.new(person: nil).require(:person)\n # ActionController::ParameterMissing: param is missing or the value is empty: person\n\n ActionController::Parameters.new(person: \"\\t\").require(:person)\n # ActionController::ParameterMissing: param is missing or the value is empty: person\n\n ActionController::Parameters.new(person: {}).require(:person)\n # ActionController::ParameterMissing: param is missing or the value is empty: person\n\n When given an array of keys, the method tries to require each one of them\n in order. If it succeeds, an array with the respective return values is\n returned:\n\n params = ActionController::Parameters.new(user: { ... }, profile: { ... })\n user_params, profile_params = params.require([:user, :profile])\n\n Otherwise, the method re-raises the first exception found:\n\n params = ActionController::Parameters.new(user: {}, profile: {})\n user_params, profile_params = params.require([:user, :profile])\n # ActionController::ParameterMissing: param is missing or the value is empty: user\n\n Technically this method can be used to fetch terminal values:\n\n # CAREFUL\n params = ActionController::Parameters.new(person: { name: \"Finn\" })\n name = params.require(:person).require(:name) # CAREFUL\n\n but take into account that at some point those ones have to be permitted:\n\n def person_params\n params.require(:person).permit(:name).tap do |person_params|\n person_params.require(:name) # SAFER\n end\n end\n\n for example.", "Adds existing keys to the params if their values are scalar.\n\n For example:\n\n puts self.keys #=> [\"zipcode(90210i)\"]\n params = {}\n\n permitted_scalar_filter(params, \"zipcode\")\n\n puts params.keys # => [\"zipcode\"]", "Overwrite process to setup I18n proxy.", "Find and render a template based on the options given.", "Normalize options.", "Enqueues the job to be performed by the queue adapter.\n\n ==== Options\n * :wait - Enqueues the job with the specified delay\n * :wait_until - Enqueues the job at the time specified\n * :queue - Enqueues the job on the specified queue\n * :priority - Enqueues the job with the specified priority\n\n ==== Examples\n\n my_job_instance.enqueue\n my_job_instance.enqueue wait: 5.minutes\n my_job_instance.enqueue queue: :important\n my_job_instance.enqueue wait_until: Date.tomorrow.midnight\n my_job_instance.enqueue priority: 10", "Returns a hash of rows to be inserted. The key is the table, the value is\n a list of rows to insert to that table.", "Loads the fixtures from the YAML file at +path+.\n If the file sets the +model_class+ and current instance value is not set,\n it uses the file value.", "Efficiently downloads blob data into the given file.", "Sets an HTTP 1.1 Cache-Control header. Defaults to issuing a +private+\n instruction, so that intermediate caches must not cache the response.\n\n expires_in 20.minutes\n expires_in 3.hours, public: true\n expires_in 3.hours, public: true, must_revalidate: true\n\n This method will overwrite an existing Cache-Control header.\n See https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for more possibilities.\n\n HTTP Cache-Control Extensions for Stale Content. See https://tools.ietf.org/html/rfc5861\n It helps to cache an asset and serve it while is being revalidated and/or returning with an error.\n\n expires_in 3.hours, public: true, stale_while_revalidate: 60.seconds\n expires_in 3.hours, public: true, stale_while_revalidate: 60.seconds, stale_if_error: 5.minutes\n\n The method will also ensure an HTTP Date header for client compatibility.", "Cache or yield the block. The cache is supposed to never expire.\n\n You can use this method when you have an HTTP response that never changes,\n and the browser and proxies should cache it indefinitely.\n\n * +public+: By default, HTTP responses are private, cached only on the\n user's web browser. To allow proxies to cache the response, set +true+ to\n indicate that they can serve the cached response to all users.", "Executes a system command, capturing its binary output in a tempfile. Yields the tempfile.\n\n Use this method to shell out to a system library (e.g. muPDF or FFmpeg) for preview image\n generation. The resulting tempfile can be used as the +:io+ value in an attachable Hash:\n\n def preview\n download_blob_to_tempfile do |input|\n draw \"my-drawing-command\", input.path, \"--format\", \"png\", \"-\" do |output|\n yield io: output, filename: \"#{blob.filename.base}.png\", content_type: \"image/png\"\n end\n end\n end\n\n The output tempfile is opened in the directory returned by #tmpdir.", "Overwrite render_to_string because body can now be set to a Rack body.", "Normalize both text and status options.", "Process controller specific options, as status, content-type and location.", "Create a new +RemoteIp+ middleware instance.\n\n The +ip_spoofing_check+ option is on by default. When on, an exception\n is raised if it looks like the client is trying to lie about its own IP\n address. It makes sense to turn off this check on sites aimed at non-IP\n clients (like WAP devices), or behind proxies that set headers in an\n incorrect or confusing way (like AWS ELB).\n\n The +custom_proxies+ argument can take an Array of string, IPAddr, or\n Regexp objects which will be used instead of +TRUSTED_PROXIES+. If a\n single string, IPAddr, or Regexp object is provided, it will be used in\n addition to +TRUSTED_PROXIES+. Any proxy setup will put the value you\n want in the middle (or at the beginning) of the X-Forwarded-For list,\n with your proxy servers after it. If your proxies aren't removed, pass\n them in via the +custom_proxies+ parameter. That way, the middleware will\n ignore those IP addresses, and return the one that you want.\n Since the IP address may not be needed, we store the object here\n without calculating the IP to keep from slowing down the majority of\n requests. For those requests that do need to know the IP, the\n GetIp#calculate_ip method will calculate the memoized client IP address.", "Passes the record off to the class or classes specified and allows them\n to add errors based on more complex conditions.\n\n class Person\n include ActiveModel::Validations\n\n validate :instance_validations\n\n def instance_validations\n validates_with MyValidator\n end\n end\n\n Please consult the class method documentation for more information on\n creating your own validator.\n\n You may also pass it multiple classes, like so:\n\n class Person\n include ActiveModel::Validations\n\n validate :instance_validations, on: :create\n\n def instance_validations\n validates_with MyValidator, MyOtherValidator\n end\n end\n\n Standard configuration options (:on, :if and\n :unless), which are available on the class version of\n +validates_with+, should instead be placed on the +validates+ method\n as these are applied and tested in the callback.\n\n If you pass any additional configuration options, they will be passed\n to the class and available as +options+, please refer to the\n class version of this method for more information.", "Render a template. If the template was not compiled yet, it is done\n exactly before rendering.\n\n This method is instrumented as \"!render_template.action_view\". Notice that\n we use a bang in this instrumentation because you don't want to\n consume this in production. This is only slow if it's being listened to.", "Compile a template. This method ensures a template is compiled\n just once and removes the source after it is compiled.", "Reloads the record from the database.\n\n This method finds the record by its primary key (which could be assigned\n manually) and modifies the receiver in-place:\n\n account = Account.new\n # => #\n account.id = 1\n account.reload\n # Account Load (1.2ms) SELECT \"accounts\".* FROM \"accounts\" WHERE \"accounts\".\"id\" = $1 LIMIT 1 [[\"id\", 1]]\n # => #\n\n Attributes are reloaded from the database, and caches busted, in\n particular the associations cache and the QueryCache.\n\n If the record no longer exists in the database ActiveRecord::RecordNotFound\n is raised. Otherwise, in addition to the in-place modification the method\n returns +self+ for convenience.\n\n The optional :lock flag option allows you to lock the reloaded record:\n\n reload(lock: true) # reload with pessimistic locking\n\n Reloading is commonly used in test suites to test something is actually\n written to the database, or when some action modifies the corresponding\n row in the database but not the object in memory:\n\n assert account.deposit!(25)\n assert_equal 25, account.credit # check it is updated in memory\n assert_equal 25, account.reload.credit # check it is also persisted\n\n Another common use case is optimistic locking handling:\n\n def with_optimistic_retry\n begin\n yield\n rescue ActiveRecord::StaleObjectError\n begin\n # Reload lock_version in particular.\n reload\n rescue ActiveRecord::RecordNotFound\n # If the record is gone there is nothing to do.\n else\n retry\n end\n end\n end", "Creates a masked version of the authenticity token that varies\n on each request. The masking is used to mitigate SSL attacks\n like BREACH.", "Checks the client's masked token to see if it matches the\n session token. Essentially the inverse of\n +masked_authenticity_token+.", "Checks if the request originated from the same origin by looking at the\n Origin header.", "Save the new record state and id of a record so it can be restored later if a transaction fails.", "Updates the attributes on this particular Active Record object so that\n if it's associated with a transaction, then the state of the Active Record\n object will be updated to reflect the current state of the transaction.\n\n The @transaction_state variable stores the states of the associated\n transaction. This relies on the fact that a transaction can only be in\n one rollback or commit (otherwise a list of states would be required).\n Each Active Record object inside of a transaction carries that transaction's\n TransactionState.\n\n This method checks to see if the ActiveRecord object's state reflects\n the TransactionState, and rolls back or commits the Active Record object\n as appropriate.", "Constant time string comparison, for fixed length strings.\n\n The values compared should be of fixed length, such as strings\n that have already been processed by HMAC. Raises in case of length mismatch.", "Constant time string comparison, for variable length strings.\n\n The values are first processed by SHA256, so that we don't leak length info\n via timing attacks.", "Declares a block that will be executed when a Rails component is fully\n loaded.\n\n Options:\n\n * :yield - Yields the object that run_load_hooks to +block+.\n * :run_once - Given +block+ will run only once.", "This method should return a hash with assigns.\n You can overwrite this configuration per controller.", "Normalize args and options.", "Provides options for converting numbers into formatted strings.\n Options are provided for phone numbers, currency, percentage,\n precision, positional notation, file size and pretty printing.\n\n ==== Options\n\n For details on which formats use which options, see ActiveSupport::NumberHelper\n\n ==== Examples\n\n Phone Numbers:\n 5551234.to_s(:phone) # => \"555-1234\"\n 1235551234.to_s(:phone) # => \"123-555-1234\"\n 1235551234.to_s(:phone, area_code: true) # => \"(123) 555-1234\"\n 1235551234.to_s(:phone, delimiter: ' ') # => \"123 555 1234\"\n 1235551234.to_s(:phone, area_code: true, extension: 555) # => \"(123) 555-1234 x 555\"\n 1235551234.to_s(:phone, country_code: 1) # => \"+1-123-555-1234\"\n 1235551234.to_s(:phone, country_code: 1, extension: 1343, delimiter: '.')\n # => \"+1.123.555.1234 x 1343\"\n\n Currency:\n 1234567890.50.to_s(:currency) # => \"$1,234,567,890.50\"\n 1234567890.506.to_s(:currency) # => \"$1,234,567,890.51\"\n 1234567890.506.to_s(:currency, precision: 3) # => \"$1,234,567,890.506\"\n 1234567890.506.to_s(:currency, locale: :fr) # => \"1 234 567 890,51 \u20ac\"\n -1234567890.50.to_s(:currency, negative_format: '(%u%n)')\n # => \"($1,234,567,890.50)\"\n 1234567890.50.to_s(:currency, unit: '£', separator: ',', delimiter: '')\n # => \"£1234567890,50\"\n 1234567890.50.to_s(:currency, unit: '£', separator: ',', delimiter: '', format: '%n %u')\n # => \"1234567890,50 £\"\n\n Percentage:\n 100.to_s(:percentage) # => \"100.000%\"\n 100.to_s(:percentage, precision: 0) # => \"100%\"\n 1000.to_s(:percentage, delimiter: '.', separator: ',') # => \"1.000,000%\"\n 302.24398923423.to_s(:percentage, precision: 5) # => \"302.24399%\"\n 1000.to_s(:percentage, locale: :fr) # => \"1 000,000%\"\n 100.to_s(:percentage, format: '%n %') # => \"100.000 %\"\n\n Delimited:\n 12345678.to_s(:delimited) # => \"12,345,678\"\n 12345678.05.to_s(:delimited) # => \"12,345,678.05\"\n 12345678.to_s(:delimited, delimiter: '.') # => \"12.345.678\"\n 12345678.to_s(:delimited, delimiter: ',') # => \"12,345,678\"\n 12345678.05.to_s(:delimited, separator: ' ') # => \"12,345,678 05\"\n 12345678.05.to_s(:delimited, locale: :fr) # => \"12 345 678,05\"\n 98765432.98.to_s(:delimited, delimiter: ' ', separator: ',')\n # => \"98 765 432,98\"\n\n Rounded:\n 111.2345.to_s(:rounded) # => \"111.235\"\n 111.2345.to_s(:rounded, precision: 2) # => \"111.23\"\n 13.to_s(:rounded, precision: 5) # => \"13.00000\"\n 389.32314.to_s(:rounded, precision: 0) # => \"389\"\n 111.2345.to_s(:rounded, significant: true) # => \"111\"\n 111.2345.to_s(:rounded, precision: 1, significant: true) # => \"100\"\n 13.to_s(:rounded, precision: 5, significant: true) # => \"13.000\"\n 111.234.to_s(:rounded, locale: :fr) # => \"111,234\"\n 13.to_s(:rounded, precision: 5, significant: true, strip_insignificant_zeros: true)\n # => \"13\"\n 389.32314.to_s(:rounded, precision: 4, significant: true) # => \"389.3\"\n 1111.2345.to_s(:rounded, precision: 2, separator: ',', delimiter: '.')\n # => \"1.111,23\"\n\n Human-friendly size in Bytes:\n 123.to_s(:human_size) # => \"123 Bytes\"\n 1234.to_s(:human_size) # => \"1.21 KB\"\n 12345.to_s(:human_size) # => \"12.1 KB\"\n 1234567.to_s(:human_size) # => \"1.18 MB\"\n 1234567890.to_s(:human_size) # => \"1.15 GB\"\n 1234567890123.to_s(:human_size) # => \"1.12 TB\"\n 1234567890123456.to_s(:human_size) # => \"1.1 PB\"\n 1234567890123456789.to_s(:human_size) # => \"1.07 EB\"\n 1234567.to_s(:human_size, precision: 2) # => \"1.2 MB\"\n 483989.to_s(:human_size, precision: 2) # => \"470 KB\"\n 1234567.to_s(:human_size, precision: 2, separator: ',') # => \"1,2 MB\"\n 1234567890123.to_s(:human_size, precision: 5) # => \"1.1228 TB\"\n 524288000.to_s(:human_size, precision: 5) # => \"500 MB\"\n\n Human-friendly format:\n 123.to_s(:human) # => \"123\"\n 1234.to_s(:human) # => \"1.23 Thousand\"\n 12345.to_s(:human) # => \"12.3 Thousand\"\n 1234567.to_s(:human) # => \"1.23 Million\"\n 1234567890.to_s(:human) # => \"1.23 Billion\"\n 1234567890123.to_s(:human) # => \"1.23 Trillion\"\n 1234567890123456.to_s(:human) # => \"1.23 Quadrillion\"\n 1234567890123456789.to_s(:human) # => \"1230 Quadrillion\"\n 489939.to_s(:human, precision: 2) # => \"490 Thousand\"\n 489939.to_s(:human, precision: 4) # => \"489.9 Thousand\"\n 1234567.to_s(:human, precision: 4,\n significant: false) # => \"1.2346 Million\"\n 1234567.to_s(:human, precision: 1,\n separator: ',',\n significant: false) # => \"1,2 Million\"", "Returns the config hash that corresponds with the environment\n\n If the application has multiple databases +default_hash+ will\n return the first config hash for the environment.\n\n { database: \"my_db\", adapter: \"mysql2\" }", "Returns a single DatabaseConfig object based on the requested environment.\n\n If the application has multiple databases +find_db_config+ will return\n the first DatabaseConfig for the environment.", "Returns the DatabaseConfigurations object as a Hash.", "An email was delivered.", "Returns the backtrace after all filters and silencers have been run\n against it. Filters run first, then silencers.", "Determine the template to be rendered using the given options.", "Renders the given template. A string representing the layout can be\n supplied as well.", "Set proper cache control and transfer encoding when streaming", "Call render_body if we are streaming instead of usual +render+.", "Determine the layout for a given name, taking into account the name type.\n\n ==== Parameters\n * name - The name of the template", "Returns the default layout for this controller.\n Optionally raises an exception if the layout could not be found.\n\n ==== Parameters\n * formats - The formats accepted to this layout\n * require_layout - If set to +true+ and layout is not found,\n an +ArgumentError+ exception is raised (defaults to +false+)\n\n ==== Returns\n * template - The template object for the default layout (or +nil+)", "Runs all the specified validations and returns +true+ if no errors were\n added otherwise +false+.\n\n class Person\n include ActiveModel::Validations\n\n attr_accessor :name\n validates_presence_of :name\n end\n\n person = Person.new\n person.name = ''\n person.valid? # => false\n person.name = 'david'\n person.valid? # => true\n\n Context can optionally be supplied to define which callbacks to test\n against (the context is defined on the validations using :on).\n\n class Person\n include ActiveModel::Validations\n\n attr_accessor :name\n validates_presence_of :name, on: :new\n end\n\n person = Person.new\n person.valid? # => true\n person.valid?(:new) # => false", "Returns a message verifier object.\n\n This verifier can be used to generate and verify signed messages in the application.\n\n It is recommended not to use the same verifier for different things, so you can get different\n verifiers passing the +verifier_name+ argument.\n\n ==== Parameters\n\n * +verifier_name+ - the name of the message verifier.\n\n ==== Examples\n\n message = Rails.application.message_verifier('sensitive_data').generate('my sensible data')\n Rails.application.message_verifier('sensitive_data').verify(message)\n # => 'my sensible data'\n\n See the +ActiveSupport::MessageVerifier+ documentation for more information.", "Stores some of the Rails initial environment parameters which\n will be used by middlewares and engines to configure themselves.", "Shorthand to decrypt any encrypted configurations or files.\n\n For any file added with rails encrypted:edit call +read+ to decrypt\n the file with the master key.\n The master key is either stored in +config/master.key+ or ENV[\"RAILS_MASTER_KEY\"].\n\n Rails.application.encrypted(\"config/mystery_man.txt.enc\").read\n # => \"We've met before, haven't we?\"\n\n It's also possible to interpret encrypted YAML files with +config+.\n\n Rails.application.encrypted(\"config/credentials.yml.enc\").config\n # => { next_guys_line: \"I don't think so. Where was it you think we met?\" }\n\n Any top-level configs are also accessible directly on the return value:\n\n Rails.application.encrypted(\"config/credentials.yml.enc\").next_guys_line\n # => \"I don't think so. Where was it you think we met?\"\n\n The files or configs can also be encrypted with a custom key. To decrypt with\n a key in the +ENV+, use:\n\n Rails.application.encrypted(\"config/special_tokens.yml.enc\", env_key: \"SPECIAL_TOKENS\")\n\n Or to decrypt with a file, that should be version control ignored, relative to +Rails.root+:\n\n Rails.application.encrypted(\"config/special_tokens.yml.enc\", key_path: \"config/special_tokens.key\")", "Returns the ordered railties for this application considering railties_order.", "Read the request \\body. This is useful for web services that need to\n work with raw requests directly.", "The request body is an IO input stream. If the RAW_POST_DATA environment\n variable is already set, wrap it in a StringIO.", "Override Rack's GET method to support indifferent access.", "Override Rack's POST method to support indifferent access.", "Sets up instance variables needed for rendering a partial. This method\n finds the options and details and extracts them. The method also contains\n logic that handles the type of object passed in as the partial.\n\n If +options[:partial]+ is a string, then the @path instance variable is\n set to that string. Otherwise, the +options[:partial]+ object must\n respond to +to_partial_path+ in order to setup the path.", "Obtains the path to where the object's partial is located. If the object\n responds to +to_partial_path+, then +to_partial_path+ will be called and\n will provide the path. If the object does not respond to +to_partial_path+,\n then an +ArgumentError+ is raised.\n\n If +prefix_partial_path_with_controller_namespace+ is true, then this\n method will prefix the partial paths with a namespace.", "Returns a serialized hash of your object.\n\n class Person\n include ActiveModel::Serialization\n\n attr_accessor :name, :age\n\n def attributes\n {'name' => nil, 'age' => nil}\n end\n\n def capitalized_name\n name.capitalize\n end\n end\n\n person = Person.new\n person.name = 'bob'\n person.age = 22\n person.serializable_hash # => {\"name\"=>\"bob\", \"age\"=>22}\n person.serializable_hash(only: :name) # => {\"name\"=>\"bob\"}\n person.serializable_hash(except: :name) # => {\"age\"=>22}\n person.serializable_hash(methods: :capitalized_name)\n # => {\"name\"=>\"bob\", \"age\"=>22, \"capitalized_name\"=>\"Bob\"}\n\n Example with :include option\n\n class User\n include ActiveModel::Serializers::JSON\n attr_accessor :name, :notes # Emulate has_many :notes\n def attributes\n {'name' => nil}\n end\n end\n\n class Note\n include ActiveModel::Serializers::JSON\n attr_accessor :title, :text\n def attributes\n {'title' => nil, 'text' => nil}\n end\n end\n\n note = Note.new\n note.title = 'Battle of Austerlitz'\n note.text = 'Some text here'\n\n user = User.new\n user.name = 'Napoleon'\n user.notes = [note]\n\n user.serializable_hash\n # => {\"name\" => \"Napoleon\"}\n user.serializable_hash(include: { notes: { only: 'title' }})\n # => {\"name\" => \"Napoleon\", \"notes\" => [{\"title\"=>\"Battle of Austerlitz\"}]}", "Returns a module with all the helpers defined for the engine.", "Returns the underlying Rack application for this engine.", "Defines the routes for this engine. If a block is given to\n routes, it is appended to the engine.", "Attaches an +attachable+ to the record.\n\n If the record is persisted and unchanged, the attachment is saved to\n the database immediately. Otherwise, it'll be saved to the DB when the\n record is next saved.\n\n person.avatar.attach(params[:avatar]) # ActionDispatch::Http::UploadedFile object\n person.avatar.attach(params[:signed_blob_id]) # Signed reference to blob from direct upload\n person.avatar.attach(io: File.open(\"/path/to/face.jpg\"), filename: \"face.jpg\", content_type: \"image/jpg\")\n person.avatar.attach(avatar_blob) # ActiveStorage::Blob object", "Reads the file for the given key in chunks, yielding each to the block.", "It accepts two parameters on initialization. The first is an array\n of files and the second is an optional hash of directories. The hash must\n have directories as keys and the value is an array of extensions to be\n watched under that directory.\n\n This method must also receive a block that will be called once a path\n changes. The array of files and list of directories cannot be changed\n after FileUpdateChecker has been initialized.\n Check if any of the entries were updated. If so, the watched and/or\n updated_at values are cached until the block is executed via +execute+\n or +execute_if_updated+.", "This method returns the maximum mtime of the files in +paths+, or +nil+\n if the array is empty.\n\n Files with a mtime in the future are ignored. Such abnormal situation\n can happen for example if the user changes the clock by hand. It is\n healthy to consider this edge case because with mtimes in the future\n reloading is not triggered.", "Allows you to measure the execution time of a block in a template and\n records the result to the log. Wrap this block around expensive operations\n or possible bottlenecks to get a time reading for the operation. For\n example, let's say you thought your file processing method was taking too\n long; you could wrap it in a benchmark block.\n\n <% benchmark 'Process data files' do %>\n <%= expensive_files_operation %>\n <% end %>\n\n That would add something like \"Process data files (345.2ms)\" to the log,\n which you can then use to compare timings when optimizing your code.\n\n You may give an optional logger level (:debug, :info,\n :warn, :error) as the :level option. The\n default logger level value is :info.\n\n <% benchmark 'Low-level files', level: :debug do %>\n <%= lowlevel_files_operation %>\n <% end %>\n\n Finally, you can pass true as the third argument to silence all log\n activity (other than the timing information) from inside the block. This\n is great for boiling down a noisy block to just a single statement that\n produces one log line:\n\n <% benchmark 'Process data files', level: :info, silence: true do %>\n <%= expensive_and_chatty_files_operation %>\n <% end %>", "Initializes new record from relation while maintaining the current\n scope.\n\n Expects arguments in the same format as {ActiveRecord::Base.new}[rdoc-ref:Core.new].\n\n users = User.where(name: 'DHH')\n user = users.new # => #\n\n You can also pass a block to new with the new record as argument:\n\n user = users.new { |user| user.name = 'Oscar' }\n user.name # => Oscar", "Tries to create a new record with the same scoped attributes\n defined in the relation. Returns the initialized object if validation fails.\n\n Expects arguments in the same format as\n {ActiveRecord::Base.create}[rdoc-ref:Persistence::ClassMethods#create].\n\n ==== Examples\n\n users = User.where(name: 'Oscar')\n users.create # => #\n\n users.create(name: 'fxn')\n users.create # => #\n\n users.create { |user| user.name = 'tenderlove' }\n # => #\n\n users.create(name: nil) # validation on name\n # => #", "Returns sql statement for the relation.\n\n User.where(name: 'Oscar').to_sql\n # => SELECT \"users\".* FROM \"users\" WHERE \"users\".\"name\" = 'Oscar'", "Initialize an empty model object from +attributes+.\n +attributes+ should be an attributes object, and unlike the\n `initialize` method, no assignment calls are made per attribute.", "Returns the contents of the record as a nicely formatted string.", "The main method that creates the message and renders the email templates. There are\n two ways to call this method, with a block, or without a block.\n\n It accepts a headers hash. This hash allows you to specify\n the most used headers in an email message, these are:\n\n * +:subject+ - The subject of the message, if this is omitted, Action Mailer will\n ask the Rails I18n class for a translated +:subject+ in the scope of\n [mailer_scope, action_name] or if this is missing, will translate the\n humanized version of the +action_name+\n * +:to+ - Who the message is destined for, can be a string of addresses, or an array\n of addresses.\n * +:from+ - Who the message is from\n * +:cc+ - Who you would like to Carbon-Copy on this email, can be a string of addresses,\n or an array of addresses.\n * +:bcc+ - Who you would like to Blind-Carbon-Copy on this email, can be a string of\n addresses, or an array of addresses.\n * +:reply_to+ - Who to set the Reply-To header of the email to.\n * +:date+ - The date to say the email was sent on.\n\n You can set default values for any of the above headers (except +:date+)\n by using the ::default class method:\n\n class Notifier < ActionMailer::Base\n default from: 'no-reply@test.lindsaar.net',\n bcc: 'email_logger@test.lindsaar.net',\n reply_to: 'bounces@test.lindsaar.net'\n end\n\n If you need other headers not listed above, you can either pass them in\n as part of the headers hash or use the headers['name'] = value\n method.\n\n When a +:return_path+ is specified as header, that value will be used as\n the 'envelope from' address for the Mail message. Setting this is useful\n when you want delivery notifications sent to a different address than the\n one in +:from+. Mail will actually use the +:return_path+ in preference\n to the +:sender+ in preference to the +:from+ field for the 'envelope\n from' value.\n\n If you do not pass a block to the +mail+ method, it will find all\n templates in the view paths using by default the mailer name and the\n method name that it is being called from, it will then create parts for\n each of these templates intelligently, making educated guesses on correct\n content type and sequence, and return a fully prepared Mail::Message\n ready to call :deliver on to send.\n\n For example:\n\n class Notifier < ActionMailer::Base\n default from: 'no-reply@test.lindsaar.net'\n\n def welcome\n mail(to: 'mikel@test.lindsaar.net')\n end\n end\n\n Will look for all templates at \"app/views/notifier\" with name \"welcome\".\n If no welcome template exists, it will raise an ActionView::MissingTemplate error.\n\n However, those can be customized:\n\n mail(template_path: 'notifications', template_name: 'another')\n\n And now it will look for all templates at \"app/views/notifications\" with name \"another\".\n\n If you do pass a block, you can render specific templates of your choice:\n\n mail(to: 'mikel@test.lindsaar.net') do |format|\n format.text\n format.html\n end\n\n You can even render plain text directly without using a template:\n\n mail(to: 'mikel@test.lindsaar.net') do |format|\n format.text { render plain: \"Hello Mikel!\" }\n format.html { render html: \"

Hello Mikel!

\".html_safe }\n end\n\n Which will render a +multipart/alternative+ email with +text/plain+ and\n +text/html+ parts.\n\n The block syntax also allows you to customize the part headers if desired:\n\n mail(to: 'mikel@test.lindsaar.net') do |format|\n format.text(content_transfer_encoding: \"base64\")\n format.html\n end", "Attaches one or more +attachables+ to the record.\n\n If the record is persisted and unchanged, the attachments are saved to\n the database immediately. Otherwise, they'll be saved to the DB when the\n record is next saved.\n\n document.images.attach(params[:images]) # Array of ActionDispatch::Http::UploadedFile objects\n document.images.attach(params[:signed_blob_id]) # Signed reference to blob from direct upload\n document.images.attach(io: File.open(\"/path/to/racecar.jpg\"), filename: \"racecar.jpg\", content_type: \"image/jpg\")\n document.images.attach([ first_blob, second_blob ])", "Sets the HTTP character set. In case of +nil+ parameter\n it sets the charset to +default_charset+.\n\n response.charset = 'utf-16' # => 'utf-16'\n response.charset = nil # => 'utf-8'", "Returns the number of days to the start of the week on the given day.\n Week is assumed to start on +start_day+, default is\n +Date.beginning_of_week+ or +config.beginning_of_week+ when set.", "remote_send sends a request to the remote endpoint.\n\n It blocks until the remote endpoint accepts the message.\n\n @param req [Object, String] the object to send or it's marshal form.\n @param marshalled [false, true] indicates if the object is already\n marshalled.", "send_status sends a status to the remote endpoint.\n\n @param code [int] the status code to send\n @param details [String] details\n @param assert_finished [true, false] when true(default), waits for\n FINISHED.\n @param metadata [Hash] metadata to send to the server. If a value is a\n list, mulitple metadata for its key are sent", "remote_read reads a response from the remote endpoint.\n\n It blocks until the remote endpoint replies with a message or status.\n On receiving a message, it returns the response after unmarshalling it.\n On receiving a status, it returns nil if the status is OK, otherwise\n raising BadStatus", "each_remote_read passes each response to the given block or returns an\n enumerator the responses if no block is given.\n Used to generate the request enumerable for\n server-side client-streaming RPC's.\n\n == Enumerator ==\n\n * #next blocks until the remote endpoint sends a READ or FINISHED\n * for each read, enumerator#next yields the response\n * on status\n * if it's is OK, enumerator#next raises StopException\n * if is not OK, enumerator#next raises RuntimeException\n\n == Block ==\n\n * if provided it is executed for each response\n * the call blocks until no more responses are provided\n\n @return [Enumerator] if no block was given", "each_remote_read_then_finish passes each response to the given block or\n returns an enumerator of the responses if no block is given.\n\n It is like each_remote_read, but it blocks on finishing on detecting\n the final message.\n\n == Enumerator ==\n\n * #next blocks until the remote endpoint sends a READ or FINISHED\n * for each read, enumerator#next yields the response\n * on status\n * if it's is OK, enumerator#next raises StopException\n * if is not OK, enumerator#next raises RuntimeException\n\n == Block ==\n\n * if provided it is executed for each response\n * the call blocks until no more responses are provided\n\n @return [Enumerator] if no block was given", "request_response sends a request to a GRPC server, and returns the\n response.\n\n @param req [Object] the request sent to the server\n @param metadata [Hash] metadata to be sent to the server. If a value is\n a list, multiple metadata for its key are sent\n @return [Object] the response received from the server", "client_streamer sends a stream of requests to a GRPC server, and\n returns a single response.\n\n requests provides an 'iterable' of Requests. I.e. it follows Ruby's\n #each enumeration protocol. In the simplest case, requests will be an\n array of marshallable objects; in typical case it will be an Enumerable\n that allows dynamic construction of the marshallable objects.\n\n @param requests [Object] an Enumerable of requests to send\n @param metadata [Hash] metadata to be sent to the server. If a value is\n a list, multiple metadata for its key are sent\n @return [Object] the response received from the server", "server_streamer sends one request to the GRPC server, which yields a\n stream of responses.\n\n responses provides an enumerator over the streamed responses, i.e. it\n follows Ruby's #each iteration protocol. The enumerator blocks while\n waiting for each response, stops when the server signals that no\n further responses will be supplied. If the implicit block is provided,\n it is executed with each response as the argument and no result is\n returned.\n\n @param req [Object] the request sent to the server\n @param metadata [Hash] metadata to be sent to the server. If a value is\n a list, multiple metadata for its key are sent\n @return [Enumerator|nil] a response Enumerator", "bidi_streamer sends a stream of requests to the GRPC server, and yields\n a stream of responses.\n\n This method takes an Enumerable of requests, and returns and enumerable\n of responses.\n\n == requests ==\n\n requests provides an 'iterable' of Requests. I.e. it follows Ruby's\n #each enumeration protocol. In the simplest case, requests will be an\n array of marshallable objects; in typical case it will be an\n Enumerable that allows dynamic construction of the marshallable\n objects.\n\n == responses ==\n\n This is an enumerator of responses. I.e, its #next method blocks\n waiting for the next response. Also, if at any point the block needs\n to consume all the remaining responses, this can be done using #each or\n #collect. Calling #each or #collect should only be done if\n the_call#writes_done has been called, otherwise the block will loop\n forever.\n\n @param requests [Object] an Enumerable of requests to send\n @param metadata [Hash] metadata to be sent to the server. If a value is\n a list, multiple metadata for its key are sent\n @return [Enumerator, nil] a response Enumerator", "run_server_bidi orchestrates a BiDi stream processing on a server.\n\n N.B. gen_each_reply is a func(Enumerable)\n\n It takes an enumerable of requests as an arg, in case there is a\n relationship between the stream of requests and the stream of replies.\n\n This does not mean that must necessarily be one. E.g, the replies\n produced by gen_each_reply could ignore the received_msgs\n\n @param mth [Proc] generates the BiDi stream replies\n @param interception_ctx [InterceptionContext]", "Creates a BidiCall.\n\n BidiCall should only be created after a call is accepted. That means\n different things on a client and a server. On the client, the call is\n accepted after call.invoke. On the server, this is after call.accept.\n\n #initialize cannot determine if the call is accepted or not; so if a\n call that's not accepted is used here, the error won't be visible until\n the BidiCall#run is called.\n\n deadline is the absolute deadline for the call.\n\n @param call [Call] the call used by the ActiveCall\n @param marshal [Function] f(obj)->string that marshal requests\n @param unmarshal [Function] f(string)->obj that unmarshals responses\n @param metadata_received [true|false] indicates if metadata has already\n been received. Should always be true for server calls\n Begins orchestration of the Bidi stream for a client sending requests.\n\n The method either returns an Enumerator of the responses, or accepts a\n block that can be invoked with each response.\n\n @param requests the Enumerable of requests to send\n @param set_input_stream_done [Proc] called back when we're done\n reading the input stream\n @param set_output_stream_done [Proc] called back when we're done\n sending data on the output stream\n @return an Enumerator of requests to yield", "Begins orchestration of the Bidi stream for a server generating replies.\n\n N.B. gen_each_reply is a func(Enumerable)\n\n It takes an enumerable of requests as an arg, in case there is a\n relationship between the stream of requests and the stream of replies.\n\n This does not mean that must necessarily be one. E.g, the replies\n produced by gen_each_reply could ignore the received_msgs\n\n @param [Proc] gen_each_reply generates the BiDi stream replies.\n @param [Enumerable] requests The enumerable of requests to run", "performs a read using @call.run_batch, ensures metadata is set up", "set_output_stream_done is relevant on client-side", "Provides an enumerator that yields results of remote reads", "Runs the given block on the queue with the provided args.\n\n @param args the args passed blk when it is called\n @param blk the block to call", "Starts running the jobs in the thread pool.", "Stops the jobs in the pool", "Forcibly shutdown any threads that are still alive.", "Creates a new RpcServer.\n\n The RPC server is configured using keyword arguments.\n\n There are some specific keyword args used to configure the RpcServer\n instance.\n\n * pool_size: the size of the thread pool the server uses to run its\n threads. No more concurrent requests can be made than the size\n of the thread pool\n\n * max_waiting_requests: Deprecated due to internal changes to the thread\n pool. This is still an argument for compatibility but is ignored.\n\n * poll_period: The amount of time in seconds to wait for\n currently-serviced RPC's to finish before cancelling them when shutting\n down the server.\n\n * pool_keep_alive: The amount of time in seconds to wait\n for currently busy thread-pool threads to finish before\n forcing an abrupt exit to each thread.\n\n * connect_md_proc:\n when non-nil is a proc for determining metadata to send back the client\n on receiving an invocation req. The proc signature is:\n {key: val, ..} func(method_name, {key: val, ...})\n\n * server_args:\n A server arguments hash to be passed down to the underlying core server\n\n * interceptors:\n Am array of GRPC::ServerInterceptor objects that will be used for\n intercepting server handlers to provide extra functionality.\n Interceptors are an EXPERIMENTAL API.\n\n stops a running server\n\n the call has no impact if the server is already stopped, otherwise\n server's current call loop is it's last.", "Can only be called while holding @run_mutex", "handle registration of classes\n\n service is either a class that includes GRPC::GenericService and whose\n #new function can be called without argument or any instance of such a\n class.\n\n E.g, after\n\n class Divider\n include GRPC::GenericService\n rpc :div DivArgs, DivReply # single request, single response\n def initialize(optional_arg='default option') # no args\n ...\n end\n\n srv = GRPC::RpcServer.new(...)\n\n # Either of these works\n\n srv.handle(Divider)\n\n # or\n\n srv.handle(Divider.new('replace optional arg'))\n\n It raises RuntimeError:\n - if service is not valid service class or object\n - its handler methods are already registered\n - if the server is already running\n\n @param service [Object|Class] a service class or object as described\n above", "runs the server\n\n - if no rpc_descs are registered, this exits immediately, otherwise it\n continues running permanently and does not return until program exit.\n\n - #running? returns true after this is called, until #stop cause the\n the server to stop.", "runs the server with signal handlers\n @param signals\n List of String, Integer or both representing signals that the user\n would like to send to the server for graceful shutdown\n @param wait_interval (optional)\n Integer seconds that user would like stop_server_thread to poll\n stop_server", "Sends RESOURCE_EXHAUSTED if there are too many unprocessed jobs", "Sends UNIMPLEMENTED if the method is not implemented by this server", "handles calls to the server", "Creates a new ClientStub.\n\n Minimally, a stub is created with the just the host of the gRPC service\n it wishes to access, e.g.,\n\n my_stub = ClientStub.new(example.host.com:50505,\n :this_channel_is_insecure)\n\n If a channel_override argument is passed, it will be used as the\n underlying channel. Otherwise, the channel_args argument will be used\n to construct a new underlying channel.\n\n There are some specific keyword args that are not used to configure the\n channel:\n\n - :channel_override\n when present, this must be a pre-created GRPC::Core::Channel. If it's\n present the host and arbitrary keyword arg areignored, and the RPC\n connection uses this channel.\n\n - :timeout\n when present, this is the default timeout used for calls\n\n @param host [String] the host the stub connects to\n @param creds [Core::ChannelCredentials|Symbol] the channel credentials, or\n :this_channel_is_insecure, which explicitly indicates that the client\n should be created with an insecure connection. Note: this argument is\n ignored if the channel_override argument is provided.\n @param channel_override [Core::Channel] a pre-created channel\n @param timeout [Number] the default timeout to use in requests\n @param propagate_mask [Number] A bitwise combination of flags in\n GRPC::Core::PropagateMasks. Indicates how data should be propagated\n from parent server calls to child client calls if this client is being\n used within a gRPC server.\n @param channel_args [Hash] the channel arguments. Note: this argument is\n ignored if the channel_override argument is provided.\n @param interceptors [Array] An array of\n GRPC::ClientInterceptor objects that will be used for\n intercepting calls before they are executed\n Interceptors are an EXPERIMENTAL API.\n request_response sends a request to a GRPC server, and returns the\n response.\n\n == Flow Control ==\n This is a blocking call.\n\n * it does not return until a response is received.\n\n * the requests is sent only when GRPC core's flow control allows it to\n be sent.\n\n == Errors ==\n An RuntimeError is raised if\n\n * the server responds with a non-OK status\n\n * the deadline is exceeded\n\n == Return Value ==\n\n If return_op is false, the call returns the response\n\n If return_op is true, the call returns an Operation, calling execute\n on the Operation returns the response.\n\n @param method [String] the RPC method to call on the GRPC server\n @param req [Object] the request sent to the server\n @param marshal [Function] f(obj)->string that marshals requests\n @param unmarshal [Function] f(string)->obj that unmarshals responses\n @param deadline [Time] (optional) the time the request should complete\n @param return_op [true|false] return an Operation if true\n @param parent [Core::Call] a prior call whose reserved metadata\n will be propagated by this one.\n @param credentials [Core::CallCredentials] credentials to use when making\n the call\n @param metadata [Hash] metadata to be sent to the server\n @return [Object] the response received from the server", "Creates a new active stub\n\n @param method [string] the method being called.\n @param marshal [Function] f(obj)->string that marshals requests\n @param unmarshal [Function] f(string)->obj that unmarshals responses\n @param parent [Grpc::Call] a parent call, available when calls are\n made from server\n @param credentials [Core::CallCredentials] credentials to use when making\n the call", "Lookup a Liquid variable in the given context.\n\n context - the Liquid context in question.\n variable - the variable name, as a string.\n\n Returns the value of the variable in the context\n or the variable name if not found.", "Determine which converters to use based on this document's\n extension.\n\n Returns Array of Converter instances.", "Prepare payload and render the document\n\n Returns String rendered document output", "Render the document.\n\n Returns String rendered document output\n rubocop: disable AbcSize", "Render layouts and place document content inside.\n\n Returns String rendered content", "Checks if the layout specified in the document actually exists\n\n layout - the layout to check\n Returns nothing", "Render layout content into document.output\n\n Returns String rendered content", "Set page content to payload and assign pager if document has one.\n\n Returns nothing", "Read Site data from disk and load it into internal data structures.\n\n Returns nothing.", "Recursively traverse directories with the read_directories function.\n\n base - The String representing the site's base directory.\n dir - The String representing the directory to traverse down.\n dot_dirs - The Array of subdirectories in the dir.\n\n Returns nothing.", "Read the entries from a particular directory for processing\n\n dir - The String representing the relative path of the directory to read.\n subfolder - The String representing the directory to read.\n\n Returns the list of entries to process", "Write static files, pages, and posts.\n\n Returns nothing.", "Construct a Hash of Posts indexed by the specified Post attribute.\n\n post_attr - The String name of the Post attribute.\n\n Examples\n\n post_attr_hash('categories')\n # => { 'tech' => [, ],\n # 'ruby' => [] }\n\n Returns the Hash: { attr => posts } where\n attr - One of the values for the requested attribute.\n posts - The Array of Posts with the given attr value.", "Get the implementation class for the given Converter.\n Returns the Converter instance implementing the given Converter.\n klass - The Class of the Converter to fetch.", "klass - class or module containing the subclasses.\n Returns array of instances of subclasses of parameter.\n Create array of instances of the subclasses of the class or module\n passed in as argument.", "Get all the documents\n\n Returns an Array of all Documents", "Disable Marshaling cache to disk in Safe Mode", "Finds a default value for a given setting, filtered by path and type\n\n path - the path (relative to the source) of the page,\n post or :draft the default is used in\n type - a symbol indicating whether a :page,\n a :post or a :draft calls this method\n\n Returns the default value or nil if none was found", "Collects a hash with all default values for a page or post\n\n path - the relative path of the page or post\n type - a symbol indicating the type (:post, :page or :draft)\n\n Returns a hash with all default values (an empty hash if there are none)", "Returns a list of valid sets\n\n This is not cached to allow plugins to modify the configuration\n and have their changes take effect\n\n Returns an array of hashes", "Retrieve a cached item\n Raises if key does not exist in cache\n\n Returns cached value", "Add an item to cache\n\n Returns nothing.", "Remove one particular item from the cache\n\n Returns nothing.", "Check if `key` already exists in this cache\n\n Returns true if key exists in the cache, false otherwise", "Given a hashed key, return the path to where this item would be saved on disk.", "Render Liquid in the content\n\n content - the raw Liquid content to render\n payload - the payload for Liquid\n info - the info for Liquid\n\n Returns the converted content", "Convert this Convertible's data to a Hash suitable for use by Liquid.\n\n Returns the Hash representation of this Convertible.", "Recursively render layouts\n\n layouts - a list of the layouts\n payload - the payload for Liquid\n info - the info for Liquid\n\n Returns nothing", "Add any necessary layouts to this convertible document.\n\n payload - The site payload Drop or Hash.\n layouts - A Hash of {\"name\" => \"layout\"}.\n\n Returns nothing.", "Require each of the runtime_dependencies specified by the theme's gemspec.\n\n Returns false only if no dependencies have been specified, otherwise nothing.", "Require all .rb files if safe mode is off\n\n Returns nothing.", "Initialize a new StaticFile.\n\n site - The Site.\n base - The String path to the .\n dir - The String path between and the file.\n name - The String filename of the file.\n rubocop: disable ParameterLists\n rubocop: enable ParameterLists\n Returns source file path.", "Merge some data in with this document's data.\n\n Returns the merged data.", "Merges a master hash with another hash, recursively.\n\n master_hash - the \"parent\" hash whose values will be overridden\n other_hash - the other hash whose values will be persisted after the merge\n\n This code was lovingly stolen from some random gem:\n http://gemjack.com/gems/tartan-0.1.1/classes/Hash.html\n\n Thanks to whoever made it.", "Read array from the supplied hash favouring the singular key\n and then the plural key, and handling any nil entries.\n\n hash - the hash to read from\n singular_key - the singular key\n plural_key - the plural key\n\n Returns an array", "Determine whether the given content string contains Liquid Tags or Vaiables\n\n Returns true is the string contains sequences of `{%` or `{{`", "Add an appropriate suffix to template so that it matches the specified\n permalink style.\n\n template - permalink template without trailing slash or file extension\n permalink_style - permalink style, either built-in or custom\n\n The returned permalink template will use the same ending style as\n specified in permalink_style. For example, if permalink_style contains a\n trailing slash (or is :pretty, which indirectly has a trailing slash),\n then so will the returned template. If permalink_style has a trailing\n \":output_ext\" (or is :none, :date, or :ordinal) then so will the returned\n template. Otherwise, template will be returned without modification.\n\n Examples:\n add_permalink_suffix(\"/:basename\", :pretty)\n # => \"/:basename/\"\n\n add_permalink_suffix(\"/:basename\", :date)\n # => \"/:basename:output_ext\"\n\n add_permalink_suffix(\"/:basename\", \"/:year/:month/:title/\")\n # => \"/:basename/\"\n\n add_permalink_suffix(\"/:basename\", \"/:year/:month/:title\")\n # => \"/:basename\"\n\n Returns the updated permalink template", "Replace each character sequence with a hyphen.\n\n See Utils#slugify for a description of the character sequence specified\n by each mode.", "Extract information from the page filename.\n\n name - The String filename of the page file.\n\n NOTE: `String#gsub` removes all trailing periods (in comparison to `String#chomp`)\n Returns nothing.", "Add any necessary layouts to this post\n\n layouts - The Hash of {\"name\" => \"layout\"}.\n site_payload - The site payload Hash.\n\n Returns String rendered page.", "Filters an array of objects against an expression\n\n input - the object array\n variable - the variable to assign each item to in the expression\n expression - a Liquid comparison expression passed in as a string\n\n Returns the filtered array of objects", "Sort an array of objects\n\n input - the object array\n property - property within each object to filter by\n nils ('first' | 'last') - nils appear before or after non-nil values\n\n Returns the filtered array of objects", "Sort the input Enumerable by the given property.\n If the property doesn't exist, return the sort order respective of\n which item doesn't have the property.\n We also utilize the Schwartzian transform to make this more efficient.", "`where` filter helper", "All the entries in this collection.\n\n Returns an Array of file paths to the documents in this collection\n relative to the collection's directory", "The full path to the directory containing the collection, with\n optional subpaths.\n\n *files - (optional) any other path pieces relative to the\n directory to append to the path\n\n Returns a String containing th directory name where the collection\n is stored on the filesystem.", "Add a path to the metadata\n\n Returns true, also on failure.", "Add a dependency of a path\n\n Returns nothing.", "Write the metadata to disk\n\n Returns nothing.", "Fetches the finished configuration for a given path. This will try to look for a specific value\n and fallback to a default value if nothing was found", "Use absolute paths instead of relative", "this endpoint is used by Xcode to fetch provisioning profiles.\n The response is an xml plist but has the added benefit of containing the appId of each provisioning profile.\n\n Use this method over `provisioning_profiles` if possible because no secondary API calls are necessary to populate the ProvisioningProfile data model.", "Ensures that there are csrf tokens for the appropriate entity type\n Relies on store_csrf_tokens to set csrf_tokens to the appropriate value\n then stores that in the correct place in cache\n This method also takes a block, if you want to send a custom request, instead of\n calling `.all` on the given klass. This is used for provisioning profiles.", "puts the screenshot into the frame", "Everything below is related to title, background, etc. and is not used in the easy mode\n\n this is used to correct the 1:1 offset information\n the offset information is stored to work for the template images\n since we resize the template images to have higher quality screenshots\n we need to modify the offset information by a certain factor", "Horizontal adding around the frames", "Minimum height for the title", "Returns a correctly sized background image", "Resize the frame as it's too low quality by default", "Add the title above or below the device", "This will build up to 2 individual images with the title and optional keyword, which will then be added to the real image", "Fetches the title + keyword for this particular screenshot", "The font we want to use", "If itc_provider was explicitly specified, use it.\n If there are multiple teams, infer the provider from the selected team name.\n If there are fewer than two teams, don't infer the provider.", "Responsible for setting all required header attributes for the requests\n to succeed", "Uploads the modified package back to App Store Connect\n @param app_id [Integer] The unique App ID\n @param dir [String] the path in which the package file is located\n @return (Bool) True if everything worked fine\n @raise [Deliver::TransporterTransferError] when something went wrong\n when transferring", "Returns the password to be used with the transporter", "Tells the user how to get an application specific password", "Used when creating a new certificate or profile", "Helpers\n Every installation setup that needs an Xcode project should\n call this method", "Set a new team ID which will be used from now on", "Returns preferred path for storing cookie\n for two step verification.", "Handles the paging for you... for free\n Just pass a block and use the parameter as page number", "Authenticates with Apple's web services. This method has to be called once\n to generate a valid session. The session will automatically be used from then\n on.\n\n This method will automatically use the username from the Appfile (if available)\n and fetch the password from the Keychain (if available)\n\n @param user (String) (optional): The username (usually the email address)\n @param password (String) (optional): The password\n\n @raise InvalidUserCredentialsError: raised if authentication failed\n\n @return (Spaceship::Client) The client the login method was called for", "This method is used for both the Apple Dev Portal and App Store Connect\n This will also handle 2 step verification and 2 factor authentication\n\n It is called in `send_login_request` of sub classes (which the method `login`, above, transferred over to via `do_login`)", "Get contract messages from App Store Connect's \"olympus\" endpoint", "This also gets called from subclasses", "Actually sends the request to the remote server\n Automatically retries the request up to 3 times if something goes wrong", "Returns a path relative to FastlaneFolder.path\n This is needed as the Preview.html file is located inside FastlaneFolder.path", "Renders all data available to quickly see if everything was correctly generated.\n @param export_path (String) The path to a folder where the resulting HTML file should be stored.", "Execute shell command", "pass an array of device types", "Append a lane to the current Fastfile template we're generating", "This method is responsible for ensuring there is a working\n Gemfile, and that `fastlane` is defined as a dependency\n while also having `rubygems` as a gem source", "Parses command options and executes actions", "Add entry to Apple Keychain using AccountManager", "This method takes care of creating a new 'deliver' folder, containing the app metadata\n and screenshots folders", "Checks if the gem name is still free on RubyGems", "Applies a series of replacement rules to turn the requested plugin name into one\n that is acceptable, returning that suggestion", "Hash of available signing identities", "Initializes the listing to use the given api client, language, and fills it with the current listing if available\n Updates the listing in the current edit", "Call this method to ask the user to re-enter the credentials\n @param force: if false, the user is asked before it gets deleted\n @return: Did the user decide to remove the old entry and enter a new password?", "Use env variables from this method to augment internet password item with additional data.\n These variables are used by Xamarin Studio to authenticate Apple developers.", "Called just as the investigation has begun.", "Called once the inspector has received a report with more than one issue.", "Shows a team selection for the user in the terminal. This should not be\n called on CI systems\n\n @param team_id (String) (optional): The ID of an App Store Connect team\n @param team_name (String) (optional): The name of an App Store Connect team", "Sometimes we get errors or info nested in our data\n This method allows you to pass in a set of keys to check for\n along with the name of the sub_section of your original data\n where we should check\n Returns a mapping of keys to data array if we find anything, otherwise, empty map", "Creates a new application on App Store Connect\n @param name (String): The name of your app as it will appear on the App Store.\n This can't be longer than 255 characters.\n @param primary_language (String): If localized app information isn't available in an\n App Store territory, the information from your primary language will be used instead.\n @param version *DEPRECATED: Use `Spaceship::Tunes::Application.ensure_version!` method instead*\n (String): The version number is shown on the App Store and should match the one you used in Xcode.\n @param sku (String): A unique ID for your app that is not visible on the App Store.\n @param bundle_id (String): The bundle ID must match the one you used in Xcode. It\n can't be changed after you submit your first build.", "Returns an array of all available pricing tiers\n\n @note Although this information is publicly available, the current spaceship implementation requires you to have a logged in client to access it\n\n @return [Array] the PricingTier objects (Spaceship::Tunes::PricingTier)\n [{\n \"tierStem\": \"0\",\n \"tierName\": \"Free\",\n \"pricingInfo\": [{\n \"country\": \"United States\",\n \"countryCode\": \"US\",\n \"currencySymbol\": \"$\",\n \"currencyCode\": \"USD\",\n \"wholesalePrice\": 0.0,\n \"retailPrice\": 0.0,\n \"fRetailPrice\": \"$0.00\",\n \"fWholesalePrice\": \"$0.00\"\n }, {\n ...\n }, {\n ...", "Returns an array of all supported territories\n\n @note Although this information is publicly available, the current spaceship implementation requires you to have a logged in client to access it\n\n @return [Array] the Territory objects (Spaceship::Tunes::Territory)", "Uploads a watch icon\n @param app_version (AppVersion): The version of your app\n @param upload_image (UploadFile): The icon to upload\n @return [JSON] the response", "Uploads an In-App-Purchase Review screenshot\n @param app_id (AppId): The id of the app\n @param upload_image (UploadFile): The icon to upload\n @return [JSON] the screenshot data, ready to be added to an In-App-Purchase", "Uploads a screenshot\n @param app_version (AppVersion): The version of your app\n @param upload_image (UploadFile): The image to upload\n @param device (string): The target device\n @param is_messages (Bool): True if the screenshot is for iMessage\n @return [JSON] the response", "Uploads an iMessage screenshot\n @param app_version (AppVersion): The version of your app\n @param upload_image (UploadFile): The image to upload\n @param device (string): The target device\n @return [JSON] the response", "Uploads the trailer preview\n @param app_version (AppVersion): The version of your app\n @param upload_trailer_preview (UploadFile): The trailer preview to upload\n @param device (string): The target device\n @return [JSON] the response", "Fetches the App Version Reference information from ITC\n @return [AppVersionRef] the response", "All build trains, even if there is no TestFlight", "updates an In-App-Purchases-Family", "updates an In-App-Purchases", "Creates an In-App-Purchases", "generates group hash used in the analytics time_series API.\n Using rank=DESCENDING and limit=3 as this is what the App Store Connect analytics dashboard uses.", "This is its own method so that it can re-try if the tests fail randomly\n @return true/false depending on if the tests succeeded", "Returns true if it succeeded", "Verifies the default value is also valid", "This method takes care of parsing and using the configuration file as values\n Call this once you know where the config file might be located\n Take a look at how `gym` uses this method\n\n @param config_file_name [String] The name of the configuration file to use (optional)\n @param block_for_missing [Block] A ruby block that is called when there is an unknown method\n in the configuration file", "Allows the user to call an action from an action", "Makes sure to get the value for the language\n Instead of using the user's value `UK English` spaceship should send\n `English_UK` to the server", "lookup if an alias exists", "This is being called from `method_missing` from the Fastfile\n It's also used when an action is called from another action\n @param from_action Indicates if this action is being trigged by another action.\n If so, it won't show up in summary.", "Called internally to setup the runner object\n\n @param lane [Lane] A lane object", "Makes sure a Fastfile is available\n Shows an appropriate message to the user\n if that's not the case\n return true if the Fastfile is available", "Make sure the version on App Store Connect matches the one in the ipa\n If not, the new version will automatically be created", "Upload all metadata, screenshots, pricing information, etc. to App Store Connect", "Upload the binary to App Store Connect", "Upload binary apk and obb and corresponding change logs with client\n\n @param [String] apk_path\n Path of the apk file to upload.\n\n @return [Integer] The apk version code returned after uploading, or nil if there was a problem", "returns only language directories from metadata_path", "searches for obbs in the directory where the apk is located and\n upload at most one main and one patch file. Do nothing if it finds\n more than one of either of them.", "Calls the appropriate methods for commander to show the available parameters", "Intialize with values from Scan.config matching these param names", "Aborts the current edit deleting all pending changes", "Commits the current edit saving all pending changes on Google Play", "Returns the listing for the given language filled with the current values if it already exists", "Get a list of all APK version codes - returns the list of version codes", "Get a list of all AAB version codes - returns the list of version codes", "Get list of version codes for track", "Returns an array of gems that are added to the Gemfile or Pluginfile", "Check if a plugin is added as dependency to either the\n Gemfile or the Pluginfile", "Modify the user's Gemfile to load the plugins", "Prints a table all the plugins that were loaded", "Some device commands fail if executed against a device path that does not exist, so this helper method\n provides a way to conditionally execute a block only if the provided path exists on the device.", "Return an array of packages that are installed on the device", "Fetches a profile matching the user's search requirements", "Create a new profile and return it", "Certificate to use based on the current distribution mode", "Downloads and stores the provisioning profile", "Makes sure the current App ID exists. If not, it will show an appropriate error message", "Download all valid provisioning profiles", "we got a server control command from the client to do something like shutdown", "send json back to client", "execute fastlane action command", "Get all available schemes in an array", "Let the user select a scheme\n Use a scheme containing the preferred_to_include string when multiple schemes were found", "Get all available configurations in an array", "Returns the build settings and sets the default scheme to the options hash", "Print tables to ask the user", "Make sure to call `load_from_filesystem` before calling upload", "Uploads metadata individually by language to help identify exactly which items have issues", "Makes sure all languages we need are actually created", "Loads the metadata files and stores them into the options object", "Normalizes languages keys from symbols to strings", "Identifies the resolution of a video or an image.\n Supports all video and images required by DU-UTC right now\n @param path (String) the path to the file", "Some actions have special handling in fast_file.rb, that means we can't directly call the action\n but we have to use the same logic that is in fast_file.rb instead.\n That's where this switch statement comes into play", "Builds the app and prepares the archive", "Post-processing of build_app", "Moves over the binary and dsym file to the output directory\n @return (String) The path to the resulting ipa file", "Copies the .app from the archive into the output directory", "Move the manifest.plist if exists into the output directory", "Move the app-thinning.plist file into the output directory", "Move the App Thinning Size Report.txt file into the output directory", "Move the Apps folder to the output directory", "compares the new file content to the old and figures out what api_version the new content should be", "expects format to be \"X.Y.Z\" where each value is a number", "Override Appfile configuration for a specific lane.\n\n lane_name - Symbol representing a lane name. (Can be either :name, 'name' or 'platform name')\n block - Block to execute to override configuration values.\n\n Discussion If received lane name does not match the lane name available as environment variable, no changes will\n be applied.", "compares source file against the target file's FastlaneRunnerAPIVersion and returned `true` if there is a difference", "currently just copies file, even if not needed.", "exceptions that happen in worker threads simply cause that thread\n to die and another to be spawned in its place.", "Write the character ch as part of a JSON string, escaping as appropriate.", "Write out the contents of the string str as a JSON string, escaping characters as appropriate.", "Write out the contents of the string as JSON string, base64-encoding\n the string's contents, and escaping as appropriate", "Convert the given double to a JSON string, which is either the number,\n \"NaN\" or \"Infinity\" or \"-Infinity\".", "Decodes the four hex parts of a JSON escaped string character and returns\n the character via out.\n\n Note - this only supports Unicode characters in the BMP (U+0000 to U+FFFF);\n characters above the BMP are encoded as two escape sequences (surrogate pairs),\n which is not yet implemented", "Decodes a JSON string, including unescaping, and returns the string via str", "Reads a block of base64 characters, decoding it, and returns via str", "Reads a sequence of characters, stopping at the first one that is not\n a valid JSON numeric character.", "Reads a sequence of characters and assembles them into a number,\n returning them via num", "Reads a JSON number or string and interprets it as a double.", "Writes a field based on the field information, field ID and value.\n\n field_info - A Hash containing the definition of the field:\n :name - The name of the field.\n :type - The type of the field, which must be a Thrift::Types constant.\n :binary - A Boolean flag that indicates if Thrift::Types::STRING is a binary string (string without encoding).\n fid - The ID of the field.\n value - The field's value to write; object type varies based on :type.\n\n Returns nothing.", "Writes a field value based on the field information.\n\n field_info - A Hash containing the definition of the field:\n :type - The Thrift::Types constant that determines how the value is written.\n :binary - A Boolean flag that indicates if Thrift::Types::STRING is a binary string (string without encoding).\n value - The field's value to write; object type varies based on field_info[:type].\n\n Returns nothing.", "Reads a field value based on the field information.\n\n field_info - A Hash containing the pertinent data to write:\n :type - The Thrift::Types constant that determines how the value is written.\n :binary - A flag that indicates if Thrift::Types::STRING is a binary string (string without encoding).\n\n Returns the value read; object type varies based on field_info[:type].", "The workhorse of writeFieldBegin. It has the option of doing a\n 'type override' of the type header. This is used specifically in the\n boolean field case.", "Abstract method for writing the start of lists and sets. List and sets on\n the wire differ only by the type indicator.", "Reads a number of bytes from the transport into the buffer passed.\n\n buffer - The String (byte buffer) to write data to; this is assumed to have a BINARY encoding.\n size - The number of bytes to read from the transport and write to the buffer.\n\n Returns the number of bytes read.", "1-based index into the fibonacci sequence", "Writes the output buffer to the stream in the format of a 4-byte length\n followed by the actual data.", "Parse an input into a URI object, optionally resolving it\n against a base URI if given.\n\n A URI object will have the following properties: scheme,\n userinfo, host, port, registry, path, opaque, query, and\n fragment.", "Escape a string for use in XPath expression", "This method returns true if the result should be stored as a new event.\n If mode is set to 'on_change', this method may return false and update an existing\n event to expire further in the future.", "Run all the queued up actions, parallelizing if possible.\n\n This will parallelize if and only if the provider of every machine\n supports parallelization and parallelization is possible from\n initialization of the class.", "Get a value by the given key.\n\n This will evaluate the block given to `register` and return the\n resulting value.", "Merge one registry with another and return a completely new\n registry. Note that the result cache is completely busted, so\n any gets on the new registry will result in a cache miss.", "Initializes Bundler and the various gem paths so that we can begin\n loading gems.", "Update updates the given plugins, or every plugin if none is given.\n\n @param [Hash] plugins\n @param [Array] specific Specific plugin names to update. If\n empty or nil, all plugins will be updated.", "Clean removes any unused gems.", "Iterates each configured RubyGem source to validate that it is properly\n available. If source is unavailable an exception is raised.", "Generate the builtin resolver set", "Activate a given solution", "Initializes a MachineIndex at the given file location.\n\n @param [Pathname] data_dir Path to the directory where data for the\n index can be stored. This folder should exist and must be writable.\n Deletes a machine by UUID.\n\n The machine being deleted with this UUID must either be locked\n by this index or must be unlocked.\n\n @param [Entry] entry The entry to delete.\n @return [Boolean] true if delete is successful", "Finds a machine where the UUID is prefixed by the given string.\n\n @return [Hash]", "Locks a machine exclusively to us, returning the file handle\n that holds the lock.\n\n If the lock cannot be acquired, then nil is returned.\n\n This should be called within an index lock.\n\n @return [File]", "Releases a local lock on a machine. This does not acquire any locks\n so make sure to lock around it.\n\n @param [String] id", "This will reload the data without locking the index. It is assumed\n the caller with lock the index outside of this call.\n\n @param [File] f", "This will hold a lock to the index so it can be read or updated.", "Loads the metadata associated with the box from the given\n IO.\n\n @param [IO] io An IO object to read the metadata from.\n Returns data about a single version that is included in this\n metadata.\n\n @param [String] version The version to return, this can also\n be a constraint.\n @return [Version] The matching version or nil if a matching\n version was not found.", "This prints out the help for the CLI.", "Action runner for executing actions in the context of this environment.\n\n @return [Action::Runner]", "Returns a list of machines that this environment is currently\n managing that physically have been created.\n\n An \"active\" machine is a machine that Vagrant manages that has\n been created. The machine itself may be in any state such as running,\n suspended, etc. but if a machine is \"active\" then it exists.\n\n Note that the machines in this array may no longer be present in\n the Vagrantfile of this environment. In this case the machine can\n be considered an \"orphan.\" Determining which machines are orphan\n and which aren't is not currently a supported feature, but will\n be in a future version.\n\n @return [Array]", "This creates a new batch action, yielding it, and then running it\n once the block is called.\n\n This handles the case where batch actions are disabled by the\n VAGRANT_NO_PARALLEL environmental variable.", "This defines a hook point where plugin action hooks that are registered\n against the given name will be run in the context of this environment.\n\n @param [Symbol] name Name of the hook.\n @param [Action::Runner] action_runner A custom action runner for running hooks.", "Returns the host object associated with this environment.\n\n @return [Class]", "This acquires a process-level lock with the given name.\n\n The lock file is held within the data directory of this environment,\n so make sure that all environments that are locking are sharing\n the same data directory.\n\n This will raise Errors::EnvironmentLockedError if the lock can't\n be obtained.\n\n @param [String] name Name of the lock, since multiple locks can\n be held at one time.", "This executes the push with the given name, raising any exceptions that\n occur.\n\n Precondition: the push is not nil and exists.", "This returns a machine with the proper provider for this environment.\n The machine named by `name` must be in this environment.\n\n @param [Symbol] name Name of the machine (as configured in the\n Vagrantfile).\n @param [Symbol] provider The provider that this machine should be\n backed by.\n @param [Boolean] refresh If true, then if there is a cached version\n it is reloaded.\n @return [Machine]", "This creates the local data directory and show an error if it\n couldn't properly be created.", "Check for any local plugins defined within the Vagrantfile. If\n found, validate they are available. If they are not available,\n request to install them, or raise an exception\n\n @return [Hash] plugin list for loading", "This method copies the private key into the home directory if it\n doesn't already exist.\n\n This must be done because `ssh` requires that the key is chmod\n 0600, but if Vagrant is installed as a separate user, then the\n effective uid won't be able to read the key. So the key is copied\n to the home directory and chmod 0600.", "Finds the Vagrantfile in the given directory.\n\n @param [Pathname] path Path to search in.\n @return [Pathname]", "This upgrades a home directory that was in the v1.1 format to the\n v1.5 format. It will raise exceptions if anything fails.", "This upgrades a Vagrant 1.0.x \"dotfile\" to the new V2 format.\n\n This is a destructive process. Once the upgrade is complete, the\n old dotfile is removed, and the environment becomes incompatible for\n Vagrant 1.0 environments.\n\n @param [Pathname] path The path to the dotfile", "This will detect the proper guest OS for the machine and set up\n the class to actually execute capabilities.", "Initializes by loading a Vagrantfile.\n\n @param [Config::Loader] loader Configuration loader that should\n already be configured with the proper Vagrantfile locations.\n This usually comes from {Vagrant::Environment}\n @param [Array] keys The Vagrantfiles to load and the\n order to load them in (keys within the loader).\n Returns a {Machine} for the given name and provider that\n is represented by this Vagrantfile.\n\n @param [Symbol] name Name of the machine.\n @param [Symbol] provider The provider the machine should\n be backed by (required for provider overrides).\n @param [BoxCollection] boxes BoxCollection to look up the\n box Vagrantfile.\n @param [Pathname] data_path Path where local machine data\n can be stored.\n @param [Environment] env The environment running this machine\n @return [Machine]", "Returns a list of the machine names as well as the options that\n were specified for that machine.\n\n @return [Hash]", "Returns the name of the machine that is designated as the\n \"primary.\"\n\n In the case of a single-machine environment, this is just the\n single machine name. In the case of a multi-machine environment,\n then this is the machine that is marked as primary, or nil if\n no primary machine was specified.\n\n @return [Symbol]", "Initialize a new machine.\n\n @param [String] name Name of the virtual machine.\n @param [Class] provider The provider backing this machine. This is\n currently expected to be a V1 `provider` plugin.\n @param [Object] provider_config The provider-specific configuration for\n this machine.\n @param [Hash] provider_options The provider-specific options from the\n plugin definition.\n @param [Object] config The configuration for this machine.\n @param [Pathname] data_dir The directory where machine-specific data\n can be stored. This directory is ensured to exist.\n @param [Box] box The box that is backing this virtual machine.\n @param [Environment] env The environment that this machine is a\n part of.\n This calls an action on the provider. The provider may or may not\n actually implement the action.\n\n @param [Symbol] name Name of the action to run.\n @param [Hash] extra_env This data will be passed into the action runner\n as extra data set on the environment hash for the middleware\n runner.", "This calls a raw callable in the proper context of the machine using\n the middleware stack.\n\n @param [Symbol] name Name of the action\n @param [Proc] callable\n @param [Hash] extra_env Extra env for the action env.\n @return [Hash] The resulting env", "This sets the unique ID associated with this machine. This will\n persist this ID so that in the future Vagrant will be able to find\n this machine again. The unique ID must be absolutely unique to the\n virtual machine, and can be used by providers for finding the\n actual machine associated with this instance.\n\n **WARNING:** Only providers should ever use this method.\n\n @param [String] value The ID.", "This reloads the ID of the underlying machine.", "Returns the state of this machine. The state is queried from the\n backing provider, so it can be any arbitrary symbol.\n\n @return [MachineState]", "Checks the current directory for a given machine\n and displays a warning if that machine has moved\n from its previous location on disk. If the machine\n has moved, it prints a warning to the user.", "This returns an array of all the boxes on the system, given by\n their name and their provider.\n\n @return [Array] Array of `[name, version, provider]` of the boxes\n installed on this system.", "Find a box in the collection with the given name and provider.\n\n @param [String] name Name of the box (logical name).\n @param [Array] providers Providers that the box implements.\n @param [String] version Version constraints to adhere to. Example:\n \"~> 1.0\" or \"= 1.0, ~> 1.1\"\n @return [Box] The box found, or `nil` if not found.", "This upgrades a v1.1 - v1.4 box directory structure up to a v1.5\n directory structure. This will raise exceptions if it fails in any\n way.", "Cleans the directory for a box by removing the folders that are\n empty.", "Returns the directory name for the box of the given name.\n\n @param [String] name\n @return [String]", "Returns the directory name for the box cleaned up", "This upgrades the V1 box contained unpacked in the given directory\n and returns the directory of the upgraded version. This is\n _destructive_ to the contents of the old directory. That is, the\n contents of the old V1 box will be destroyed or moved.\n\n Preconditions:\n * `dir` is a valid V1 box. Verify with {#v1_box?}\n\n @param [Pathname] dir Directory where the V1 box is unpacked.\n @return [Pathname] Path to the unpackaged V2 box.", "This is a helper that makes sure that our temporary directories\n are cleaned up no matter what.\n\n @param [String] dir Path to a temporary directory\n @return [Object] The result of whatever the yield is", "Initializes the capability system by detecting the proper capability\n host to execute on and building the chain of capabilities to execute.\n\n @param [Symbol] host The host to use for the capabilities, or nil if\n we should auto-detect it.\n @param [Hash>] hosts Potential capability\n hosts. The key is the name of the host, value[0] is a class that\n implements `#detect?` and value[1] is a parent host (if any).\n @param [Hash>] capabilities The capabilities\n that are supported. The key is the host of the capability. Within that\n is a hash where the key is the name of the capability and the value\n is the class/module implementing it.", "Executes the capability with the given name, optionally passing more\n arguments onwards to the capability. If the capability returns a value,\n it will be returned.\n\n @param [Symbol] cap_name Name of the capability", "Returns the registered module for a capability with the given name.\n\n @param [Symbol] cap_name\n @return [Module]", "Checks if this box is in use according to the given machine\n index and returns the entries that appear to be using the box.\n\n The entries returned, if any, are not tested for validity\n with {MachineIndex::Entry#valid?}, so the caller should do that\n if the caller cares.\n\n @param [MachineIndex] index\n @return [Array]", "Loads the metadata URL and returns the latest metadata associated\n with this box.\n\n @param [Hash] download_options Options to pass to the downloader.\n @return [BoxMetadata]", "Checks if the box has an update and returns the metadata, version,\n and provider. If the box doesn't have an update that satisfies the\n constraints, it will return nil.\n\n This will potentially make a network call if it has to load the\n metadata from the network.\n\n @param [String] version Version constraints the update must\n satisfy. If nil, the version constrain defaults to being a\n larger version than this box.\n @return [Array]", "Check if a box update check is allowed. Uses a file\n in the box data directory to track when the last auto\n update check was performed and returns true if the\n BOX_UPDATE_CHECK_INTERVAL has passed.\n\n @return [Boolean]", "This repackages this box and outputs it to the given path.\n\n @param [Pathname] path The full path (filename included) of where\n to output this box.\n @return [Boolean] true if this succeeds.", "This interprets a raw line from the aliases file.", "This registers an alias.", "Halt processing and redirect to the URI provided.", "Generates the absolute URI for a given path in the app.\n Takes Rack routers and reverse proxies into account.", "Set the Content-Type of the response body given a media type or file\n extension.", "Allows to start sending data to the client even though later parts of\n the response body have not yet been generated.\n\n The close parameter specifies whether Stream#close should be called\n after the block has been executed. This is only relevant for evented\n servers like Thin or Rainbows.", "Helper method checking if a ETag value list includes the current ETag.", "logic shared between builder and nokogiri", "Run filters defined on the class and all superclasses.", "Run routes defined on the class and all superclasses.", "Creates a Hash with indifferent access.", "reduce 21 omitted", "Set Engine's dry_run_mode true to override all target_id of worker sections", "This method returns MultiEventStream, because there are no reason\n to surve binary serialized by msgpack.", "return chunk id to be committed", "to include TimeParseError", "search a plugin by plugin_id", "This method returns an array because\n multiple plugins could have the same type", "get monitor info from the plugin `pe` and return a hash object", "Sanitize the parameters for a specific +action+.\n\n === Arguments\n\n * +action+ - A +Symbol+ with the action that the controller is\n performing, like +sign_up+, +sign_in+, etc.\n\n === Examples\n\n # Inside the `RegistrationsController#create` action.\n resource = build_resource(devise_parameter_sanitizer.sanitize(:sign_up))\n resource.save\n\n Returns an +ActiveSupport::HashWithIndifferentAccess+ with the permitted\n attributes.", "Add or remove new parameters to the permitted list of an +action+.\n\n === Arguments\n\n * +action+ - A +Symbol+ with the action that the controller is\n performing, like +sign_up+, +sign_in+, etc.\n * +keys:+ - An +Array+ of keys that also should be permitted.\n * +except:+ - An +Array+ of keys that shouldn't be permitted.\n * +block+ - A block that should be used to permit the action\n parameters instead of the +Array+ based approach. The block will be\n called with an +ActionController::Parameters+ instance.\n\n === Examples\n\n # Adding new parameters to be permitted in the `sign_up` action.\n devise_parameter_sanitizer.permit(:sign_up, keys: [:subscribe_newsletter])\n\n # Removing the `password` parameter from the `account_update` action.\n devise_parameter_sanitizer.permit(:account_update, except: [:password])\n\n # Using the block form to completely override how we permit the\n # parameters for the `sign_up` action.\n devise_parameter_sanitizer.permit(:sign_up) do |user|\n user.permit(:email, :password, :password_confirmation)\n end\n\n\n Returns nothing.", "Force keys to be string to avoid injection on mongoid related database.", "Parse source code.\n Returns self for easy chaining", "Render takes a hash with local variables.\n\n if you use the same filters over and over again consider registering them globally\n with Template.register_filter\n\n if profiling was enabled in Template#parse then the resulting profiling information\n will be available via Template#profiler\n\n Following options can be passed:\n\n * filters : array with local filters\n * registers : hash with register variables. Those can be accessed from\n filters and tags and might be useful to integrate liquid more with its host application", "Truncate a string down to x characters", "Sort elements of the array\n provide optional property with which to sort an array of hashes or drops", "Filter the elements of an array to those with a certain property value.\n By default the target is any truthy value.", "Remove duplicate elements from an array\n provide optional property with which to determine uniqueness", "Replace occurrences of a string with another", "Replace the first occurrences of a string with another", "Pushes a new local scope on the stack, pops it at the end of the block\n\n Example:\n context.stack do\n context['var'] = 'hi'\n end\n\n context['var] #=> nil", "Fetches an object starting at the local scope and then moving up the hierachy", "Restore an offense object loaded from a JSON file.", "Checks if there is whitespace before token", "Sets a value in the @options hash, based on the given long option and its\n value, in addition to calling the block if a block is given.", "Returns true if there's a chance that an Include pattern matches hidden\n files, false if that's definitely not possible.", "Check whether a run created source identical to a previous run, which\n means that we definitely have an infinite loop.", "Finds all Ruby source files under the current or other supplied\n directory. A Ruby source file is defined as a file with the `.rb`\n extension or a file with no extension that has a ruby shebang line\n as its first line.\n It is possible to specify includes and excludes using the config file,\n so you can include other Ruby files like Rakefiles and gemspecs.\n @param base_dir Root directory under which to search for\n ruby source files\n @return [Array] Array of filenames", "The checksum of the rubocop program running the inspection.", "Return a hash of the options given at invocation, minus the ones that have\n no effect on which offenses and disabled line ranges are found, and thus\n don't affect caching.", "Return a recursive merge of two hashes. That is, a normal hash merge,\n with the addition that any value that is a hash, and occurs in both\n arguments, will also be merged. And so on.\n\n rubocop:disable Metrics/AbcSize", "DoppelGanger implementation of build_node. preserves as many of the node's\n attributes, and does not save updates to the server", "paper over inconsistencies in the model classes APIs, and return the objects\n the user wanted instead of the URI=>object stuff", "Apply default configuration values for workstation-style tools.\n\n Global defaults should go in {ChefConfig::Config} instead, this is only\n for things like `knife` and `chef`.\n\n @api private\n @since 14.3\n @return [void]", "Look for a default key file.\n\n This searches for any of a list of possible default keys, checking both\n the local `.chef/` folder and the home directory `~/.chef/`. Returns `nil`\n if no matching file is found.\n\n @api private\n @since 14.3\n @param key_names [Array] A list of possible filenames to check for.\n The first one found will be returned.\n @return [String, nil]", "Set or retrieve the response status code.", "Loads the configuration from the YAML files whose +paths+ are passed as\n arguments, filtering the settings for the current environment. Note that\n these +paths+ can actually be globs.", "Returns true if supplied with a hash that has any recognized\n +environments+ in its root keys.", "Sets Link HTTP header and returns HTML tags for using stylesheets.", "Sets Link HTTP header and returns corresponding HTML tags.\n\n Example:\n\n # Sets header:\n # Link: ; rel=\"next\"\n # Returns String:\n # ''\n link '/foo', :rel => :next\n\n # Multiple URLs\n link :stylesheet, '/a.css', '/b.css'", "Parse a file of run definitions and yield each run.\n\n @params [ String ] file The YAML file containing the matrix of test run definitions.\n\n @yieldparam [ Hash ] A test run definition.\n\n @since 7.0.0", "Adds an attribute to the factory.\n The attribute value will be generated \"lazily\"\n by calling the block whenever an instance is generated.\n The block will not be called if the\n attribute is overridden for a specific instance.\n\n Arguments:\n * name: +Symbol+ or +String+\n The name of this attribute. This will be assigned using \"name=\" for\n generated instances.", "Adds an attribute that will have unique values generated by a sequence with\n a specified format.\n\n The result of:\n factory :user do\n sequence(:email) { |n| \"person#{n}@example.com\" }\n end\n\n Is equal to:\n sequence(:email) { |n| \"person#{n}@example.com\" }\n\n factory :user do\n email { FactoryBot.generate(:email) }\n end\n\n Except that no globally available sequence will be defined.", "Adds an attribute that builds an association. The associated instance will\n be built using the same build strategy as the parent instance.\n\n Example:\n factory :user do\n name 'Joey'\n end\n\n factory :post do\n association :author, factory: :user\n end\n\n Arguments:\n * name: +Symbol+\n The name of this attribute.\n * options: +Hash+\n\n Options:\n * factory: +Symbol+ or +String+\n The name of the factory to use when building the associated instance.\n If no name is given, the name of the attribute is assumed to be the\n name of the factory. For example, a \"user\" association will by\n default use the \"user\" factory.", "A lookahead for the root selections of this query\n @return [GraphQL::Execution::Lookahead]", "Get the result for this query, executing it once\n @return [Hash] A GraphQL response, with `\"data\"` and/or `\"errors\"` keys", "Declare that this object implements this interface.\n This declaration will be validated when the schema is defined.\n @param interfaces [Array] add a new interface that this type implements\n @param inherits [Boolean] If true, copy the interfaces' field definitions to this type", "Given a callable whose API used to take `from` arguments,\n check its arity, and if needed, apply a wrapper so that\n it can be called with `to` arguments.\n If a wrapper is applied, warn the application with `name`.\n\n If `last`, then use the last arguments to call the function.", "`event` was triggered on `object`, and `subscription_id` was subscribed,\n so it should be updated.\n\n Load `subscription_id`'s GraphQL data, re-evaluate the query, and deliver the result.\n\n This is where a queue may be inserted to push updates in the background.\n\n @param subscription_id [String]\n @param event [GraphQL::Subscriptions::Event] The event which was triggered\n @param object [Object] The value for the subscription field\n @return [void]", "Event `event` occurred on `object`,\n Update all subscribers.\n @param event [Subscriptions::Event]\n @param object [Object]\n @return [void]", "Return a GraphQL string for the type definition\n @param schema [GraphQL::Schema]\n @param printer [GraphQL::Schema::Printer]\n @see {GraphQL::Schema::Printer#initialize for additional options}\n @return [String] type definition", "Use the provided `method_name` to generate a string from the specified schema\n then write it to `file`.", "Use the Rake DSL to add tasks", "Prepare a lazy value for this field. It may be `then`-ed and resolved later.\n @return [GraphQL::Execution::Lazy] A lazy wrapper around `obj` and its registered method name", "Returns true if `member, ctx` passes this filter", "Visit `query`'s internal representation, calling `analyzers` along the way.\n\n - First, query analyzers are filtered down by calling `.analyze?(query)`, if they respond to that method\n - Then, query analyzers are initialized by calling `.initial_value(query)`, if they respond to that method.\n - Then, they receive `.call(memo, visit_type, irep_node)`, where visit type is `:enter` or `:leave`.\n - Last, they receive `.final_value(memo)`, if they respond to that method.\n\n It returns an array of final `memo` values in the order that `analyzers` were passed in.\n\n @param query [GraphQL::Query]\n @param analyzers [Array<#call>] Objects that respond to `#call(memo, visit_type, irep_node)`\n @return [Array] Results from those analyzers", "Enter the node, visit its children, then leave the node.", "Validate a query string according to this schema.\n @param string_or_document [String, GraphQL::Language::Nodes::Document]\n @return [Array]", "Execute a query on itself. Raises an error if the schema definition is invalid.\n @see {Query#initialize} for arguments.\n @return [Hash] query result, ready to be serialized as JSON", "This is a compatibility hack so that instance-level and class-level\n methods can get correctness checks without calling one another\n @api private", "Get a unique identifier from this object\n @param object [Any] An application object\n @param type [GraphQL::BaseType] The current type definition\n @param ctx [GraphQL::Query::Context] the context for the current query\n @return [String] a unique identifier for `object` which clients can use to refetch it", "Return the GraphQL IDL for the schema\n @param context [Hash]\n @param only [<#call(member, ctx)>]\n @param except [<#call(member, ctx)>]\n @return [String]", "Get the underlying value for this enum value\n\n @example get episode value from Enum\n episode = EpisodeEnum.coerce(\"NEWHOPE\")\n episode # => 6\n\n @param value_name [String] the string representation of this enum value\n @return [Object] the underlying value for this enum value", "This is for testing input object behavior", "Customize the JSON serialization for Elasticsearch", "Text representation of the client, masking tokens and passwords\n\n @return [String]", "Hypermedia agent for the GitHub API\n\n @return [Sawyer::Agent]", "Executes the request, checking if it was successful\n\n @return [Boolean] True on success, false otherwise", "Adds the `aria-selected` attribute to a link when it's pointing to the\n current path. The API is the same than the `link_to` one, and uses this\n helper internally.\n\n text - a String with the link text\n link - Where the link should point to. Accepts the same value than\n `link_to` helper.\n options - An options Hash that will be passed to `link_to`.", "Renders all form attributes defined by the handler.\n\n Returns a String.", "Renders a single attribute from the form handlers.\n\n name - The String name of the attribute.\n options - An optional Hash, accepted options are:\n :as - A String name with the type the field to render\n :input - An optional Hash to pass to the field method.\n\n Returns a String.", "All the resource types that are eligible to be included as an activity.", "Creates a ew authorization form in a view, accepts the same arguments as\n `form_for`.\n\n record - The record to use in the form, it shoulde be a descendant of\n AuthorizationHandler.\n options - An optional hash with options to pass wo the form builder.\n block - A block with the content of the form.\n\n Returns a String.", "Stores the url where the user will be redirected after login.\n\n Uses the `redirect_url` param or the current url if there's no param.\n In Devise controllers we only store the URL if it's from the params, we don't\n want to overwrite the stored URL for a Devise one.", "Checks if the resource should show its scope or not.\n resource - the resource to analize\n\n Returns boolean.", "Renders a scopes picker field in a form, not linked to a specific model.\n name - name for the input\n value - value for the input\n\n Returns nothing.", "Renders the emendations of an amendable resource\n\n Returns Html grid of CardM.", "Checks if the user can accept and reject the emendation", "Checks if the user can promote the emendation", "Checks if the unique ActionLog created in the promote command exists.", "Renders a UserGroup select field in a form.", "Return the edited field value or presents the original attribute value in a form.", "Renders a link to openstreetmaps with the resource latitude and longitude.\n The link's content is a static map image.\n\n resource - A geolocalizable resource\n options - An optional hash of options (default: { zoom: 17 })\n * zoom: A number to represent the zoom value of the map", "Renders the attachment's title.\n Checks if the attachment's title is translated or not and use\n the correct render method.\n\n attachment - An Attachment object\n\n Returns String.", "Overrides the submit tags to always be buttons instead of inputs.\n Buttons are much more stylable and less prone to bugs.\n\n value - The text of the button\n options - Options to provide to the actual tag.\n\n Returns a SafeString with the tag.", "Calls the `create` method to the given class and sets the author of the version.\n\n klass - An ActiveRecord class that implements `Decidim::Traceable`\n author - An object that implements `to_gid` or a String\n params - a Hash with the attributes of the new resource\n extra_log_info - a Hash with extra info that will be saved to the log\n\n Returns an instance of `klass`.", "Calls the `create!` method to the given class and sets the author of the version.\n\n klass - An ActiveRecord class that implements `Decidim::Traceable`\n author - An object that implements `to_gid` or a String\n params - a Hash with the attributes of the new resource\n extra_log_info - a Hash with extra info that will be saved to the log\n\n Returns an instance of `klass`.", "Performs the given block and sets the author of the action.\n It also logs the action with the given `action` parameter.\n The action and the logging are run inside a transaction.\n\n action - a String or Symbol representing the action performed\n resource - An ActiveRecord instance that implements `Decidim::Traceable`\n author - An object that implements `to_gid` or a String\n extra_log_info - a Hash with extra info that will be saved to the log\n\n Returns whatever the given block returns.", "Updates the `resource` with `update!` and sets the author of the version.\n\n resource - An ActiveRecord instance that implements `Decidim::Traceable`\n author - An object that implements `to_gid` or a String\n params - a Hash with the attributes to update to the resource\n extra_log_info - a Hash with extra info that will be saved to the log\n\n Returns the updated `resource`.", "Truncates a given text respecting its HTML tags.\n\n text - The String text to be truncated.\n options - A Hash with the options to truncate the text (default: {}):\n :length - An Integer number with the max length of the text.\n :separator - A String to append to the text when it's being\n truncated. See `truncato` gem for more options.\n\n Returns a String.", "Generates a link to be added to the global Edit link so admins\n can easily manage data without having to look for it at the admin\n panel when they're at a public page.\n\n link - The String with the URL.\n action - The Symbol action to check the permissions for.\n subject - The Symbol subject to perform the action to.\n extra_context - An optional Hash to check the permissions.\n\n Returns nothing.", "A context used to set the layout and behavior of a participatory space. Full documentation can\n be found looking at the `ParticipatorySpaceContextManifest` class.\n\n Example:\n\n context(:public) do |context|\n context.layout \"layouts/decidim/some_layout\"\n end\n\n context(:public).layout\n # => \"layouts/decidim/some_layout\"\n\n Returns Nothing.", "Returns the creation date in a friendly relative format.", "Search for all Participatory Space manifests and then all records available\n Limited to ParticipatoryProcesses only", "Converts a given array of strings to an array of Objects representing\n locales.\n\n collection - an Array of Strings. By default it uses all the available\n locales in Decidim, but you can passa nother collection of locales (for\n example, the available locales for an organization)", "Initializes the Rack Middleware.\n\n app - The Rack application\n Main entry point for a Rack Middleware.\n\n env - A Hash.", "Destroy a user's account.\n\n user - The user to be updated.\n form - The form with the data.", "Initializes the ActionAuthorizer.\n\n user - The user to authorize against.\n action - The action to authenticate.\n component - The component to authenticate against.\n resource - The resource to authenticate against. Can be nil.\n\n\n Authorize user to perform an action in the context of a component.\n\n Returns:\n :ok an empty hash - When there is no authorization handler related to the action.\n result of authorization handler check - When there is an authorization handler related to the action. Check Decidim::Verifications::DefaultActionAuthorizer class docs.", "Updates a user's account.\n\n user - The user to be updated.\n form - The form with the data.", "Renders a collection of linked resources for a resource.\n\n resource - The resource to get the links from.\n type - The String type fo the resources we want to render.\n link_name - The String name of the link between the resources.\n\n Example to render the proposals in a meeting view:\n\n linked_resources_for(:meeting, :proposals, \"proposals_from_meeting\")\n\n Returns nothing.", "Returns a descriptive title for the resource", "Displays pagination links for the given collection, setting the correct\n theme. This mostly acts as a proxy for the underlying pagination engine.\n\n collection - a collection of elements that need to be paginated\n paginate_params - a Hash with options to delegate to the pagination helper.", "Lazy loads the `participatory_space` association through BatchLoader, can be used\n as a regular object.", "Handles the scope_id filter. When we want to show only those that do not\n have a scope_id set, we cannot pass an empty String or nil because Searchlight\n will automatically filter out these params, so the method will not be used.\n Instead, we need to pass a fake ID and then convert it inside. In this case,\n in order to select those elements that do not have a scope_id set we use\n `\"global\"` as parameter, and in the method we do the needed changes to search\n properly.", "this method is used to generate the root link on mail with the utm_codes\n If the newsletter_id is nil, it returns the root_url", "Outputs an SVG-based icon.\n\n name - The String with the icon name.\n options - The Hash options used to customize the icon (default {}):\n :width - The Number of width in pixels (optional).\n :height - The Number of height in pixels (optional).\n :aria_label - The String to set as aria label (optional).\n :aria_hidden - The Truthy value to enable aria_hidden (optional).\n :role - The String to set as the role (optional).\n :class - The String to add as a CSS class (optional).\n\n Returns a String.", "Outputs a SVG icon from an external file. It apparently renders an image\n tag, but then a JS script kicks in and replaces it with an inlined SVG\n version.\n\n path - The asset's path\n\n Returns an tag with the SVG icon.", "Initializes the class with a polymorphic subject\n\n subject - A in instance of a subclass of ActiveRecord::Base to be tracked\n\n Public: Tracks the past activity of a user to update the continuity badge's\n score. It will set it to the amount of consecutive days a user has logged into\n the system.\n\n date - The date of the last user's activity. Usually `Time.zone.today`.\n\n Returns nothing.", "Sends an email with the invitation instructions to a new user.\n\n user - The User that has been invited.\n token - The String to be sent as a token to verify the invitation.\n opts - A Hash with options to send the email (optional).", "Since we're rendering each activity separatedly we need to trigger\n BatchLoader in order to accumulate all the ids to be found later.", "Returns the defined root path for a given component.\n\n component - the Component we want to find the root path for.\n\n Returns a relative url.", "Returns the defined root url for a given component.\n\n component - the Component we want to find the root path for.\n\n Returns an absolute url.", "Returns the defined admin root path for a given component.\n\n component - the Component we want to find the root path for.\n\n Returns a relative url.", "Renders the human name of the given class name.\n\n klass_name - a String representing the class name of the resource to render\n count - (optional) the number of resources so that the I18n backend\n can decide to translate into singluar or plural form.", "Generates a link to filter the current search by the given type. If no\n type is given, it generates a link to the main results page.\n\n resource_type - An optional String with the name of the model class to filter\n space_state - An optional String with the name of the state of the space", "Generates the path and link to filter by space state, taking into account\n the other filters applied.", "A custom form for that injects client side validations with Abide.\n\n record - The object to build the form for.\n options - A Hash of options to pass to the form builder.\n &block - The block to execute as content of the form.\n\n Returns a String.", "A custom helper to include an editor field without requiring a form object\n\n name - The input name\n value - The input value\n options - The set of options to send to the field\n :label - The Boolean value to create or not the input label (optional) (default: true)\n :toolbar - The String value to configure WYSIWYG toolbar. It should be 'basic' or\n or 'full' (optional) (default: 'basic')\n :lines - The Integer to indicate how many lines should editor have (optional)\n\n Returns a rich editor to be included in an html template.", "A custom helper to include a scope picker field without requiring a form\n object\n\n name - The input name\n value - The input value as a scope id\n options - The set of options to send to the field\n :id - The id to generate for the element (optional)\n\n Returns a scopes picker tag to be included in an html template.", "A custom helper to include a translated field without requiring a form object.\n\n type - The type of the translated input field.\n object_name - The object name used to identify the Foundation tabs.\n name - The name of the input which will be suffixed with the corresponding locales.\n value - A hash containing the value for each locale.\n options - An optional hash of options.\n * enable_tabs: Adds the data-tabs attribute so Foundation picks up automatically.\n * tabs_id: The id to identify the Foundation tabs element.\n * label: The label used for the field.\n\n Returns a Foundation tabs element with the translated input field.", "Helper method to show how slugs will look like. Intended to be used in forms\n together with some JavaScript code. More precisely, this will most probably\n show in help texts in forms. The space slug is surrounded with a `span` so\n the slug can be updated via JavaScript with the input value.\n\n prepend_path - a path to prepend to the slug, without final slash\n value - the initial value of the slug field, so that edit forms have a value\n\n Returns an HTML-safe String.", "Renders the avatar and author name of the author of the last version of the given\n resource.\n\n resource - an object implementing `Decidim::Traceable`\n\n Returns an HTML-safe String representing the HTML to render the author.", "Renders the avatar and author name of the author of the given version.\n\n version - an object that responds to `whodunnit` and returns a String.\n\n Returns an HTML-safe String representing the HTML to render the author.", "Caches a DiffRenderer instance for the `current_version`.", "Renders the given value in a user-friendly way based on the value class.\n\n value - an object to be rendered\n\n Returns an HTML-ready String.", "The title to show at the card.\n\n The card will also be displayed OK if there's no title.", "The description to show at the card.\n\n The card will also be displayed OK if there's no description.", "Renders the Call To Action button. Link and text can be configured\n per organization.", "Finds the CTA button path to reuse it in other places.", "Returns a String with the absolute file_path to be read or generate.", "This method wraps everything in a div with class filters and calls\n the form_for helper with a custom builder\n\n filter - A filter object\n url - A String with the URL to post the from. Self URL by default.\n block - A block to be called with the form builder\n\n Returns the filter resource form wrapped in a div", "Checks if the file is an image based on the content type. We need this so\n we only create different versions of the file when it's an image.\n\n new_file - The uploaded file.\n\n Returns a Boolean.", "Copies the content type and file size to the model where this is mounted.\n\n Returns nothing.", "Wrap the radio buttons collection in a custom fieldset.\n It also renders the inputs inside its labels.", "Wrap the check_boxes collection in a custom fieldset.\n It also renders the inputs inside its labels.", "Catch common beginner mistake and give a helpful error message on stderr", "Loop through all methods for each class and makes special prewarm call to each method.", "The user must at least pass in an SQL statement", "Accounts for inherited class_properties", "Properties managed by Jets with merged with finality.", "only process policy_document once", "1. Convert API Gateway event event to Rack env\n 2. Process using full Rack middleware stack\n 3. Convert back to API gateway response structure payload", "Validate routes that deployable", "resources macro expands to all the routes", "Useful for creating API Gateway Resources", "Useful for RouterMatcher\n\n Precedence:\n 1. Routes with no captures get highest precedence: posts/new\n 2. Then consider the routes with captures: post/:id\n 3. Last consider the routes with wildcards: *catchall\n\n Within these 2 groups we consider the routes with the longest path first\n since posts/:id and posts/:id/edit can both match.", "Show pretty route table for user to help with debugging in non-production mode", "Always the pre-flight headers in this case", "Runs in the child process", "blocks until rack server is up", "Only need to override the add method as the other calls all lead to it.", "Use command's long description as main description", "Use for both jets.gemspec and rake rdoc task", "Written as method to easily not include webpacker for case when either\n webpacker not installed at all or disabled upon `jets deploy`.", "aws sts get-caller-identity", "Checks that all routes are validate and have corresponding lambda functions", "Checks for a few things before deciding to delete the parent stack\n\n * Parent stack status status is ROLLBACK_COMPLETE\n * Parent resources are in the DELETE_COMPLETE state", "Class heirachry in top to down order", "For anonymous classes method_added during task registration contains \"\"\n for the class name. We adjust it here.", "Returns the content of a section.\n\n @return [String] Generate section content", "Parse issue and generate single line formatted issue line.\n\n Example output:\n - Add coveralls integration [\\#223](https://github.com/github-changelog-generator/github-changelog-generator/pull/223) (@github-changelog-generator)\n\n @param [Hash] issue Fetched issue from GitHub\n @return [String] Markdown-formatted single issue", "Encapsulate characters to make Markdown look as expected.\n\n @param [String] string\n @return [String] encapsulated input string", "Async fetching of all tags dates", "Find correct closed dates, if issues was closed by commits", "Adds a key \"first_occurring_tag\" to each PR with a value of the oldest\n tag that a PR's merge commit occurs in in the git history. This should\n indicate the release of each PR by git's history regardless of dates and\n divergent branches.\n\n @param [Array] tags The tags sorted by time, newest to oldest.\n @param [Array] prs The PRs to discover the tags of.\n @return [Nil] No return; PRs are updated in-place.", "Associate merged PRs by the merge SHA contained in each tag. If the\n merge_commit_sha is not found in any tag's history, skip association.\n\n @param [Array] tags The tags sorted by time, newest to oldest.\n @param [Array] prs The PRs to associate.\n @return [Array] PRs without their merge_commit_sha in a tag.", "Set closed date from this issue\n\n @param [Hash] event\n @param [Hash] issue", "Returns the number of pages for a API call\n\n @return [Integer] number of pages for this API call in total", "Fill input array with tags\n\n @return [Array ] array of tags in repo", "Fetch event for all issues and add them to 'events'\n\n @param [Array] issues\n @return [Void]", "Fetch comments for PRs and add them to \"comments\"\n\n @param [Array] prs The array of PRs.\n @return [Void] No return; PRs are updated in-place.", "Fetch tag time from repo\n\n @param [Hash] tag GitHub data item about a Tag\n\n @return [Time] time of specified tag", "Fetch and cache comparison between two github refs\n\n @param [String] older The older sha/tag/branch.\n @param [String] newer The newer sha/tag/branch.\n @return [Hash] Github api response for comparison.", "Fetch commit for specified event\n\n @param [String] commit_id the SHA of a commit to fetch\n @return [Hash]", "Fetch all SHAs occurring in or before a given tag and add them to\n \"shas_in_tag\"\n\n @param [Array] tags The array of tags.\n @return [Nil] No return; tags are updated in-place.", "This is wrapper with rescue block\n\n @return [Object] returns exactly the same, what you put in the block, but wrap it with begin-rescue block", "fetch, filter tags, fetch dates and sort them in time order", "Returns date for given GitHub Tag hash\n\n Memoize the date by tag name.\n\n @param [Hash] tag_name\n\n @return [Time] time of specified tag", "Detect link, name and time for specified tag.\n\n @param [Hash] newer_tag newer tag. Can be nil, if it's Unreleased section.\n @return [Array] link, name and time of the tag", "Parse a single heading and return a Hash\n\n The following heading structures are currently valid:\n - ## [v1.0.2](https://github.com/zanui/chef-thumbor/tree/v1.0.1) (2015-03-24)\n - ## [v1.0.2](https://github.com/zanui/chef-thumbor/tree/v1.0.1)\n - ## v1.0.2 (2015-03-24)\n - ## v1.0.2\n\n @param [String] heading Heading from the ChangeLog File\n @return [Hash] Returns a structured Hash with version, url and date", "Parse the given ChangeLog data into a list of Hashes\n\n @param [String] data File data from the ChangeLog.md\n @return [Array] Parsed data, e.g. [{ 'version' => ..., 'url' => ..., 'date' => ..., 'content' => ...}, ...]", "Add all issues, that should be in that tag, according milestone\n\n @param [Array] all_issues\n @param [String] tag_name\n @return [Array] issues with milestone #tag_name", "General filtered function\n\n @param [Array] all_issues PRs or issues\n @return [Array] filtered issues", "Generates log entry with header and body\n\n @param [Array] pull_requests List or PR's in new section\n @param [Array] issues List of issues in new section\n @param [String] newer_tag_name Name of the newer tag. Could be nil for `Unreleased` section.\n @param [String] newer_tag_link Name of the newer tag. Could be \"HEAD\" for `Unreleased` section.\n @param [Time] newer_tag_time Time of the newer tag\n @param [Hash, nil] older_tag_name Older tag, used for the links. Could be nil for last tag.\n @return [String] Ready and parsed section content.", "Generates header text for an entry.\n\n @param [String] newer_tag_name The name of a newer tag\n @param [String] newer_tag_link Used for URL generation. Could be same as #newer_tag_name or some specific value, like HEAD\n @param [Time] newer_tag_time Time when the newer tag was created\n @param [String] older_tag_name The name of an older tag; used for URLs.\n @param [String] project_url URL for the current project.\n @return [String] Header text content.", "Sorts issues and PRs into entry sections by labels and lack of labels.\n\n @param [Array] pull_requests\n @param [Array] issues\n @return [Nil]", "Iterates through sections and sorts labeled issues into them based on\n the label mapping. Returns any unmapped or unlabeled issues.\n\n @param [Array] issues Issues or pull requests.\n @return [Array] Issues that were not mapped into any sections.", "Returns a the option name as a symbol and its string value sans newlines.\n\n @param line [String] unparsed line from config file\n @return [Array]", "Class, responsible for whole changelog generation cycle\n @return initialised instance of ChangelogGenerator\n The entry point of this script to generate changelog\n @raise (ChangelogGeneratorError) Is thrown when one of specified tags was not found in list of tags.", "Generate log only between 2 specified tags\n @param [String] older_tag all issues before this tag date will be excluded. May be nil, if it's first tag\n @param [String] newer_tag all issue after this tag will be excluded. May be nil for unreleased section", "Filters issues and pull requests based on, respectively, `actual_date`\n and `merged_at` timestamp fields. `actual_date` is the detected form of\n `closed_at` based on merge event SHA commit times.\n\n @return [Array] filtered issues and pull requests", "The full cycle of generation for whole project\n @return [String] All entries in the changelog", "Serialize the most relevant settings into a Hash\n\n @return [::Hash]\n\n @since 0.1.0\n @api private", "The root of the application\n\n By default it returns the current directory, for this reason, **all the\n commands must be executed from the top level directory of the project**.\n\n If for some reason, that constraint above cannot be satisfied, please\n configure the root directory, so that commands can be executed from\n everywhere.\n\n This is part of a DSL, for this reason when this method is called with\n an argument, it will set the corresponding instance variable. When\n called without, it will return the already set value, or the default.\n\n @overload root(value)\n Sets the given value\n @param value [String,Pathname,#to_pathname] The root directory of the app\n\n @overload root\n Gets the value\n @return [Pathname]\n @raise [Errno::ENOENT] if the path cannot be found\n\n @since 0.1.0\n\n @see http://www.ruby-doc.org/core/Dir.html#method-c-pwd\n\n @example Getting the value\n require 'hanami'\n\n module Bookshelf\n class Application < Hanami::Application\n end\n end\n\n Bookshelf::Application.configuration.root # => #\n\n @example Setting the value\n require 'hanami'\n\n module Bookshelf\n class Application < Hanami::Application\n configure do\n root '/path/to/another/root'\n end\n end\n end", "Application routes.\n\n Specify a set of routes for the application, by passing a block, or a\n relative path where to find the file that describes them.\n\n By default it's `nil`.\n\n This is part of a DSL, for this reason when this method is called with\n an argument, it will set the corresponding instance variable. When\n called without, it will return the already set value, or the default.\n\n @overload routes(blk)\n Specify a set of routes in the given block\n @param blk [Proc] the routes definitions\n\n @overload routes(path)\n Specify a relative path where to find the routes file\n @param path [String] the relative path\n\n @overload routes\n Gets the value\n @return [Hanami::Config::Routes] the set of routes\n\n @since 0.1.0\n\n @see http://rdoc.info/gems/hanami-router/Hanami/Router\n\n @example Getting the value\n require 'hanami'\n\n module Bookshelf\n class Application < Hanami::Application\n end\n end\n\n Bookshelf::Application.configuration.routes\n # => nil\n\n @example Setting the value, by passing a block\n require 'hanami'\n\n module Bookshelf\n class Application < Hanami::Application\n configure do\n routes do\n get '/', to: 'dashboard#index'\n resources :books\n end\n end\n end\n end\n\n Bookshelf::Application.configuration.routes\n # => #, @path=#>\n\n @example Setting the value, by passing a relative path\n require 'hanami'\n\n module Bookshelf\n class Application < Hanami::Application\n configure do\n routes 'config/routes'\n end\n end\n end\n\n Bookshelf::Application.configuration.routes\n # => #>", "The URI port for this application.\n This is used by the router helpers to generate absolute URLs.\n\n By default this value is `2300`.\n\n This is part of a DSL, for this reason when this method is called with\n an argument, it will set the corresponding instance variable. When\n called without, it will return the already set value, or the default.\n\n @overload port(value)\n Sets the given value\n @param value [#to_int] the URI port\n @raise [TypeError] if the given value cannot be coerced to Integer\n\n @overload scheme\n Gets the value\n @return [String]\n\n @since 0.1.0\n\n @see http://en.wikipedia.org/wiki/URI_scheme\n\n @example Getting the value\n require 'hanami'\n\n module Bookshelf\n class Application < Hanami::Application\n end\n end\n\n Bookshelf::Application.configuration.port # => 2300\n\n @example Setting the value\n require 'hanami'\n\n module Bookshelf\n class Application < Hanami::Application\n configure do\n port 8080\n end\n end\n end\n\n Bookshelf::Application.configuration.port # => 8080", "Loads a dotenv file and updates self\n\n @param path [String, Pathname] the path to the dotenv file\n\n @return void\n\n @since 0.9.0\n @api private", "Default values for writing the hanamirc file\n\n @since 0.5.1\n @api private\n\n @see Hanami::Hanamirc#options", "Read hanamirc file and parse it's values\n\n @since 0.8.0\n @api private\n\n @return [Hash] hanamirc parsed values", "Instantiate a middleware stack\n\n @param configuration [Hanami::ApplicationConfiguration] the application's configuration\n\n @return [Hanami::MiddlewareStack] the new stack\n\n @since 0.1.0\n @api private\n\n @see Hanami::ApplicationConfiguration\n Load the middleware stack\n\n @return [Hanami::MiddlewareStack] the loaded middleware stack\n\n @since 0.2.0\n @api private\n\n @see http://rdoc.info/gems/rack/Rack/Builder", "Append a middleware to the stack.\n\n @param middleware [Object] a Rack middleware\n @param args [Array] optional arguments to pass to the Rack middleware\n @param blk [Proc] an optional block to pass to the Rack middleware\n\n @return [Array] the middleware that was added\n\n @since 0.2.0\n\n @see Hanami::MiddlewareStack#prepend\n\n @example\n # apps/web/application.rb\n module Web\n class Application < Hanami::Application\n configure do\n # ...\n use MyRackMiddleware, foo: 'bar'\n end\n end\n end", "Prepend a middleware to the stack.\n\n @param middleware [Object] a Rack middleware\n @param args [Array] optional arguments to pass to the Rack middleware\n @param blk [Proc] an optional block to pass to the Rack middleware\n\n @return [Array] the middleware that was added\n\n @since 0.6.0\n\n @see Hanami::MiddlewareStack#use\n\n @example\n # apps/web/application.rb\n module Web\n class Application < Hanami::Application\n configure do\n # ...\n prepend MyRackMiddleware, foo: 'bar'\n end\n end\n end", "Initialize the factory\n\n @param routes [Hanami::Router] a routes set\n\n @return [Hanami::Routes] the factory\n\n @since 0.1.0\n @api private\n Return a relative path for the given route name\n\n @param name [Symbol] the route name\n @param args [Array,nil] an optional set of arguments that is passed down\n to the wrapped route set.\n\n @return [Hanami::Utils::Escape::SafeString] the corresponding relative URL\n\n @raise Hanami::Routing::InvalidRouteException\n\n @since 0.1.0\n\n @see http://rdoc.info/gems/hanami-router/Hanami/Router#path-instance_method\n\n @example Basic example\n require 'hanami'\n\n module Web\n class Application < Hanami::Application\n configure do\n routes do\n get '/login', to: 'sessions#new', as: :login\n end\n end\n end\n end\n\n Web.routes.path(:login)\n # => '/login'\n\n Web.routes.path(:login, return_to: '/dashboard')\n # => '/login?return_to=%2Fdashboard'\n\n @example Dynamic finders\n require 'hanami'\n\n module Web\n class Application < Hanami::Application\n configure do\n routes do\n get '/login', to: 'sessions#new', as: :login\n end\n end\n end\n end\n\n Web.routes.login_path\n # => '/login'\n\n Web.routes.login_path(return_to: '/dashboard')\n # => '/login?return_to=%2Fdashboard'", "Return an absolute path for the given route name\n\n @param name [Symbol] the route name\n @param args [Array,nil] an optional set of arguments that is passed down\n to the wrapped route set.\n\n @return [Hanami::Utils::Escape::SafeString] the corresponding absolute URL\n\n @raise Hanami::Routing::InvalidRouteException\n\n @since 0.1.0\n\n @see http://rdoc.info/gems/hanami-router/Hanami/Router#url-instance_method\n\n @example Basic example\n require 'hanami'\n\n module Web\n class Application < Hanami::Application\n configure do\n routes do\n scheme 'https'\n host 'bookshelf.org'\n\n get '/login', to: 'sessions#new', as: :login\n end\n end\n end\n end\n\n Web.routes.url(:login)\n # => 'https://bookshelf.org/login'\n\n Web.routes.url(:login, return_to: '/dashboard')\n # => 'https://bookshelf.org/login?return_to=%2Fdashboard'\n\n @example Dynamic finders\n require 'hanami'\n\n module Web\n class Application < Hanami::Application\n configure do\n routes do\n scheme 'https'\n host 'bookshelf.org'\n\n get '/login', to: 'sessions#new', as: :login\n end\n end\n end\n end\n\n Web.routes.login_url\n # => 'https://bookshelf.org/login'\n\n Web.routes.login_url(return_to: '/dashboard')\n # => 'https://bookshelf.org/login?return_to=%2Fdashboard'", "Returns true if the service exists, false otherwise.\n\n @param [String] service_name name of the service", "Start a windows service\n\n @param [String] service_name name of the service to start\n @param optional [Integer] timeout the minumum number of seconds to wait before timing out", "Stop a windows service\n\n @param [String] service_name name of the service to stop\n @param optional [Integer] timeout the minumum number of seconds to wait before timing out", "Resume a paused windows service\n\n @param [String] service_name name of the service to resume\n @param optional [Integer] :timeout the minumum number of seconds to wait before timing out", "Query the state of a service using QueryServiceStatusEx\n\n @param [string] service_name name of the service to query\n @return [string] the status of the service", "Query the configuration of a service using QueryServiceConfigW\n\n @param [String] service_name name of the service to query\n @return [QUERY_SERVICE_CONFIGW.struct] the configuration of the service", "Change the startup mode of a windows service\n\n @param [string] service_name the name of the service to modify\n @param [Int] startup_type a code corresponding to a start type for\n windows service, see the \"Service start type codes\" section in the\n Puppet::Util::Windows::Service file for the list of available codes", "enumerate over all services in all states and return them as a hash\n\n @return [Hash] a hash containing services:\n { 'service name' => {\n 'display_name' => 'display name',\n 'service_status_process' => SERVICE_STATUS_PROCESS struct\n }\n }", "generate all the subdirectories, modules, classes and files", "generate a top index", "generate the all classes index file and the combo index", "returns the initial_page url", "return the relative file name to store this class in,\n which is also its url", "Checks whether all feature predicate methods are available.\n @param obj [Object, Class] the object or class to check if feature predicates are available or not.\n @return [Boolean] Returns whether all of the required methods are available or not in the given object.", "Merges the current set of metadata with another metadata hash. This\n method also handles the validation of module names and versions, in an\n effort to be proactive about module publishing constraints.", "Validates the name and version_requirement for a dependency, then creates\n the Dependency and adds it.\n Returns the Dependency that was added.", "Do basic validation and parsing of the name parameter.", "Do basic parsing of the source parameter. If the source is hosted on\n GitHub, we can predict sensible defaults for both project_page and\n issues_url.", "Validates and parses the dependencies.", "Validates that the given module name is both namespaced and well-formed.", "Validates that the version string can be parsed as per SemVer.", "Validates that the given _value_ is a symbolic name that starts with a letter\n and then contains only letters, digits, or underscore. Will raise an ArgumentError\n if that's not the case.\n\n @param value [Object] The value to be tested", "Validates that the version range can be parsed by Semantic.", "force regular ACLs to be present", "Common helper for set_userflags and unset_userflags.\n\n @api private", "Iterate through the list of records for this service\n and yield each server and port pair. Records are only fetched\n via DNS query the first time and cached for the duration of their\n service's TTL thereafter.\n @param [String] domain the domain to search for\n @param [Symbol] service_name the key of the service we are querying\n @yields [String, Integer] server and port of selected record", "Given a list of records of the same priority, chooses a random one\n from among them, favoring those with higher weights.\n @param [[Resolv::DNS::Resource::IN::SRV]] records a list of records\n of the same priority\n @return [Resolv::DNS::Resource::IN:SRV] the chosen record", "Checks if the cached entry for the given service has expired.\n @param [String] service_name the name of the service to check\n @return [Boolean] true if the entry has expired, false otherwise.\n Always returns true if the record had no TTL.", "Removes all environment variables\n @param mode [Symbol] Which operating system mode to use e.g. :posix or :windows. Use nil to autodetect\n @api private", "Resolve a path for an executable to the absolute path. This tries to behave\n in the same manner as the unix `which` command and uses the `PATH`\n environment variable.\n\n @api public\n @param bin [String] the name of the executable to find.\n @return [String] the absolute path to the found executable.", "Convert a path to a file URI", "Get the path component of a URI", "Executes a block of code, wrapped with some special exception handling. Causes the ruby interpreter to\n exit if the block throws an exception.\n\n @api public\n @param [String] message a message to log if the block fails\n @param [Integer] code the exit code that the ruby interpreter should return if the block fails\n @yield", "Converts 4x supported values to a 3x values.\n\n @param args [Array] Array of values to convert\n @param scope [Puppet::Parser::Scope] The scope to use when converting\n @param undef_value [Object] The value that nil is converted to\n @return [Array] The converted values", "Removes an attribute from the object; useful in testing or in cleanup\n when an error has been encountered\n @todo Don't know what the attr is (name or Property/Parameter?). Guessing it is a String name...\n @todo Is it possible to delete a meta-parameter?\n @todo What does delete mean? Is it deleted from the type or is its value state 'is'/'should' deleted?\n @param attr [String] the attribute to delete from this object. WHAT IS THE TYPE?\n @raise [Puppet::DecError] when an attempt is made to delete an attribute that does not exists.", "Returns true if the instance is a managed instance.\n A 'yes' here means that the instance was created from the language, vs. being created\n in order resolve other questions, such as finding a package in a list.\n @note An object that is managed always stays managed, but an object that is not managed\n may become managed later in its lifecycle.\n @return [Boolean] true if the object is managed", "Retrieves the current value of all contained properties.\n Parameters and meta-parameters are not included in the result.\n @todo As opposed to all non contained properties? How is this different than any of the other\n methods that also \"gets\" properties/parameters/etc. ?\n @return [Puppet::Resource] array of all property values (mix of types)\n @raise [fail???] if there is a provider and it is not suitable for the host this is evaluated for.", "Builds the dependencies associated with this resource.\n\n @return [Array] list of relationships to other resources", "Mark parameters associated with this type as sensitive, based on the associated resource.\n\n Currently, only instances of `Puppet::Property` can be easily marked for sensitive data handling\n and information redaction is limited to redacting events generated while synchronizing\n properties. While support for redaction will be broadened in the future we can't automatically\n deduce how to redact arbitrary parameters, so if a parameter is marked for redaction the best\n we can do is warn that we can't handle treating that parameter as sensitive and move on.\n\n In some unusual cases a given parameter will be marked as sensitive but that sensitive context\n needs to be transferred to another parameter. In this case resource types may need to override\n this method in order to copy the sensitive context from one parameter to another (and in the\n process force the early generation of a parameter that might otherwise be lazily generated.)\n See `Puppet::Type.type(:file)#set_sensitive_parameters` for an example of this.\n\n @note This method visibility is protected since it should only be called by #initialize, but is\n marked as public as subclasses may need to override this method.\n\n @api public\n\n @param sensitive_parameters [Array] A list of parameters to mark as sensitive.\n\n @return [void]", "Finishes any outstanding processing.\n This method should be called as a final step in setup,\n to allow the parameters that have associated auto-require needs to be processed.\n\n @todo what is the expected sequence here - who is responsible for calling this? When?\n Is the returned type correct?\n @return [Array] the validated list/set of attributes", "Create an anonymous environment.\n\n @param module_path [String] A list of module directories separated by the\n PATH_SEPARATOR\n @param manifest [String] The path to the manifest\n @return A new environment with the `name` `:anonymous`\n\n @api private", "Returns a basic environment configuration object tied to the environment's\n implementation values. Will not interpolate.\n\n @!macro loader_get_conf", "Adds a cache entry to the cache", "Clears all environments that have expired, either by exceeding their time to live, or\n through an explicit eviction determined by the cache expiration service.", "Creates a suitable cache entry given the time to live for one environment", "Evicts the entry if it has expired\n Also clears caches in Settings that may prevent the entry from being updated", "Return checksums for object's +Pathname+, generate if it's needed.\n Result is a hash of path strings to checksum strings.", "Create a Route containing information for querying the given API,\n hosted at a server determined either by SRV service or by the\n fallback server on the fallback port.\n @param [String] api the path leading to the root of the API. Must\n contain a trailing slash for proper endpoint path\n construction\n @param [Symbol] server_setting the setting to check for special\n server configuration\n @param [Symbol] port_setting the setting to check for speical\n port configuration\n @param [Symbol] srv_service the name of the service when using SRV\n records\n Select a server and port to create a base URL for the API specified by this\n route. If the connection fails and SRV records are in use, the next suitable\n server will be tried. If SRV records are not in use or no successful connection\n could be made, fall back to the configured server and port for this API, taking\n into account failover settings.\n @parma [Puppet::Network::Resolver] dns_resolver the DNS resolver to use to check\n SRV records\n @yield [URI] supply a base URL to make a request with\n @raise [Puppet::Error] if connection to selected server and port fails, and SRV\n records are not in use", "Execute the application.\n @api public\n @return [void]", "Output basic information about the runtime environment for debugging\n purposes.\n\n @api public\n\n @param extra_info [Hash{String => #to_s}] a flat hash of extra information\n to log. Intended to be passed to super by subclasses.\n @return [void]", "Defines a repeated positional parameter with _type_ and _name_ that may occur 1 to \"infinite\" number of times.\n It may only appear last or just before a block parameter.\n\n @param type [String] The type specification for the parameter.\n @param name [Symbol] The name of the parameter. This is primarily used\n for error message output and does not have to match an implementation\n method parameter.\n @return [Void]\n\n @api public", "Defines one required block parameter that may appear last. If type and name is missing the\n default type is \"Callable\", and the name is \"block\". If only one\n parameter is given, then that is the name and the type is \"Callable\".\n\n @api public", "Defines a local type alias, the given string should be a Puppet Language type alias expression\n in string form without the leading 'type' keyword.\n Calls to local_type must be made before the first parameter definition or an error will\n be raised.\n\n @param assignment_string [String] a string on the form 'AliasType = ExistingType'\n @api public", "Merges the result of yielding the given _lookup_variants_ to a given block.\n\n @param lookup_variants [Array] The variants to pass as second argument to the given block\n @return [Object] the merged value.\n @yield [} ]\n @yieldparam variant [Object] each variant given in the _lookup_variants_ array.\n @yieldreturn [Object] the value to merge with other values\n @throws :no_such_key if the lookup was unsuccessful\n\n Merges the result of yielding the given _lookup_variants_ to a given block.\n\n @param lookup_variants [Array] The variants to pass as second argument to the given block\n @return [Object] the merged value.\n @yield [} ]\n @yieldparam variant [Object] each variant given in the _lookup_variants_ array.\n @yieldreturn [Object] the value to merge with other values\n @throws :no_such_key if the lookup was unsuccessful", "return an uncompressed body if the response has been\n compressed", "Define a new right to which access can be provided.", "Is a given combination of name and ip address allowed? If either input\n is non-nil, then both inputs must be provided. If neither input\n is provided, then the authstore is considered local and defaults to \"true\".", "Returns a Type instance by name.\n This will load the type if not already defined.\n @param [String, Symbol] name of the wanted Type\n @return [Puppet::Type, nil] the type or nil if the type was not defined and could not be loaded", "Lookup a loader by its unique name.\n\n @param [String] loader_name the name of the loader to lookup\n @return [Loader] the found loader\n @raise [Puppet::ParserError] if no loader is found", "Finds the appropriate loader for the given `module_name`, or for the environment in case `module_name`\n is `nil` or empty.\n\n @param module_name [String,nil] the name of the module\n @return [Loader::Loader] the found loader\n @raise [Puppet::ParseError] if no loader can be found\n @api private", "Load the main manifest for the given environment\n\n There are two sources that can be used for the initial parse:\n\n 1. The value of `Puppet[:code]`: Puppet can take a string from\n its settings and parse that as a manifest. This is used by various\n Puppet applications to read in a manifest and pass it to the\n environment as a side effect. This is attempted first.\n 2. The contents of the environment's +manifest+ attribute: Puppet will\n try to load the environment manifest. The manifest must be a file.\n\n @return [Model::Program] The manifest parsed into a model object", "Add 4.x definitions found in the given program to the given loader.", "Add given 4.x definition to the given loader.", "Set the entry 'key=value'. If no entry with the\n given key exists, one is appended to the end of the section", "Format the section as text in the way it should be\n written to file", "Read and parse the on-disk file associated with this object", "Create a new section and store it in the file contents\n\n @api private\n @param name [String] The name of the section to create\n @return [Puppet::Util::IniConfig::Section]", "May be called with 3 arguments for message, file, line, and exception, or\n 4 args including the position on the line.", "Handles the Retry-After header of a HTTPResponse\n\n This method checks the response for a Retry-After header and handles\n it by sleeping for the indicated number of seconds. The response is\n returned unmodified if no Retry-After header is present.\n\n @param response [Net::HTTPResponse] A response received from the\n HTTP client.\n\n @return [nil] Sleeps and returns nil if the response contained a\n Retry-After header that indicated the request should be retried.\n @return [Net::HTTPResponse] Returns the `response` unmodified if\n no Retry-After header was present or the Retry-After header could\n not be parsed as an integer or RFC 2822 date.", "Parse the value of a Retry-After header\n\n Parses a string containing an Integer or RFC 2822 datestamp and returns\n an integer number of seconds before a request can be retried.\n\n @param header_value [String] The value of the Retry-After header.\n\n @return [Integer] Number of seconds to wait before retrying the\n request. Will be equal to 0 for the case of date that has already\n passed.\n @return [nil] Returns `nil` when the `header_value` can't be\n parsed as an Integer or RFC 2822 date.", "Retrieve a set of values from a registry key given their names\n Value names listed but not found in the registry will not be added to the\n resultant Hashtable\n\n @param key [RegistryKey] An open handle to a Registry Key\n @param names [String[]] An array of names of registry values to return if they exist\n @return [Hashtable] A hashtable of all of the found values in the registry key", "Customize this so we can do a bit of validation.", "Convert a record into a line by joining the fields together appropriately.\n This is pulled into a separate method so it can be called by the hooks.", "Assign the topic partitions to the group members.\n\n @param members [Array] member ids\n @param topics [Array] topics\n @return [Hash] a hash mapping member\n ids to assignments.", "Clears buffered messages for the given topic and partition.\n\n @param topic [String] the name of the topic.\n @param partition [Integer] the partition id.\n\n @return [nil]", "Initializes a new Kafka client.\n\n @param seed_brokers [Array, String] the list of brokers used to initialize\n the client. Either an Array of connections, or a comma separated string of connections.\n A connection can either be a string of \"host:port\" or a full URI with a scheme.\n If there's a scheme it's ignored and only host/port are used.\n\n @param client_id [String] the identifier for this application.\n\n @param logger [Logger] the logger that should be used by the client.\n\n @param connect_timeout [Integer, nil] the timeout setting for connecting\n to brokers. See {BrokerPool#initialize}.\n\n @param socket_timeout [Integer, nil] the timeout setting for socket\n connections. See {BrokerPool#initialize}.\n\n @param ssl_ca_cert [String, Array, nil] a PEM encoded CA cert, or an Array of\n PEM encoded CA certs, to use with an SSL connection.\n\n @param ssl_ca_cert_file_path [String, nil] a path on the filesystem to a PEM encoded CA cert\n to use with an SSL connection.\n\n @param ssl_client_cert [String, nil] a PEM encoded client cert to use with an\n SSL connection. Must be used in combination with ssl_client_cert_key.\n\n @param ssl_client_cert_key [String, nil] a PEM encoded client cert key to use with an\n SSL connection. Must be used in combination with ssl_client_cert.\n\n @param ssl_client_cert_key_password [String, nil] the password required to read the\n ssl_client_cert_key. Must be used in combination with ssl_client_cert_key.\n\n @param sasl_gssapi_principal [String, nil] a KRB5 principal\n\n @param sasl_gssapi_keytab [String, nil] a KRB5 keytab filepath\n\n @param sasl_scram_username [String, nil] SCRAM username\n\n @param sasl_scram_password [String, nil] SCRAM password\n\n @param sasl_scram_mechanism [String, nil] Scram mechanism, either \"sha256\" or \"sha512\"\n\n @param sasl_over_ssl [Boolean] whether to enforce SSL with SASL\n\n @param sasl_oauth_token_provider [Object, nil] OAuthBearer Token Provider instance that\n implements method token. See {Sasl::OAuth#initialize}\n\n @return [Client]\n Delivers a single message to the Kafka cluster.\n\n **Note:** Only use this API for low-throughput scenarios. If you want to deliver\n many messages at a high rate, or if you want to configure the way messages are\n sent, use the {#producer} or {#async_producer} APIs instead.\n\n @param value [String, nil] the message value.\n @param key [String, nil] the message key.\n @param headers [Hash] the headers for the message.\n @param topic [String] the topic that the message should be written to.\n @param partition [Integer, nil] the partition that the message should be written\n to, or `nil` if either `partition_key` is passed or the partition should be\n chosen at random.\n @param partition_key [String] a value used to deterministically choose a\n partition to write to.\n @param retries [Integer] the number of times to retry the delivery before giving\n up.\n @return [nil]", "Initializes a new Kafka producer.\n\n @param ack_timeout [Integer] The number of seconds a broker can wait for\n replicas to acknowledge a write before responding with a timeout.\n\n @param required_acks [Integer, Symbol] The number of replicas that must acknowledge\n a write, or `:all` if all in-sync replicas must acknowledge.\n\n @param max_retries [Integer] the number of retries that should be attempted\n before giving up sending messages to the cluster. Does not include the\n original attempt.\n\n @param retry_backoff [Integer] the number of seconds to wait between retries.\n\n @param max_buffer_size [Integer] the number of messages allowed in the buffer\n before new writes will raise {BufferOverflow} exceptions.\n\n @param max_buffer_bytesize [Integer] the maximum size of the buffer in bytes.\n attempting to produce messages when the buffer reaches this size will\n result in {BufferOverflow} being raised.\n\n @param compression_codec [Symbol, nil] the name of the compression codec to\n use, or nil if no compression should be performed. Valid codecs: `:snappy`,\n `:gzip`, `:lz4`, `:zstd`\n\n @param compression_threshold [Integer] the number of messages that needs to\n be in a message set before it should be compressed. Note that message sets\n are per-partition rather than per-topic or per-producer.\n\n @return [Kafka::Producer] the Kafka producer.", "Creates a new AsyncProducer instance.\n\n All parameters allowed by {#producer} can be passed. In addition to this,\n a few extra parameters can be passed when creating an async producer.\n\n @param max_queue_size [Integer] the maximum number of messages allowed in\n the queue.\n @param delivery_threshold [Integer] if greater than zero, the number of\n buffered messages that will automatically trigger a delivery.\n @param delivery_interval [Integer] if greater than zero, the number of\n seconds between automatic message deliveries.\n\n @see AsyncProducer\n @return [AsyncProducer]", "Creates a new Kafka consumer.\n\n @param group_id [String] the id of the group that the consumer should join.\n @param session_timeout [Integer] the number of seconds after which, if a client\n hasn't contacted the Kafka cluster, it will be kicked out of the group.\n @param offset_commit_interval [Integer] the interval between offset commits,\n in seconds.\n @param offset_commit_threshold [Integer] the number of messages that can be\n processed before their offsets are committed. If zero, offset commits are\n not triggered by message processing.\n @param heartbeat_interval [Integer] the interval between heartbeats; must be less\n than the session window.\n @param offset_retention_time [Integer] the time period that committed\n offsets will be retained, in seconds. Defaults to the broker setting.\n @param fetcher_max_queue_size [Integer] max number of items in the fetch queue that\n are stored for further processing. Note, that each item in the queue represents a\n response from a single broker.\n @return [Consumer]", "Fetches a batch of messages from a single partition. Note that it's possible\n to get back empty batches.\n\n The starting point for the fetch can be configured with the `:offset` argument.\n If you pass a number, the fetch will start at that offset. However, there are\n two special Symbol values that can be passed instead:\n\n * `:earliest` \u2014 the first offset in the partition.\n * `:latest` \u2014 the next offset that will be written to, effectively making the\n call block until there is a new message in the partition.\n\n The Kafka protocol specifies the numeric values of these two options: -2 and -1,\n respectively. You can also pass in these numbers directly.\n\n ## Example\n\n When enumerating the messages in a partition, you typically fetch batches\n sequentially.\n\n offset = :earliest\n\n loop do\n messages = kafka.fetch_messages(\n topic: \"my-topic\",\n partition: 42,\n offset: offset,\n )\n\n messages.each do |message|\n puts message.offset, message.key, message.value\n\n # Set the next offset that should be read to be the subsequent\n # offset.\n offset = message.offset + 1\n end\n end\n\n See a working example in `examples/simple-consumer.rb`.\n\n @param topic [String] the topic that messages should be fetched from.\n\n @param partition [Integer] the partition that messages should be fetched from.\n\n @param offset [Integer, Symbol] the offset to start reading from. Default is\n the latest offset.\n\n @param max_wait_time [Integer] the maximum amount of time to wait before\n the server responds, in seconds.\n\n @param min_bytes [Integer] the minimum number of bytes to wait for. If set to\n zero, the broker will respond immediately, but the response may be empty.\n The default is 1 byte, which means that the broker will respond as soon as\n a message is written to the partition.\n\n @param max_bytes [Integer] the maximum number of bytes to include in the\n response message set. Default is 1 MB. You need to set this higher if you\n expect messages to be larger than this.\n\n @return [Array] the messages returned from the broker.", "Enumerate all messages in a topic.\n\n @param topic [String] the topic to consume messages from.\n\n @param start_from_beginning [Boolean] whether to start from the beginning\n of the topic or just subscribe to new messages being produced.\n\n @param max_wait_time [Integer] the maximum amount of time to wait before\n the server responds, in seconds.\n\n @param min_bytes [Integer] the minimum number of bytes to wait for. If set to\n zero, the broker will respond immediately, but the response may be empty.\n The default is 1 byte, which means that the broker will respond as soon as\n a message is written to the partition.\n\n @param max_bytes [Integer] the maximum number of bytes to include in the\n response message set. Default is 1 MB. You need to set this higher if you\n expect messages to be larger than this.\n\n @return [nil]", "Creates a topic in the cluster.\n\n @example Creating a topic with log compaction\n # Enable log compaction:\n config = { \"cleanup.policy\" => \"compact\" }\n\n # Create the topic:\n kafka.create_topic(\"dns-mappings\", config: config)\n\n @param name [String] the name of the topic.\n @param num_partitions [Integer] the number of partitions that should be created\n in the topic.\n @param replication_factor [Integer] the replication factor of the topic.\n @param timeout [Integer] a duration of time to wait for the topic to be\n completely created.\n @param config [Hash] topic configuration entries. See\n [the Kafka documentation](https://kafka.apache.org/documentation/#topicconfigs)\n for more information.\n @raise [Kafka::TopicAlreadyExists] if the topic already exists.\n @return [nil]", "Create partitions for a topic.\n\n @param name [String] the name of the topic.\n @param num_partitions [Integer] the number of desired partitions for\n the topic\n @param timeout [Integer] a duration of time to wait for the new\n partitions to be added.\n @return [nil]", "Retrieve the offset of the last message in each partition of the specified topics.\n\n @param topics [Array] topic names.\n @return [Hash>]\n @example\n last_offsets_for('topic-1', 'topic-2') # =>\n # {\n # 'topic-1' => { 0 => 100, 1 => 100 },\n # 'topic-2' => { 0 => 100, 1 => 100 }\n # }", "Initializes a Cluster with a set of seed brokers.\n\n The cluster will try to fetch cluster metadata from one of the brokers.\n\n @param seed_brokers [Array]\n @param broker_pool [Kafka::BrokerPool]\n @param logger [Logger]\n Adds a list of topics to the target list. Only the topics on this list will\n be queried for metadata.\n\n @param topics [Array]\n @return [nil]", "Finds the broker acting as the coordinator of the given transaction.\n\n @param transactional_id: [String]\n @return [Broker] the broker that's currently coordinator.", "Lists all topics in the cluster.", "Fetches the cluster metadata.\n\n This is used to update the partition leadership information, among other things.\n The methods will go through each node listed in `seed_brokers`, connecting to the\n first one that is available. This node will be queried for the cluster metadata.\n\n @raise [ConnectionError] if none of the nodes in `seed_brokers` are available.\n @return [Protocol::MetadataResponse] the cluster metadata.", "Initializes a new AsyncProducer.\n\n @param sync_producer [Kafka::Producer] the synchronous producer that should\n be used in the background.\n @param max_queue_size [Integer] the maximum number of messages allowed in\n the queue.\n @param delivery_threshold [Integer] if greater than zero, the number of\n buffered messages that will automatically trigger a delivery.\n @param delivery_interval [Integer] if greater than zero, the number of\n seconds between automatic message deliveries.\n\n Produces a message to the specified topic.\n\n @see Kafka::Producer#produce\n @param (see Kafka::Producer#produce)\n @raise [BufferOverflow] if the message queue is full.\n @return [nil]", "Writes bytes to the socket, possible with a timeout.\n\n @param bytes [String] the data that should be written to the socket.\n @raise [Errno::ETIMEDOUT] if the timeout is exceeded.\n @return [Integer] the number of bytes written.", "Subscribes the consumer to a topic.\n\n Typically you either want to start reading messages from the very\n beginning of the topic's partitions or you simply want to wait for new\n messages to be written. In the former case, set `start_from_beginning`\n to true (the default); in the latter, set it to false.\n\n @param topic_or_regex [String, Regexp] subscribe to single topic with a string\n or multiple topics matching a regex.\n @param default_offset [Symbol] whether to start from the beginning or the\n end of the topic's partitions. Deprecated.\n @param start_from_beginning [Boolean] whether to start from the beginning\n of the topic or just subscribe to new messages being produced. This\n only applies when first consuming a topic partition \u2013 once the consumer\n has checkpointed its progress, it will always resume from the last\n checkpoint.\n @param max_bytes_per_partition [Integer] the maximum amount of data fetched\n from a single partition at a time.\n @return [nil]", "Pause processing of a specific topic partition.\n\n When a specific message causes the processor code to fail, it can be a good\n idea to simply pause the partition until the error can be resolved, allowing\n the rest of the partitions to continue being processed.\n\n If the `timeout` argument is passed, the partition will automatically be\n resumed when the timeout expires. If `exponential_backoff` is enabled, each\n subsequent pause will cause the timeout to double until a message from the\n partition has been successfully processed.\n\n @param topic [String]\n @param partition [Integer]\n @param timeout [nil, Integer] the number of seconds to pause the partition for,\n or `nil` if the partition should not be automatically resumed.\n @param max_timeout [nil, Integer] the maximum number of seconds to pause for,\n or `nil` if no maximum should be enforced.\n @param exponential_backoff [Boolean] whether to enable exponential backoff.\n @return [nil]", "Resume processing of a topic partition.\n\n @see #pause\n @param topic [String]\n @param partition [Integer]\n @return [nil]", "Whether the topic partition is currently paused.\n\n @see #pause\n @param topic [String]\n @param partition [Integer]\n @return [Boolean] true if the partition is paused, false otherwise.", "Move the consumer's position in the partition back to the configured default\n offset, either the first or latest in the partition.\n\n @param topic [String] the name of the topic.\n @param partition [Integer] the partition number.\n @return [nil]", "Move the consumer's position in the partition to the specified offset.\n\n @param topic [String] the name of the topic.\n @param partition [Integer] the partition number.\n @param offset [Integer] the offset that the consumer position should be moved to.\n @return [nil]", "Return the next offset that should be fetched for the specified partition.\n\n @param topic [String] the name of the topic.\n @param partition [Integer] the partition number.\n @return [Integer] the next offset that should be fetched.", "Commit offsets of messages that have been marked as processed.\n\n If `recommit` is set to true, we will also commit the existing positions\n even if no messages have been processed on a partition. This is done\n in order to avoid the offset information expiring in cases where messages\n are very rare -- it's essentially a keep-alive.\n\n @param recommit [Boolean] whether to recommit offsets that have already been\n committed.\n @return [nil]", "Clear stored offset information for all partitions except those specified\n in `excluded`.\n\n offset_manager.clear_offsets_excluding(\"my-topic\" => [1, 2, 3])\n\n @return [nil]", "Sends a request over the connection.\n\n @param request [#encode, #response_class] the request that should be\n encoded and written.\n\n @return [Object] the response.", "Writes a request over the connection.\n\n @param request [#encode] the request that should be encoded and written.\n\n @return [nil]", "Reads a response from the connection.\n\n @param response_class [#decode] an object that can decode the response from\n a given Decoder.\n\n @return [nil]", "Sends all buffered messages to the Kafka brokers.\n\n Depending on the value of `required_acks` used when initializing the producer,\n this call may block until the specified number of replicas have acknowledged\n the writes. The `ack_timeout` setting places an upper bound on the amount of\n time the call will block before failing.\n\n @raise [DeliveryFailed] if not all messages could be successfully sent.\n @return [nil]", "Sends batch last offset to the consumer group coordinator, and also marks\n this offset as part of the current transaction. This offset will be considered\n committed only if the transaction is committed successfully.\n\n This method should be used when you need to batch consumed and produced messages\n together, typically in a consume-transform-produce pattern. Thus, the specified\n group_id should be the same as config parameter group_id of the used\n consumer.\n\n @return [nil]", "Syntactic sugar to enable easier transaction usage. Do the following steps\n\n - Start the transaction (with Producer#begin_transaction)\n - Yield the given block\n - Commit the transaction (with Producer#commit_transaction)\n\n If the block raises exception, the transaction is automatically aborted\n *before* bubble up the exception.\n\n If the block raises Kafka::Producer::AbortTransaction indicator exception,\n it aborts the transaction silently, without throwing up that exception.\n\n @return [nil]", "Open new window.\n Current window doesn't change as the result of this call.\n It should be switched to explicitly.\n\n @return [Capybara::Window] window that has been opened", "Registers the constants to be auto loaded.\n\n @param prefix [String] The require prefix. If the path is inside Faraday,\n then it will be prefixed with the root path of this loaded\n Faraday version.\n @param options [{ Symbol => String }] library names.\n\n @example\n\n Faraday.autoload_all 'faraday/foo',\n Bar: 'bar'\n\n # requires faraday/foo/bar to load Faraday::Bar.\n Faraday::Bar\n\n @return [void]", "Filters the module's contents with those that have been already\n autoloaded.\n\n @return [Array]", "parse a multipart MIME message, returning a hash of any multipart errors", "Executes a block which should try to require and reference dependent\n libraries", "Check if the adapter is parallel-capable.\n\n @yield if the adapter isn't parallel-capable, or if no adapter is set yet.\n\n @return [Object, nil] a parallel manager or nil if yielded\n @api private", "Parses the given URL with URI and stores the individual\n components in this connection. These components serve as defaults for\n requests made by this connection.\n\n @param url [String, URI]\n @param encoder [Object]\n\n @example\n\n conn = Faraday::Connection.new { ... }\n conn.url_prefix = \"https://sushi.com/api\"\n conn.scheme # => https\n conn.path_prefix # => \"/api\"\n\n conn.get(\"nigiri?page=2\") # accesses https://sushi.com/api/nigiri", "Takes a relative url for a request and combines it with the defaults\n set on the connection instance.\n\n @param url [String]\n @param extra_params [Hash]\n\n @example\n conn = Faraday::Connection.new { ... }\n conn.url_prefix = \"https://sushi.com/api?token=abc\"\n conn.scheme # => https\n conn.path_prefix # => \"/api\"\n\n conn.build_url(\"nigiri?page=2\")\n # => https://sushi.com/api/nigiri?token=abc&page=2\n\n conn.build_url(\"nigiri\", page: 2)\n # => https://sushi.com/api/nigiri?token=abc&page=2", "Creates and configures the request object.\n\n @param method [Symbol]\n\n @yield [Faraday::Request] if block given\n @return [Faraday::Request]", "Build an absolute URL based on url_prefix.\n\n @param url [String, URI]\n @param params [Faraday::Utils::ParamsHash] A Faraday::Utils::ParamsHash to\n replace the query values\n of the resulting url (default: nil).\n\n @return [URI]", "Receives a String or URI and returns just\n the path with the query string sorted.", "Recursive hash update", "Update path and params.\n\n @param path [URI, String]\n @param params [Hash, nil]\n @return [void]", "Marshal serialization support.\n\n @return [Hash] the hash ready to be serialized in Marshal.", "Marshal serialization support.\n Restores the instance variables according to the +serialised+.\n @param serialised [Hash] the serialised object.", "Returns the policy of a specified bucket.\n\n @option params [required, String] :bucket\n\n @return [Types::GetBucketPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:\n\n * {Types::GetBucketPolicyOutput#policy #policy} => IO\n\n\n @example Example: To get bucket policy\n\n # The following example returns bucket policy associated with a bucket.\n\n resp = client.get_bucket_policy({\n bucket: \"examplebucket\",\n })\n\n resp.to_h outputs the following:\n {\n policy: \"{\\\"Version\\\":\\\"2008-10-17\\\",\\\"Id\\\":\\\"LogPolicy\\\",\\\"Statement\\\":[{\\\"Sid\\\":\\\"Enables the log delivery group to publish logs to your bucket \\\",\\\"Effect\\\":\\\"Allow\\\",\\\"Principal\\\":{\\\"AWS\\\":\\\"111122223333\\\"},\\\"Action\\\":[\\\"s3:GetBucketAcl\\\",\\\"s3:GetObjectAcl\\\",\\\"s3:PutObject\\\"],\\\"Resource\\\":[\\\"arn:aws:s3:::policytest1/*\\\",\\\"arn:aws:s3:::policytest1\\\"]}]}\",\n }\n\n @example Request syntax with placeholder values\n\n resp = client.get_bucket_policy({\n bucket: \"BucketName\", # required\n })\n\n @example Response structure\n\n resp.policy #=> String\n\n @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy AWS API Documentation\n\n @overload get_bucket_policy(params = {})\n @param [Hash] params ({})", "Retrieves objects from Amazon S3.\n\n @option params [String, IO] :response_target\n Where to write response data, file path, or IO object.\n\n @option params [required, String] :bucket\n\n @option params [String] :if_match\n Return the object only if its entity tag (ETag) is the same as the one\n specified, otherwise return a 412 (precondition failed).\n\n @option params [Time,DateTime,Date,Integer,String] :if_modified_since\n Return the object only if it has been modified since the specified\n time, otherwise return a 304 (not modified).\n\n @option params [String] :if_none_match\n Return the object only if its entity tag (ETag) is different from the\n one specified, otherwise return a 304 (not modified).\n\n @option params [Time,DateTime,Date,Integer,String] :if_unmodified_since\n Return the object only if it has not been modified since the specified\n time, otherwise return a 412 (precondition failed).\n\n @option params [required, String] :key\n\n @option params [String] :range\n Downloads the specified range bytes of an object. For more information\n about the HTTP Range header, go to\n http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.\n\n @option params [String] :response_cache_control\n Sets the Cache-Control header of the response.\n\n @option params [String] :response_content_disposition\n Sets the Content-Disposition header of the response\n\n @option params [String] :response_content_encoding\n Sets the Content-Encoding header of the response.\n\n @option params [String] :response_content_language\n Sets the Content-Language header of the response.\n\n @option params [String] :response_content_type\n Sets the Content-Type header of the response.\n\n @option params [Time,DateTime,Date,Integer,String] :response_expires\n Sets the Expires header of the response.\n\n @option params [String] :version_id\n VersionId used to reference a specific version of the object.\n\n @option params [String] :sse_customer_algorithm\n Specifies the algorithm to use to when encrypting the object (e.g.,\n AES256).\n\n @option params [String] :sse_customer_key\n Specifies the customer-provided encryption key for Amazon S3 to use in\n encrypting data. This value is used to store the object and then it is\n discarded; Amazon does not store the encryption key. The key must be\n appropriate for use with the algorithm specified in the\n x-amz-server-side\u200b-encryption\u200b-customer-algorithm header.\n\n @option params [String] :sse_customer_key_md5\n Specifies the 128-bit MD5 digest of the encryption key according to\n RFC 1321. Amazon S3 uses this header for a message integrity check to\n ensure the encryption key was transmitted without error.\n\n @option params [String] :request_payer\n Confirms that the requester knows that she or he will be charged for\n the request. Bucket owners need not specify this parameter in their\n requests. Documentation on downloading objects from requester pays\n buckets can be found at\n http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html\n\n @option params [Integer] :part_number\n Part number of the object being read. This is a positive integer\n between 1 and 10,000. Effectively performs a 'ranged' GET request\n for the part specified. Useful for downloading just a part of an\n object.\n\n @return [Types::GetObjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:\n\n * {Types::GetObjectOutput#body #body} => IO\n * {Types::GetObjectOutput#delete_marker #delete_marker} => Boolean\n * {Types::GetObjectOutput#accept_ranges #accept_ranges} => String\n * {Types::GetObjectOutput#expiration #expiration} => String\n * {Types::GetObjectOutput#restore #restore} => String\n * {Types::GetObjectOutput#last_modified #last_modified} => Time\n * {Types::GetObjectOutput#content_length #content_length} => Integer\n * {Types::GetObjectOutput#etag #etag} => String\n * {Types::GetObjectOutput#missing_meta #missing_meta} => Integer\n * {Types::GetObjectOutput#version_id #version_id} => String\n * {Types::GetObjectOutput#cache_control #cache_control} => String\n * {Types::GetObjectOutput#content_disposition #content_disposition} => String\n * {Types::GetObjectOutput#content_encoding #content_encoding} => String\n * {Types::GetObjectOutput#content_language #content_language} => String\n * {Types::GetObjectOutput#content_range #content_range} => String\n * {Types::GetObjectOutput#content_type #content_type} => String\n * {Types::GetObjectOutput#expires #expires} => Time\n * {Types::GetObjectOutput#expires_string #expires_string} => String\n * {Types::GetObjectOutput#website_redirect_location #website_redirect_location} => String\n * {Types::GetObjectOutput#server_side_encryption #server_side_encryption} => String\n * {Types::GetObjectOutput#metadata #metadata} => Hash<String,String>\n * {Types::GetObjectOutput#sse_customer_algorithm #sse_customer_algorithm} => String\n * {Types::GetObjectOutput#sse_customer_key_md5 #sse_customer_key_md5} => String\n * {Types::GetObjectOutput#ssekms_key_id #ssekms_key_id} => String\n * {Types::GetObjectOutput#storage_class #storage_class} => String\n * {Types::GetObjectOutput#request_charged #request_charged} => String\n * {Types::GetObjectOutput#replication_status #replication_status} => String\n * {Types::GetObjectOutput#parts_count #parts_count} => Integer\n * {Types::GetObjectOutput#tag_count #tag_count} => Integer\n * {Types::GetObjectOutput#object_lock_mode #object_lock_mode} => String\n * {Types::GetObjectOutput#object_lock_retain_until_date #object_lock_retain_until_date} => Time\n * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String\n\n\n @example Example: To retrieve an object\n\n # The following example retrieves an object for an S3 bucket.\n\n resp = client.get_object({\n bucket: \"examplebucket\",\n key: \"HappyFace.jpg\",\n })\n\n resp.to_h outputs the following:\n {\n accept_ranges: \"bytes\",\n content_length: 3191,\n content_type: \"image/jpeg\",\n etag: \"\\\"6805f2cfc46c0f04559748bb039d69ae\\\"\",\n last_modified: Time.parse(\"Thu, 15 Dec 2016 01:19:41 GMT\"),\n metadata: {\n },\n tag_count: 2,\n version_id: \"null\",\n }\n\n @example Example: To retrieve a byte range of an object\n\n # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a\n # specific byte range.\n\n resp = client.get_object({\n bucket: \"examplebucket\",\n key: \"SampleFile.txt\",\n range: \"bytes=0-9\",\n })\n\n resp.to_h outputs the following:\n {\n accept_ranges: \"bytes\",\n content_length: 10,\n content_range: \"bytes 0-9/43\",\n content_type: \"text/plain\",\n etag: \"\\\"0d94420ffd0bc68cd3d152506b97a9cc\\\"\",\n last_modified: Time.parse(\"Thu, 09 Oct 2014 22:57:28 GMT\"),\n metadata: {\n },\n version_id: \"null\",\n }\n\n @example Download an object to disk\n # stream object directly to disk\n resp = s3.get_object(\n response_target: '/path/to/file',\n bucket: 'bucket-name',\n key: 'object-key')\n\n # you can still access other response data\n resp.metadata #=> { ... }\n resp.etag #=> \"...\"\n\n @example Download object into memory\n # omit :response_target to download to a StringIO in memory\n resp = s3.get_object(bucket: 'bucket-name', key: 'object-key')\n\n # call #read or #string on the response body\n resp.body.read\n #=> '...'\n\n @example Streaming data to a block\n # WARNING: yielding data to a block disables retries of networking errors\n File.open('/path/to/file', 'wb') do |file|\n s3.get_object(bucket: 'bucket-name', key: 'object-key') do |chunk|\n file.write(chunk)\n end\n end\n\n @example Request syntax with placeholder values\n\n resp = client.get_object({\n bucket: \"BucketName\", # required\n if_match: \"IfMatch\",\n if_modified_since: Time.now,\n if_none_match: \"IfNoneMatch\",\n if_unmodified_since: Time.now,\n key: \"ObjectKey\", # required\n range: \"Range\",\n response_cache_control: \"ResponseCacheControl\",\n response_content_disposition: \"ResponseContentDisposition\",\n response_content_encoding: \"ResponseContentEncoding\",\n response_content_language: \"ResponseContentLanguage\",\n response_content_type: \"ResponseContentType\",\n response_expires: Time.now,\n version_id: \"ObjectVersionId\",\n sse_customer_algorithm: \"SSECustomerAlgorithm\",\n sse_customer_key: \"SSECustomerKey\",\n sse_customer_key_md5: \"SSECustomerKeyMD5\",\n request_payer: \"requester\", # accepts requester\n part_number: 1,\n })\n\n @example Response structure\n\n resp.body #=> IO\n resp.delete_marker #=> Boolean\n resp.accept_ranges #=> String\n resp.expiration #=> String\n resp.restore #=> String\n resp.last_modified #=> Time\n resp.content_length #=> Integer\n resp.etag #=> String\n resp.missing_meta #=> Integer\n resp.version_id #=> String\n resp.cache_control #=> String\n resp.content_disposition #=> String\n resp.content_encoding #=> String\n resp.content_language #=> String\n resp.content_range #=> String\n resp.content_type #=> String\n resp.expires #=> Time\n resp.expires_string #=> String\n resp.website_redirect_location #=> String\n resp.server_side_encryption #=> String, one of \"AES256\", \"aws:kms\"\n resp.metadata #=> Hash\n resp.metadata[\"MetadataKey\"] #=> String\n resp.sse_customer_algorithm #=> String\n resp.sse_customer_key_md5 #=> String\n resp.ssekms_key_id #=> String\n resp.storage_class #=> String, one of \"STANDARD\", \"REDUCED_REDUNDANCY\", \"STANDARD_IA\", \"ONEZONE_IA\", \"INTELLIGENT_TIERING\", \"GLACIER\", \"DEEP_ARCHIVE\"\n resp.request_charged #=> String, one of \"requester\"\n resp.replication_status #=> String, one of \"COMPLETE\", \"PENDING\", \"FAILED\", \"REPLICA\"\n resp.parts_count #=> Integer\n resp.tag_count #=> Integer\n resp.object_lock_mode #=> String, one of \"GOVERNANCE\", \"COMPLIANCE\"\n resp.object_lock_retain_until_date #=> Time\n resp.object_lock_legal_hold_status #=> String, one of \"ON\", \"OFF\"\n\n @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject AWS API Documentation\n\n @overload get_object(params = {})\n @param [Hash] params ({})", "Return torrent files from a bucket.\n\n @option params [String, IO] :response_target\n Where to write response data, file path, or IO object.\n\n @option params [required, String] :bucket\n\n @option params [required, String] :key\n\n @option params [String] :request_payer\n Confirms that the requester knows that she or he will be charged for\n the request. Bucket owners need not specify this parameter in their\n requests. Documentation on downloading objects from requester pays\n buckets can be found at\n http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html\n\n @return [Types::GetObjectTorrentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:\n\n * {Types::GetObjectTorrentOutput#body #body} => IO\n * {Types::GetObjectTorrentOutput#request_charged #request_charged} => String\n\n\n @example Example: To retrieve torrent files for an object\n\n # The following example retrieves torrent files of an object.\n\n resp = client.get_object_torrent({\n bucket: \"examplebucket\",\n key: \"HappyFace.jpg\",\n })\n\n resp.to_h outputs the following:\n {\n }\n\n @example Request syntax with placeholder values\n\n resp = client.get_object_torrent({\n bucket: \"BucketName\", # required\n key: \"ObjectKey\", # required\n request_payer: \"requester\", # accepts requester\n })\n\n @example Response structure\n\n resp.body #=> IO\n resp.request_charged #=> String, one of \"requester\"\n\n @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent AWS API Documentation\n\n @overload get_object_torrent(params = {})\n @param [Hash] params ({})", "Polls an API operation until a resource enters a desired state.\n\n ## Basic Usage\n\n A waiter will call an API operation until:\n\n * It is successful\n * It enters a terminal state\n * It makes the maximum number of attempts\n\n In between attempts, the waiter will sleep.\n\n # polls in a loop, sleeping between attempts\n client.wait_until(waiter_name, params)\n\n ## Configuration\n\n You can configure the maximum number of polling attempts, and the\n delay (in seconds) between each polling attempt. You can pass\n configuration as the final arguments hash.\n\n # poll for ~25 seconds\n client.wait_until(waiter_name, params, {\n max_attempts: 5,\n delay: 5,\n })\n\n ## Callbacks\n\n You can be notified before each polling attempt and before each\n delay. If you throw `:success` or `:failure` from these callbacks,\n it will terminate the waiter.\n\n started_at = Time.now\n client.wait_until(waiter_name, params, {\n\n # disable max attempts\n max_attempts: nil,\n\n # poll for 1 hour, instead of a number of attempts\n before_wait: -> (attempts, response) do\n throw :failure if Time.now - started_at > 3600\n end\n })\n\n ## Handling Errors\n\n When a waiter is unsuccessful, it will raise an error.\n All of the failure errors extend from\n {Aws::Waiters::Errors::WaiterFailed}.\n\n begin\n client.wait_until(...)\n rescue Aws::Waiters::Errors::WaiterFailed\n # resource did not enter the desired state in time\n end\n\n ## Valid Waiters\n\n The following table lists the valid waiter names, the operations they call,\n and the default `:delay` and `:max_attempts` values.\n\n | waiter_name | params | :delay | :max_attempts |\n | ----------------- | -------------- | -------- | ------------- |\n | bucket_exists | {#head_bucket} | 5 | 20 |\n | bucket_not_exists | {#head_bucket} | 5 | 20 |\n | object_exists | {#head_object} | 5 | 20 |\n | object_not_exists | {#head_object} | 5 | 20 |\n\n @raise [Errors::FailureStateError] Raised when the waiter terminates\n because the waiter has entered a state that it will not transition\n out of, preventing success.\n\n @raise [Errors::TooManyAttemptsError] Raised when the configured\n maximum number of attempts have been made, and the waiter is not\n yet successful.\n\n @raise [Errors::UnexpectedError] Raised when an error is encounted\n while polling for a resource that is not expected.\n\n @raise [Errors::NoSuchWaiterError] Raised when you request to wait\n for an unknown state.\n\n @return [Boolean] Returns `true` if the waiter was successful.\n @param [Symbol] waiter_name\n @param [Hash] params ({})\n @param [Hash] options ({})\n @option options [Integer] :max_attempts\n @option options [Integer] :delay\n @option options [Proc] :before_attempt\n @option options [Proc] :before_wait", "Constructs a new SharedConfig provider object. This will load the shared\n credentials file, and optionally the shared configuration file, as ini\n files which support profiles.\n\n By default, the shared credential file (the default path for which is\n `~/.aws/credentials`) and the shared config file (the default path for\n which is `~/.aws/config`) are loaded. However, if you set the\n `ENV['AWS_SDK_CONFIG_OPT_OUT']` environment variable, only the shared\n credential file will be loaded. You can specify the shared credential\n file path with the `ENV['AWS_SHARED_CREDENTIALS_FILE']` environment\n variable or with the `:credentials_path` option. Similarly, you can\n specify the shared config file path with the `ENV['AWS_CONFIG_FILE']`\n environment variable or with the `:config_path` option.\n\n The default profile name is 'default'. You can specify the profile name\n with the `ENV['AWS_PROFILE']` environment variable or with the\n `:profile_name` option.\n\n @param [Hash] options\n @option options [String] :credentials_path Path to the shared credentials\n file. If not specified, will check `ENV['AWS_SHARED_CREDENTIALS_FILE']`\n before using the default value of \"#{Dir.home}/.aws/credentials\".\n @option options [String] :config_path Path to the shared config file.\n If not specified, will check `ENV['AWS_CONFIG_FILE']` before using the\n default value of \"#{Dir.home}/.aws/config\".\n @option options [String] :profile_name The credential/config profile name\n to use. If not specified, will check `ENV['AWS_PROFILE']` before using\n the fixed default value of 'default'.\n @option options [Boolean] :config_enabled If true, loads the shared config\n file and enables new config values outside of the old shared credential\n spec.\n @api private", "Attempts to assume a role from shared config or shared credentials file.\n Will always attempt first to assume a role from the shared credentials\n file, if present.", "Deeply converts the Structure into a hash. Structure members that\n are `nil` are omitted from the resultant hash.\n\n You can call #orig_to_h to get vanilla #to_h behavior as defined\n in stdlib Struct.\n\n @return [Hash]", "Allows you to access all of the requests that the stubbed client has made\n\n @params [Boolean] exclude_presign Setting to true for filtering out not sent requests from\n generating presigned urls. Default to false.\n @return [Array] Returns an array of the api requests made, each request object contains the\n :operation_name, :params, and :context of the request.\n @raise [NotImplementedError] Raises `NotImplementedError` when the client is not stubbed", "Generates and returns stubbed response data from the named operation.\n\n s3 = Aws::S3::Client.new\n s3.stub_data(:list_buckets)\n #=> #>\n\n In addition to generating default stubs, you can provide data to\n apply to the response stub.\n\n s3.stub_data(:list_buckets, buckets:[{name:'aws-sdk'}])\n #=> #],\n owner=#>\n\n @param [Symbol] operation_name\n @param [Hash] data\n @return [Structure] Returns a stubbed response data structure. The\n actual class returned will depend on the given `operation_name`.", "Yields the current and each following response to the given block.\n @yieldparam [Response] response\n @return [Enumerable,nil] Returns a new Enumerable if no block is given.", "This operation downloads the output of the job you initiated using\n InitiateJob. Depending on the job type you specified when you\n initiated the job, the output will be either the content of an archive\n or a vault inventory.\n\n You can download all the job output or download a portion of the\n output by specifying a byte range. In the case of an archive retrieval\n job, depending on the byte range you specify, Amazon Glacier returns\n the checksum for the portion of the data. You can compute the checksum\n on the client and verify that the values match to ensure the portion\n you downloaded is the correct data.\n\n A job ID will not expire for at least 24 hours after Amazon Glacier\n completes the job. That a byte range. For both archive and inventory\n retrieval jobs, you should verify the downloaded size against the size\n returned in the headers from the **Get Job Output** response.\n\n For archive retrieval jobs, you should also verify that the size is\n what you expected. If you download a portion of the output, the\n expected size is based on the range of bytes you specified. For\n example, if you specify a range of `bytes=0-1048575`, you should\n verify your download size is 1,048,576 bytes. If you download an\n entire archive, the expected size is the size of the archive when you\n uploaded it to Amazon Glacier The expected size is also returned in\n the headers from the **Get Job Output** response.\n\n In the case of an archive retrieval job, depending on the byte range\n you specify, Amazon Glacier returns the checksum for the portion of\n the data. To ensure the portion you downloaded is the correct data,\n compute the checksum on the client, verify that the values match, and\n verify that the size is what you expected.\n\n A job ID does not expire for at least 24 hours after Amazon Glacier\n completes the job. That is, you can download the job output within the\n 24 hours period after Amazon Glacier completes the job.\n\n An AWS account has full permission to perform all operations\n (actions). However, AWS Identity and Access Management (IAM) users\n don't have any permissions by default. You must grant them explicit\n permission to perform specific actions. For more information, see\n [Access Control Using AWS Identity and Access Management (IAM)][1].\n\n For conceptual information and the underlying REST API, see\n [Downloading a Vault Inventory][2], [Downloading an Archive][3], and\n [Get Job Output ][4]\n\n\n\n [1]: http://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\n [2]: http://docs.aws.amazon.com/amazonglacier/latest/dev/vault-inventory.html\n [3]: http://docs.aws.amazon.com/amazonglacier/latest/dev/downloading-an-archive.html\n [4]: http://docs.aws.amazon.com/amazonglacier/latest/dev/api-job-output-get.html\n\n @option params [required, String] :account_id\n The `AccountId` value is the AWS account ID of the account that owns\n the vault. You can either specify an AWS account ID or optionally a\n single '`-`' (hyphen), in which case Amazon Glacier uses the AWS\n account ID associated with the credentials used to sign the request.\n If you use an account ID, do not include any hyphens ('-') in the\n ID.\n\n @option params [required, String] :vault_name\n The name of the vault.\n\n @option params [required, String] :job_id\n The job ID whose data is downloaded.\n\n @option params [String] :range\n The range of bytes to retrieve from the output. For example, if you\n want to download the first 1,048,576 bytes, specify the range as\n `bytes=0-1048575`. By default, this operation downloads the entire\n output.\n\n If the job output is large, then you can use a range to retrieve a\n portion of the output. This allows you to download the entire output\n in smaller chunks of bytes. For example, suppose you have 1 GB of job\n output you want to download and you decide to download 128 MB chunks\n of data at a time, which is a total of eight Get Job Output requests.\n You use the following process to download the job output:\n\n 1. Download a 128 MB chunk of output by specifying the appropriate\n byte range. Verify that all 128 MB of data was received.\n\n 2. Along with the data, the response includes a SHA256 tree hash of\n the payload. You compute the checksum of the payload on the client\n and compare it with the checksum you received in the response to\n ensure you received all the expected data.\n\n 3. Repeat steps 1 and 2 for all the eight 128 MB chunks of output\n data, each time specifying the appropriate byte range.\n\n 4. After downloading all the parts of the job output, you have a list\n of eight checksum values. Compute the tree hash of these values to\n find the checksum of the entire output. Using the DescribeJob API,\n obtain job information of the job that provided you the output.\n The response includes the checksum of the entire archive stored in\n Amazon Glacier. You compare this value with the checksum you\n computed to ensure you have downloaded the entire archive content\n with no errors.\n\n @return [Types::GetJobOutputOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:\n\n * {Types::GetJobOutputOutput#body #body} => IO\n * {Types::GetJobOutputOutput#checksum #checksum} => String\n * {Types::GetJobOutputOutput#status #status} => Integer\n * {Types::GetJobOutputOutput#content_range #content_range} => String\n * {Types::GetJobOutputOutput#accept_ranges #accept_ranges} => String\n * {Types::GetJobOutputOutput#content_type #content_type} => String\n * {Types::GetJobOutputOutput#archive_description #archive_description} => String\n\n\n @example Example: To get the output of a previously initiated job\n\n # The example downloads the output of a previously initiated inventory retrieval job that is identified by the job ID.\n\n resp = client.get_job_output({\n account_id: \"-\",\n job_id: \"zbxcm3Z_3z5UkoroF7SuZKrxgGoDc3RloGduS7Eg-RO47Yc6FxsdGBgf_Q2DK5Ejh18CnTS5XW4_XqlNHS61dsO4CnMW\",\n range: \"\",\n vault_name: \"my-vaul\",\n })\n\n resp.to_h outputs the following:\n {\n accept_ranges: \"bytes\",\n body: \"inventory-data\",\n content_type: \"application/json\",\n status: 200,\n }\n\n @example Request syntax with placeholder values\n\n resp = client.get_job_output({\n account_id: \"string\", # required\n vault_name: \"string\", # required\n job_id: \"string\", # required\n range: \"string\",\n })\n\n @example Response structure\n\n resp.body #=> IO\n resp.checksum #=> String\n resp.status #=> Integer\n resp.content_range #=> String\n resp.accept_ranges #=> String\n resp.content_type #=> String\n resp.archive_description #=> String\n\n @overload get_job_output(params = {})\n @param [Hash] params ({})", "checking whether an unexpired endpoint key exists in cache\n @param [String] key\n @return [Boolean]", "extract the key to be used in the cache from request context\n @param [RequestContext] ctx\n @return [String]", "Create a ruby hash from a string passed by the jekyll tag", "Ensure that your plugin conforms to good hook naming conventions.\n\n Resque::Plugin.lint(MyResquePlugin)", "DEPRECATED. Processes a single job. If none is given, it will\n try to produce one. Usually run in the child.", "Reports the exception and marks the job as failed", "Processes a given job in the child.", "Attempts to grab a job off one of the provided queues. Returns\n nil if no job can be found.", "Reconnect to Redis to avoid sharing a connection with the parent,\n retry up to 3 times with increasing delay before giving up.", "Kill the child and shutdown immediately.\n If not forking, abort this process.", "Runs a named hook, passing along any arguments.", "Unregisters ourself as a worker. Useful when shutting down.", "Given a job, tells Redis we're working on it. Useful for seeing\n what workers are doing and when.", "Returns an Array of string pids of all the other workers on this\n machine. Useful when pruning dead workers on startup.", "Given an exception object, hands off the needed parameters to\n the Failure module.", "Create a new endpoint.\n @param new_settings [InheritableSetting] settings to determine the params,\n validations, and other properties from.\n @param options [Hash] attributes of this endpoint\n @option options path [String or Array] the path to this endpoint, within\n the current scope.\n @option options method [String or Array] which HTTP method(s) can be used\n to reach this endpoint.\n @option options route_options [Hash]\n @note This happens at the time of API definition, so in this context the\n endpoint does not know if it will be mounted under a different endpoint.\n @yield a block defining what your API should do when this endpoint is hit\n Update our settings from a given set of stackable parameters. Used when\n the endpoint's API is mounted under another one.", "Prior to version 4.1 of rails double quotes were inadventently removed in json_escape.\n This adds the correct json_escape functionality to rails versions < 4.1", "Register a resource into this namespace. The preffered method to access this is to\n use the global registration ActiveAdmin.register which delegates to the proper\n namespace instance.", "Add a callback to be ran when we build the menu\n\n @param [Symbol] name The name of the menu. Default: :default\n @yield [ActiveAdmin::Menu] The block to be ran when the menu is built\n\n @return [void]", "The default logout menu item\n\n @param [ActiveAdmin::MenuItem] menu The menu to add the logout link to\n @param [Fixnum] priority The numeric priority for the order in which it appears\n @param [Hash] html_options An options hash to pass along to link_to", "The default user session menu item\n\n @param [ActiveAdmin::MenuItem] menu The menu to add the logout link to\n @param [Fixnum] priority The numeric priority for the order in which it appears\n @param [Hash] html_options An options hash to pass along to link_to", "Page content.\n\n The block should define the view using Arbre.\n\n Example:\n\n ActiveAdmin.register \"My Page\" do\n content do\n para \"Sweet!\"\n end\n end", "Finds a resource based on the resource name, resource class, or base class.", "Registers a brand new configuration for the given resource.", "Creates a namespace for the given name\n\n Yields the namespace if a block is given\n\n @return [Namespace] the new or existing namespace", "Register a page\n\n @param name [String] The page name\n @option [Hash] Accepts option :namespace.\n @&block The registration block.", "Loads all ruby files that are within the load_paths setting.\n To reload everything simply call `ActiveAdmin.unload!`", "Creates all the necessary routes for the ActiveAdmin configurations\n\n Use this within the routes.rb file:\n\n Application.routes.draw do |map|\n ActiveAdmin.routes(self)\n end\n\n @param rails_router [ActionDispatch::Routing::Mapper]", "Hook into the Rails code reloading mechanism so that things are reloaded\n properly in development mode.\n\n If any of the app files (e.g. models) has changed, we need to reload all\n the admin files. If the admin files themselves has changed, we need to\n regenerate the routes as well.", "remove options that should not render as attributes", "Renders the Formtastic inputs then appends ActiveAdmin delete and sort actions.", "Capture the ADD JS", "Defines the routes for each resource", "Defines member and collection actions", "Simple callback system. Implements before and after callbacks for\n use within the controllers.\n\n We didn't use the ActiveSupport callbacks because they do not support\n passing in any arbitrary object into the callback method (which we\n need to do)", "Keys included in the `permitted_params` setting are automatically whitelisted.\n\n Either\n\n permit_params :title, :author, :body, tags: []\n\n Or\n\n permit_params do\n defaults = [:title, :body]\n if current_user.admin?\n defaults + [:author]\n else\n defaults\n end\n end", "Configure the index page for the resource", "Configure the show page for the resource", "Configure the CSV format\n\n For example:\n\n csv do\n column :name\n column(\"Author\") { |post| post.author.full_name }\n end\n\n csv col_sep: \";\", force_quotes: true do\n column :name\n end", "Member Actions give you the functionality of defining both the\n action and the route directly from your ActiveAdmin registration\n block.\n\n For example:\n\n ActiveAdmin.register Post do\n member_action :comments do\n @post = Post.find(params[:id])\n @comments = @post.comments\n end\n end\n\n Will create a new controller action comments and will hook it up to\n the named route (comments_admin_post_path) /admin/posts/:id/comments\n\n You can treat everything within the block as a standard Rails controller\n action.", "compute the price range", "Loads a configuration, ensuring it extends the default configuration.", "Filter out directories. This could happen when changing a symlink to a\n directory as part of an amendment, since the symlink will still appear as\n a file, but the actual working tree will have a directory.", "Check the yard coverage\n\n Return a :pass if the coverage is enough, :warn if it couldn't be read,\n otherwise, it has been read successfully.", "Create the error messages", "Get a list of files that were added, copied, or modified in the merge\n commit. Renames and deletions are ignored, since there should be nothing\n to check.", "Get a list of files that have been added or modified as part of a\n rewritten commit. Renames and deletions are ignored, since there should be\n nothing to check.", "Returns status and output for messages assuming no special treatment of\n messages occurring on unmodified lines.", "Runs the hook and transforms the status returned based on the hook's\n configuration.\n\n Poorly named because we already have a bunch of hooks in the wild that\n implement `#run`, and we needed a wrapper step to transform the status\n based on any custom configuration.", "If the hook defines required library paths that it wants to load, attempt\n to load them.", "Stash unstaged contents of files so hooks don't see changes that aren't\n about to be committed.", "Restore unstaged changes and reset file modification times so it appears\n as if nothing ever changed.\n\n We want to restore the modification times for each of the files after\n every step to ensure as little time as possible has passed while the\n modification time on the file was newer. This helps us play more nicely\n with file watchers.", "Get a list of added, copied, or modified files that have been staged.\n Renames and deletions are ignored, since there should be nothing to check.", "Clears the working tree so that the stash can be applied.", "Applies the stash to the working tree to restore the user's state.", "Stores the modification times for all modified files to make it appear like\n they never changed.\n\n This prevents (some) editors from complaining about files changing when we\n stash changes before running the hooks.", "Restores the file modification times for all modified files to make it\n appear like they never changed.", "Validates hash for any invalid options, normalizing where possible.\n\n @param config [Overcommit::Configuration]\n @param hash [Hash] hash representation of YAML config\n @param options[Hash]\n @option default [Boolean] whether hash represents the default built-in config\n @option logger [Overcommit::Logger] logger to output warnings to\n @return [Hash] validated hash (potentially modified)", "Normalizes `nil` values to empty hashes.\n\n This is useful for when we want to merge two configuration hashes\n together, since it's easier to merge two hashes than to have to check if\n one of the values is nil.", "Prints an error message and raises an exception if a hook has an\n invalid name, since this can result in strange errors elsewhere.", "Prints a warning if there are any hooks listed in the configuration\n without `enabled` explicitly set.", "Prints a warning if any hook has a number of processors larger than the\n global `concurrency` setting.", "Returns configuration for all built-in hooks in each hook type.\n\n @return [Hash]", "Returns configuration for all plugin hooks in each hook type.\n\n @return [Hash]", "Returns the built-in hooks that have been enabled for a hook type.", "Returns the ad hoc hooks that have been enabled for a hook type.", "Returns a non-modifiable configuration for a hook.", "Applies additional configuration settings based on the provided\n environment variables.", "Returns the stored signature of this repo's Overcommit configuration.\n\n This is intended to be compared against the current signature of this\n configuration object.\n\n @return [String]", "Returns the names of all files that are tracked by git.\n\n @return [Array] list of absolute file paths", "Restore any relevant files that were present when repo was in the middle\n of a merge.", "Restore any relevant files that were present when repo was in the middle\n of a cherry-pick.", "Update the current stored signature for this hook.", "Calculates a hash of a hook using a combination of its configuration and\n file contents.\n\n This way, if either the plugin code changes or its configuration changes,\n the hash will change and we can alert the user to this change.", "Executed at the end of an individual hook run.", "Process one logical line of makefile data.", "Invoke the task if it is needed. Prerequisites are invoked first.", "Transform the list of comments as specified by the block and\n join with the separator.", "Merge the given options with the default values.", "Check that the options do not contain options not listed in\n +optdecl+. An ArgumentError exception is thrown if non-declared\n options are found.", "Trim +n+ innermost scope levels from the scope. In no case will\n this trim beyond the toplevel scope.", "Initialize the command line parameters and app name.", "True if one of the files in RAKEFILES is in the current directory.\n If a match is found, it is copied into @rakefile.", "Return a new FileList with the results of running +sub+ against each\n element of the original list.\n\n Example:\n FileList['a.c', 'b.c'].sub(/\\.c$/, '.o') => ['a.o', 'b.o']", "Return a new FileList with the results of running +gsub+ against each\n element of the original list.\n\n Example:\n FileList['lib/test/file', 'x/y'].gsub(/\\//, \"\\\\\")\n => ['lib\\\\test\\\\file', 'x\\\\y']", "Same as +sub+ except that the original file list is modified.", "Same as +gsub+ except that the original file list is modified.", "Create the tasks defined by this task library.", "Waits until the queue of futures is empty and all threads have exited.", "processes one item on the queue. Returns true if there was an\n item to process, false if there was no item", "Resolve task arguments for a task or rule when there are no\n dependencies declared.\n\n The patterns recognized by this argument resolving function are:\n\n task :t\n task :t, [:a]", "If a rule can be found that matches the task name, enhance the\n task with the prerequisites and actions from the rule. Set the\n source attribute of the task appropriately for the rule. Return\n the enhanced task or nil of no rule was found.", "Find the location that called into the dsl layer.", "Attempt to create a rule given the list of prerequisites.", "Are there any prerequisites with a later time than the given time stamp?", "Create a new argument scope using the prerequisite argument\n names.", "If no one else is working this promise, go ahead and do the chore.", "Loops until the block returns a true value", "Purge cached DNS records", "vm always returns a vm", "Processes VM data from BOSH Director,\n extracts relevant agent data, wraps it into Agent object\n and adds it to a list of managed agents.", "subscribe to an inbox, if not already subscribed", "This call only makes sense if all dependencies have already been compiled,\n otherwise it raises an exception\n @return [Hash] Hash representation of all package dependencies. Agent uses\n that to download package dependencies before compiling the package on a\n compilation VM.", "Returns formatted exception information\n @param [Hash|#to_s] exception Serialized exception\n @return [String]", "the blob is removed from the blobstore once we have fetched it,\n but if there is a crash before it is injected into the response\n and then logged, there is a chance that we lose it", "Downloads a remote file\n @param [String] resource Resource name to be logged\n @param [String] remote_file Remote file to download\n @param [String] local_file Local file to store the downloaded file\n @raise [Bosh::Director::ResourceNotFound] If remote file is not found\n @raise [Bosh::Director::ResourceError] If there's a network problem", "Updates instance settings\n @param [String] instance_id instance id (instance record\n will be created in DB if it doesn't already exist)\n @param [String] settings New settings for the instance", "Reads instance settings\n @param [String] instance_id instance id\n @param [optional, String] remote_ip If this IP is provided,\n check will be performed to see if it instance id\n actually has this IP address according to the IaaS.", "Used by provider, not using alias because want to update existing provider intent when alias changes", "A consumer which is within the same deployment", "Do not add retries_left default value", "Creates new lock with the given name.\n\n @param name lock name\n @option opts [Number] timeout how long to wait before giving up\n @option opts [Number] expiration how long to wait before expiring an old\n lock\n Acquire a lock.\n\n @yield [void] optional block to do work before automatically releasing\n the lock.\n @return [void]", "Release a lock that was not auto released by the lock method.\n\n @return [void]", "returns a list of orphaned networks", "Instantiates and performs director job.\n @param [Array] args Opaque list of job arguments that will be used to\n instantiate the new job object.\n @return [void]", "Spawns a thread that periodically updates task checkpoint time.\n There is no need to kill this thread as job execution lifetime is the\n same as worker process lifetime.\n @return [Thread] Checkpoint thread", "Truncates string to fit task result length\n @param [String] string The original string\n @param [Integer] len Desired string length\n @return [String] Truncated string", "Marks task completion\n @param [Symbol] state Task completion state\n @param [#to_s] result", "Logs the exception in the event log\n @param [Exception] exception", "The rquirements hash passed in by the caller will be populated with CompiledPackageRequirement objects", "Binds template models for each release spec in the deployment plan\n @return [void]", "Ensures the given value is properly double quoted.\n This also ensures we don't have conflicts with reversed keywords.\n\n IE: `user` is a reserved keyword in PG. But `\"user\"` is allowed and works the same\n when used as an column/tbl alias.", "Ensures the key is properly single quoted and treated as a actual PG key reference.", "Converts a potential subquery into a compatible Arel SQL node.\n\n Note:\n We convert relations to SQL to maintain compatibility with Rails 5.[0/1].\n Only Rails 5.2+ maintains bound attributes in Arel, so its better to be safe then sorry.\n When we drop support for Rails 5.[0/1], we then can then drop the '.to_sql' conversation", "Finds Records that contains a nested set elements\n\n Array Column Type:\n User.where.contains(tags: [1, 3])\n # SELECT user.* FROM user WHERE user.tags @> {1,3}\n\n HStore Column Type:\n User.where.contains(data: { nickname: 'chainer' })\n # SELECT user.* FROM user WHERE user.data @> 'nickname' => 'chainer'\n\n JSONB Column Type:\n User.where.contains(data: { nickname: 'chainer' })\n # SELECT user.* FROM user WHERE user.data @> {'nickname': 'chainer'}\n\n This can also be used along side joined tables\n\n JSONB Column Type Example:\n Tag.joins(:user).where.contains(user: { data: { nickname: 'chainer' } })\n # SELECT tags.* FROM tags INNER JOIN user on user.id = tags.user_id WHERE user.data @> { nickname: 'chainer' }", "Absolute URL to the API representation of this resource", "Returns a hash suitable for use as an API response.\n\n For Documents and Pages:\n\n 1. Adds the file's raw content to the `raw_content` field\n 2. Adds the file's raw YAML front matter to the `front_matter` field\n\n For Static Files it addes the Base64 `encoded_content` field\n\n Options:\n\n include_content - if true, includes the content in the respond, false by default\n to support mapping on indexes where we only want metadata\n\n\n Returns a hash (which can then be to_json'd)", "Returns a hash of content fields for inclusion in the API output", "Returns the path to the requested file's containing directory", "Write a file to disk with the given content", "Delete the file at the given path", "verbose 'null' values in front matter", "Return whether this rule set occupies a single line.\n\n Note that this allows:\n a,\n b,\n i { margin: 0; padding: 0; }\n\n and:\n\n p { margin: 0; padding: 0; }\n\n In other words, the line of the opening curly brace is the line that the\n rule set is considered to occupy.", "Compare each property against the next property to see if they are on\n the same line.\n\n @param properties [Array]", "Executed before a node has been visited.\n\n @param node [Sass::Tree::Node]", "Gets the child of the node that resides on the lowest line in the file.\n\n This is necessary due to the fact that our monkey patching of the parse\n tree's {#children} method does not return nodes sorted by their line\n number.\n\n Returns `nil` if node has no children or no children with associated line\n numbers.\n\n @param node [Sass::Tree::Node, Sass::Script::Tree::Node]\n @return [Sass::Tree::Node, Sass::Script::Tree::Node]", "Checks if a simple sequence contains a\n simple selector of a certain class.\n\n @param seq [Sass::Selector::SimpleSequence]\n @param selector_class [Sass::Selector::Simple]\n @returns [Boolean]", "Find the maximum depth of all sequences in a comma sequence.", "Allow rulesets to be indented any amount when the indent is zero, as long\n as it's a multiple of the indent width", "Returns whether node is indented exactly one indent width greater than its\n parent.\n\n @param node [Sass::Tree::Node]\n @return [true,false]", "An expression enclosed in parens will include or not include each paren, depending\n on whitespace. Here we feel out for enclosing parens, and return them as the new\n source for the node.", "In cases where the previous node is not a block declaration, we won't\n have run any checks against it, so we need to check here if the previous\n line is an empty line", "Offset of value for property", "Friendly description that shows the full command that will be executed.", "Create a CLI that outputs to the specified logger.\n\n @param logger [SCSSLint::Logger]", "Return the path of the configuration file that should be loaded.\n\n @param options [Hash]\n @return [String]", "The Sass parser sometimes doesn't assign line numbers in cases where it\n should. This is a helper to easily correct that.", "Create a linter.\n Run this linter against a parsed document with the given configuration,\n returning the lints that were found.\n\n @param engine [Engine]\n @param config [Config]\n @return [Array]", "Helper for creating lint from a parse tree node\n\n @param node_or_line_or_location [Sass::Script::Tree::Node, Fixnum,\n SCSSLint::Location, Sass::Source::Position]\n @param message [String]", "Extracts the original source code given a range.\n\n @param source_range [Sass::Source::Range]\n @return [String] the original source code", "Returns whether a given node spans only a single line.\n\n @param node [Sass::Tree::Node]\n @return [true,false] whether the node spans a single line", "Modified so we can also visit selectors in linters\n\n @param node [Sass::Tree::Node, Sass::Script::Tree::Node,\n Sass::Script::Value::Base]", "Redefine so we can set the `node_parent` of each node\n\n @param parent [Sass::Tree::Node, Sass::Script::Tree::Node,\n Sass::Script::Value::Base]", "Since keyword arguments are not guaranteed to be in order, use the source\n range to order arguments so we check them in the order they were declared.", "Find the comma following this argument.\n\n The Sass parser is unpredictable in where it marks the end of the\n source range. Thus we need to start at the indicated range, and check\n left and right of that range, gradually moving further outward until\n we find the comma.", "For stubbing in tests.", "Returns a key identifying the bucket this property and value correspond to\n for purposes of uniqueness.", "Check if, starting from the end of a string\n and moving backwards, towards the beginning,\n we find a new line before any non-whitespace characters", "Checks if an individual sequence is split over multiple lines", "Checks if a property value's units are allowed.\n\n @param node [Sass::Tree::Node]\n @param property [String]\n @param units [String]", "Find the child that is out of place", "Return nth-ancestor of a node, where 1 is the parent, 2 is grandparent,\n etc.\n\n @param node [Sass::Tree::Node, Sass::Script::Tree::Node]\n @param level [Integer]\n @return [Sass::Tree::Node, Sass::Script::Tree::Node, nil]", "Return whether to ignore a property in the sort order.\n\n This includes:\n - properties containing interpolation\n - properties not explicitly defined in the sort order (if ignore_unspecified is set)", "Matches the block or conditions hash", "Check if the user has permission to perform a given action on an object.\n\n can? :destroy, @project\n\n You can also pass the class instead of an instance (if you don't have one handy).\n\n can? :create, Project\n\n Nested resources can be passed through a hash, this way conditions which are\n dependent upon the association will work when using a class.\n\n can? :create, @category => Project\n\n You can also pass multiple objects to check. You only need to pass a hash\n following the pattern { :any => [many subjects] }. The behaviour is check if\n there is a permission on any of the given objects.\n\n can? :create, {:any => [Project, Rule]}\n\n\n Any additional arguments will be passed into the \"can\" block definition. This\n can be used to pass more information about the user's request for example.\n\n can? :create, Project, request.remote_ip\n\n can :create, Project do |project, remote_ip|\n # ...\n end\n\n Not only can you use the can? method in the controller and view (see ControllerAdditions),\n but you can also call it directly on an ability instance.\n\n ability.can? :destroy, @project\n\n This makes testing a user's abilities very easy.\n\n def test \"user can only destroy projects which he owns\"\n user = User.new\n ability = Ability.new(user)\n assert ability.can?(:destroy, Project.new(:user => user))\n assert ability.cannot?(:destroy, Project.new)\n end\n\n Also see the RSpec Matchers to aid in testing.", "Defines which abilities are allowed using two arguments. The first one is the action\n you're setting the permission for, the second one is the class of object you're setting it on.\n\n can :update, Article\n\n You can pass an array for either of these parameters to match any one.\n Here the user has the ability to update or destroy both articles and comments.\n\n can [:update, :destroy], [Article, Comment]\n\n You can pass :all to match any object and :manage to match any action. Here are some examples.\n\n can :manage, :all\n can :update, :all\n can :manage, Project\n\n You can pass a hash of conditions as the third argument. Here the user can only see active projects which he owns.\n\n can :read, Project, :active => true, :user_id => user.id\n\n See ActiveRecordAdditions#accessible_by for how to use this in database queries. These conditions\n are also used for initial attributes when building a record in ControllerAdditions#load_resource.\n\n If the conditions hash does not give you enough control over defining abilities, you can use a block\n along with any Ruby code you want.\n\n can :update, Project do |project|\n project.groups.include?(user.group)\n end\n\n If the block returns true then the user has that :update ability for that project, otherwise he\n will be denied access. The downside to using a block is that it cannot be used to generate\n conditions for database queries.\n\n You can pass custom objects into this \"can\" method, this is usually done with a symbol\n and is useful if a class isn't available to define permissions on.\n\n can :read, :stats\n can? :read, :stats # => true\n\n IMPORTANT: Neither a hash of conditions nor a block will be used when checking permission on a class.\n\n can :update, Project, :priority => 3\n can? :update, Project # => true\n\n If you pass no arguments to +can+, the action, class, and object will be passed to the block and the\n block will always be executed. This allows you to override the full behavior if the permissions are\n defined in an external source such as the database.\n\n can do |action, object_class, object|\n # check the database and return true/false\n end", "Defines an ability which cannot be done. Accepts the same arguments as \"can\".\n\n can :read, :all\n cannot :read, Comment\n\n A block can be passed just like \"can\", however if the logic is complex it is recommended\n to use the \"can\" method.\n\n cannot :read, Product do |product|\n product.invisible?\n end", "User shouldn't specify targets with names of real actions or it will cause Seg fault", "Adds a new Archive to a Backup Model.\n\n Backup::Model.new(:my_backup, 'My Backup') do\n archive :my_archive do |archive|\n archive.add 'path/to/archive'\n archive.add '/another/path/to/archive'\n archive.exclude 'path/to/exclude'\n archive.exclude '/another/path/to/exclude'\n end\n end\n\n All paths added using `add` or `exclude` will be expanded to their\n full paths from the root of the filesystem. Files will be added to\n the tar archive using these full paths, and their leading `/` will\n be preserved (using tar's `-P` option).\n\n /path/to/pwd/path/to/archive/...\n /another/path/to/archive/...\n\n When a `root` path is given, paths to add/exclude are taken as\n relative to the `root` path, unless given as absolute paths.\n\n Backup::Model.new(:my_backup, 'My Backup') do\n archive :my_archive do |archive|\n archive.root '~/my_data'\n archive.add 'path/to/archive'\n archive.add '/another/path/to/archive'\n archive.exclude 'path/to/exclude'\n archive.exclude '/another/path/to/exclude'\n end\n end\n\n This directs `tar` to change directories to the `root` path to create\n the archive. Unless paths were given as absolute, the paths within the\n archive will be relative to the `root` path.\n\n path/to/archive/...\n /another/path/to/archive/...\n\n For absolute paths added to this archive, the leading `/` will be\n preserved. Take note that when archives are extracted, leading `/` are\n stripped by default, so care must be taken when extracting archives with\n mixed relative/absolute paths.", "Adds an Database. Multiple Databases may be added to the model.", "Adds an Storage. Multiple Storages may be added to the model.", "Adds an Syncer. Multiple Syncers may be added to the model.", "Adds a Splitter to split the final backup package into multiple files.\n\n +chunk_size+ is specified in MiB and must be given as an Integer.\n +suffix_length+ controls the number of characters used in the suffix\n (and the maximum number of chunks possible).\n ie. 1 (-a, -b), 2 (-aa, -ab), 3 (-aaa, -aab)", "Performs the backup process\n\n Once complete, #exit_status will indicate the result of this process.\n\n If any errors occur during the backup process, all temporary files will\n be left in place. If the error occurs before Packaging, then the\n temporary folder (tmp_path/trigger) will remain and may contain all or\n some of the configured Archives and/or Database dumps. If the error\n occurs after Packaging, but before the Storages complete, then the final\n packaged files (located in the root of tmp_path) will remain.\n\n *** Important ***\n If an error occurs and any of the above mentioned temporary files remain,\n those files *** will be removed *** before the next scheduled backup for\n the same trigger.", "Returns an array of procedures that will be performed if any\n Archives or Databases are configured for the model.", "Attempts to use all configured Storages, even if some of them result in exceptions.\n Returns true or raises first encountered exception.", "Logs messages when the model starts and finishes.\n\n #exception will be set here if #exit_status is > 1,\n since log(:finished) is called before the +after+ hook.", "Finds the resulting files from the packaging procedure\n and stores an Array of suffixes used in @package.chunk_suffixes.\n If the @chunk_size was never reached and only one file\n was written, that file will be suffixed with '-aa' (or -a; -aaa; etc\n depending upon suffix_length). In which case, it will simply\n remove the suffix from the filename.", "includes required submodules into the model class,\n which usually is called User.", "add virtual password accessor and ORM callbacks.", "Comparation with other query or collection\n If other is collection - search request is executed and\n result is used for comparation\n\n @example\n UsersIndex.filter(term: {name: 'Johny'}) == UsersIndex.filter(term: {name: 'Johny'}) # => true\n UsersIndex.filter(term: {name: 'Johny'}) == UsersIndex.filter(term: {name: 'Johny'}).to_a # => true\n UsersIndex.filter(term: {name: 'Johny'}) == UsersIndex.filter(term: {name: 'Winnie'}) # => false\n\n Adds `explain` parameter to search request.\n\n @example\n UsersIndex.filter(term: {name: 'Johny'}).explain\n UsersIndex.filter(term: {name: 'Johny'}).explain(true)\n UsersIndex.filter(term: {name: 'Johny'}).explain(false)\n\n Calling explain without any arguments sets explanation flag to true.\n With `explain: true`, every result object has `_explanation`\n method\n\n @example\n UsersIndex::User.filter(term: {name: 'Johny'}).explain.first._explanation # => {...}", "Sets elasticsearch `size` search request param\n Default value is set in the elasticsearch and is 10.\n\n @example\n UsersIndex.filter{ name == 'Johny' }.limit(100)\n # => {body: {\n query: {...},\n size: 100\n }}", "Sets elasticsearch `from` search request param\n\n @example\n UsersIndex.filter{ name == 'Johny' }.offset(300)\n # => {body: {\n query: {...},\n from: 300\n }}", "Adds facets section to the search request.\n All the chained facets a merged and added to the\n search request\n\n @example\n UsersIndex.facets(tags: {terms: {field: 'tags'}}).facets(ages: {terms: {field: 'age'}})\n # => {body: {\n query: {...},\n facets: {tags: {terms: {field: 'tags'}}, ages: {terms: {field: 'age'}}}\n }}\n\n If called parameterless - returns result facets from ES performing request.\n Returns empty hash if no facets was requested or resulted.", "Adds a script function to score the search request. All scores are\n added to the search request and combinded according to\n `boost_mode` and `score_mode`\n\n @example\n UsersIndex.script_score(\"doc['boost'].value\", params: { modifier: 2 })\n # => {body:\n query: {\n function_score: {\n query: { ...},\n functions: [{\n script_score: {\n script: \"doc['boost'].value * modifier\",\n params: { modifier: 2 }\n }\n }\n }]\n } } }", "Adds a boost factor to the search request. All scores are\n added to the search request and combinded according to\n `boost_mode` and `score_mode`\n\n This probably only makes sense if you specify a filter\n for the boost factor as well\n\n @example\n UsersIndex.boost_factor(23, filter: { term: { foo: :bar} })\n # => {body:\n query: {\n function_score: {\n query: { ...},\n functions: [{\n boost_factor: 23,\n filter: { term: { foo: :bar } }\n }]\n } } }", "Adds a random score to the search request. All scores are\n added to the search request and combinded according to\n `boost_mode` and `score_mode`\n\n This probably only makes sense if you specify a filter\n for the random score as well.\n\n If you do not pass in a seed value, Time.now will be used\n\n @example\n UsersIndex.random_score(23, filter: { foo: :bar})\n # => {body:\n query: {\n function_score: {\n query: { ...},\n functions: [{\n random_score: { seed: 23 },\n filter: { foo: :bar }\n }]\n } } }", "Add a field value scoring to the search. All scores are\n added to the search request and combinded according to\n `boost_mode` and `score_mode`\n\n This function is only available in Elasticsearch 1.2 and\n greater\n\n @example\n UsersIndex.field_value_factor(\n {\n field: :boost,\n factor: 1.2,\n modifier: :sqrt\n }, filter: { foo: :bar})\n # => {body:\n query: {\n function_score: {\n query: { ...},\n functions: [{\n field_value_factor: {\n field: :boost,\n factor: 1.2,\n modifier: :sqrt\n },\n filter: { foo: :bar }\n }]\n } } }", "Add a decay scoring to the search. All scores are\n added to the search request and combinded according to\n `boost_mode` and `score_mode`\n\n The parameters have default values, but those may not\n be very useful for most applications.\n\n @example\n UsersIndex.decay(\n :gauss,\n :field,\n origin: '11, 12',\n scale: '2km',\n offset: '5km',\n decay: 0.4,\n filter: { foo: :bar})\n # => {body:\n query: {\n gauss: {\n query: { ...},\n functions: [{\n gauss: {\n field: {\n origin: '11, 12',\n scale: '2km',\n offset: '5km',\n decay: 0.4\n }\n },\n filter: { foo: :bar }\n }]\n } } }", "Sets elasticsearch `aggregations` search request param\n\n @example\n UsersIndex.filter{ name == 'Johny' }.aggregations(category_id: {terms: {field: 'category_ids'}})\n # => {body: {\n query: {...},\n aggregations: {\n terms: {\n field: 'category_ids'\n }\n }\n }}", "In this simplest of implementations each named aggregation must be uniquely named", "Deletes all documents matching a query.\n\n @example\n UsersIndex.delete_all\n UsersIndex.filter{ age <= 42 }.delete_all\n UsersIndex::User.delete_all\n UsersIndex::User.filter{ age <= 42 }.delete_all", "Find all documents matching a query.\n\n @example\n UsersIndex.find(42)\n UsersIndex.filter{ age <= 42 }.find(42)\n UsersIndex::User.find(42)\n UsersIndex::User.filter{ age <= 42 }.find(42)\n\n In all the previous examples find will return a single object.\n To get a collection - pass an array of ids.\n\n @example\n UsersIndex::User.find(42, 7, 3) # array of objects with ids in [42, 7, 3]\n UsersIndex::User.find([8, 13]) # array of objects with ids in [8, 13]\n UsersIndex::User.find([42]) # array of the object with id == 42", "A helper to build a bolt command used in acceptance testing\n @param [Beaker::Host] host the host to execute the command on\n @param [String] command the command to execute on the bolt SUT\n @param [Hash] flags the command flags to append to the command\n @option flags [String] '--nodes' the nodes to run on\n @option flags [String] '--user' the user to run the command as\n @option flags [String] '--password' the password for the user\n @option flags [nil] '--no-host-key-check' specify nil to use\n @option flags [nil] '--no-ssl' specify nil to use\n @param [Hash] opts the options hash for this method", "Count the number of top-level statements in the AST.", "Create a cache dir if necessary and update it's last write time. Returns the dir.\n Acquires @cache_dir_mutex to ensure we don't try to purge the directory at the same time.\n Uses the directory mtime because it's simpler to ensure the directory exists and update\n mtime in a single place than with a file in a directory that may not exist.", "If the file doesn't exist or is invalid redownload it\n This downloads, validates and moves into place", "This handles running the job, catching errors, and turning the result\n into a result set", "Starts executing the given block on a list of nodes in parallel, one thread per \"batch\".\n\n This is the main driver of execution on a list of targets. It first\n groups targets by transport, then divides each group into batches as\n defined by the transport. Yields each batch, along with the corresponding\n transport, to the block in turn and returns an array of result promises.", "Parses a snippet of Puppet manifest code and returns the AST represented\n in JSON.", "This converts a plan signature object into a format used by the outputter.\n Must be called from within bolt compiler to pickup type aliases used in the plan signature.", "Returns a mapping of all modules available to the Bolt compiler\n\n @return [Hash{String => Array String,nil}>}]\n A hash that associates each directory on the module path with an array\n containing a hash of information for each module in that directory.\n The information hash provides the name, version, and a string\n indicating whether the module belongs to an internal module group.", "URI can be passes as nil", "Override in your tests", "Convert an r10k log level to a bolt log level. These correspond 1-to-1\n except that r10k has debug, debug1, and debug2. The log event has the log\n level as an integer that we need to look up.", "Pass a target to get_targets for a public version of this\n Should this reconfigure configured targets?", "Prints all information associated to the breakpoint", "Main byebug's REPL", "Run permanent commands.", "Executes the received input\n\n Instantiates a command matching the input and runs it. If a matching\n command is not found, it evaluates the unknown input.", "Restores history from disk.", "Saves history to disk.", "Prints the requested numbers of history entries.", "Whether a specific command should not be stored in history.\n\n For now, empty lines and consecutive duplicates.", "Delegates to subcommands or prints help if no subcommand specified.", "Gets local variables for the frame.", "Builds a string containing all available args in the frame number, in a\n verbose or non verbose way according to the value of the +callstyle+\n setting", "Context's stack size", "Line range to be printed by `list`.\n\n If is set, range is parsed from it.\n\n Otherwise it's automatically chosen.", "Set line range to be printed by list\n\n @return first line number to list\n @return last line number to list", "Show a range of lines in the current file.\n\n @param min [Integer] Lower bound\n @param max [Integer] Upper bound", "Starts byebug to debug a program.", "Processes options passed from the command line.", "Reads a new line from the interface's input stream, parses it into\n commands and saves it to history.\n\n @return [String] Representing something to be run by the debugger.", "Raw content of license file, including YAML front matter", "Given another license or project file, calculates the similarity\n as a percentage of words in common", "Content with the title and version removed\n The first time should normally be the attribution line\n Used to dry up `content_normalized` but we need the case sensitive\n content with attribution first to detect attribuion in LicenseFile", "this is where users arrive after visiting the password reset confirmation link", "this action is responsible for generating unlock tokens and\n sending emails", "intermediary route for successful omniauth authentication. omniauth does\n not support multiple models, so we must resort to this terrible hack.", "this will be determined differently depending on the action that calls\n it. redirect_callbacks is called upon returning from successful omniauth\n authentication, and the target params live in an omniauth-specific\n request.env variable. this variable is then persisted thru the redirect\n using our own dta.omniauth.params session var. the omniauth_success\n method will access that session var and then destroy it immediately\n after use. In the failure case, finally, the omniauth params\n are added as query params in our monkey patch to OmniAuth in engine.rb", "break out provider attribute assignment for easy method extension", "derive allowed params from the standard devise parameter sanitizer", "This is a little hacky, because Bitbucket doesn't provide us a PR id", "The paths are relative to dir.", "Could we determine that the CI source is inside a PR?", "Prints a summary of the errors and warnings.", "Rules that apply to a class", "Rules that apply to individual methods, and attributes", "Generates a link to see an example of said rule", "Takes an array of files, gems or nothing, then resolves them into\n paths that should be sent into the documentation parser\n When given existing paths, map to absolute & existing paths\n When given a list of gems, resolve for list of gems\n When empty, imply you want to test the current lib folder as a plugin", "Determine if there's a PR attached to this commit,\n and return the url if so", "Ask the API if the commit is inside a PR", "Make the API call, and parse the JSON", "Raises an error when the given block does not register a plugin.", "Iterates through the DSL's attributes, and table's the output", "The message of the exception reports the content of podspec for the\n line that generated the original exception.\n\n @example Output\n\n Invalid podspec at `RestKit.podspec` - undefined method\n `exclude_header_search_paths=' for #\n\n from spec-repos/master/RestKit/0.9.3/RestKit.podspec:36\n -------------------------------------------\n # because it would break: #import \n > ns.exclude_header_search_paths = 'Code/RestKit.h'\n end\n -------------------------------------------\n\n @return [String] the message of the exception.", "start all the watchers and enable haproxy configuration", "if we don't have a visit, let's try to create one first", "can't use keyword arguments here", "replace % \\ to \\% \\\\", "This method is both a getter and a setter", "added for rails < 3.0.3 compatibility", "this is the entry point for all state and event definitions", "a neutered version of fire - it doesn't actually fire the event, it just\n executes the transition guards to determine if a transition is even\n an option given current conditions.", "Load the Encryption Configuration from a YAML file.\n\n See: `.load!` for parameters.\n Returns [Hash] the configuration for the supplied environment.", "Encrypt data before writing to the supplied stream\n Close the IO Stream.\n\n Notes:\n * Flushes any unwritten data.\n * Once an EncryptionWriter has been closed a new instance must be\n created before writing again.\n * Closes the passed in io stream or file.\n * `close` must be called _before_ the supplied stream is closed.\n\n It is recommended to call Symmetric::EncryptedStream.open\n rather than creating an instance of Symmetric::Writer directly to\n ensure that the encrypted stream is closed before the stream itself is closed.", "Encrypt and then encode a string\n\n Returns data encrypted and then encoded according to the encoding setting\n of this cipher\n Returns nil if str is nil\n Returns \"\" str is empty\n\n Parameters\n\n str [String]\n String to be encrypted. If str is not a string, #to_s will be called on it\n to convert it to a string\n\n random_iv [true|false]\n Whether the encypted value should use a random IV every time the\n field is encrypted.\n Notes:\n * Setting random_iv to true will result in a different encrypted output for\n the same input string.\n * It is recommended to set this to true, except if it will be used as a lookup key.\n * Only set to true if the field will never be used as a lookup key, since\n the encrypted value needs to be same every time in this case.\n * When random_iv is true it adds the random IV string to the header.\n Default: false\n Highly Recommended where feasible: true\n\n compress [true|false]\n Whether to compress str before encryption.\n Default: false\n Notes:\n * Should only be used for large strings since compression overhead and\n the overhead of adding the encryption header may exceed any benefits of\n compression", "Decode and Decrypt string\n Returns a decrypted string after decoding it first according to the\n encoding setting of this cipher\n Returns nil if encrypted_string is nil\n Returns '' if encrypted_string == ''\n\n Parameters\n encrypted_string [String]\n Binary encrypted string to decrypt\n\n Reads the header if present for key, iv, cipher_name and compression\n\n encrypted_string must be in raw binary form when calling this method\n\n Creates a new OpenSSL::Cipher with every call so that this call\n is thread-safe and can be called concurrently by multiple threads with\n the same instance of Cipher", "Advanced use only\n\n Returns a Binary encrypted string without applying Base64, or any other encoding.\n\n str [String]\n String to be encrypted. If str is not a string, #to_s will be called on it\n to convert it to a string\n\n random_iv [true|false]\n Whether the encypted value should use a random IV every time the\n field is encrypted.\n Notes:\n * Setting random_iv to true will result in a different encrypted output for\n the same input string.\n * It is recommended to set this to true, except if it will be used as a lookup key.\n * Only set to true if the field will never be used as a lookup key, since\n the encrypted value needs to be same every time in this case.\n * When random_iv is true it adds the random IV string to the header.\n Default: false\n Highly Recommended where feasible: true\n\n compress [true|false]\n Whether to compress str before encryption.\n Default: false\n Notes:\n * Should only be used for large strings since compression overhead and\n the overhead of adding the encryption header may exceed any benefits of\n compression\n\n header [true|false]\n Whether to add a header to the encrypted string.\n Default: `always_add_header`\n\n See #encrypt to encrypt and encode the result as a string.", "Extracts a string from the supplied buffer.\n The buffer starts with a 2 byte length indicator in little endian format.\n\n Parameters\n buffer [String]\n offset [Integer]\n Start position within the buffer.\n\n Returns [string, offset]\n string [String]\n The string copied from the buffer.\n offset [Integer]\n The new offset within the buffer.", "Reads a single decrypted line from the file up to and including the optional sep_string.\n A sep_string of nil reads the entire contents of the file\n Returns nil on eof\n The stream must be opened for reading or an IOError will be raised.", "Read the header from the file if present", "Yields each item", "Return an instance of what the object looked like at this revision. If\n the object has been destroyed, this will be a new record.", "Returns a hash of the changed attributes with the new values", "Returns a hash of the changed attributes with the old values", "Allows user to undo changes", "Allows user to be set to either a string or an ActiveRecord object\n @private", "Renders an existing named table or builds and renders a custom table if a block is provided.\n\n name - The (optional) name of the table to render (as a Symbol), or the actual Trestle::Table instance itself.\n options - Hash of options that will be passed to the table builder (default: {}):\n :collection - The collection that should be rendered within the table. It should be an\n Array-like object, but will most likely be an ActiveRecord scope. It can\n also be a callable object (i.e. a Proc) in which case the result of calling\n the block will be used as the collection.\n See Trestle::Table::Builder for additional options.\n block - An optional block that is passed to Trestle::Table::Builder to define a custom table.\n One of either the name or block must be provided, but not both.\n\n Examples\n\n <%= table collection: -> { Account.all }, admin: :accounts do %>\n <% column(:name) %>\n <% column(:balance) { |account| account.balance.format } %>\n <% column(:created_at, align: :center)\n <% end %>\n\n <%= table :accounts %>\n\n Returns the HTML representation of the table as a HTML-safe String.", "Custom version of Kaminari's page_entries_info helper to use a\n Trestle-scoped I18n key and add a delimiter to the total count.", "Register an extension hook", "Rolls the stack back to this deploy", "Go from a full Swift version like 4.2.1 to\n something valid for SWIFT_VERSION.", "Gets the related Resource Id Tree for a relationship, and creates it first if it does not exist\n\n @param relationship [JSONAPI::Relationship]\n\n @return [JSONAPI::RelatedResourceIdTree] the new or existing resource id tree for the requested relationship", "Adds a Resource Fragment to the Resources hash\n\n @param fragment [JSONAPI::ResourceFragment]\n @param include_related [Hash]\n\n @return [null]", "Adds a Resource Fragment to the fragments hash\n\n @param fragment [JSONAPI::ResourceFragment]\n @param include_related [Hash]\n\n @return [null]", "Create a new object for connecting to the Stackdriver Error Reporting\n service. Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/cloud-platform`\n\n @param [Integer] timeout Default timeout to use in requests. Optional.\n @param [Hash] client_config A hash of values to override the default\n behavior of the API client. Optional.\n\n @return [Google::Cloud::ErrorReporting::Project]\n\n @example\n require \"google/cloud/error_reporting\"\n\n gcloud = Google::Cloud.new \"GCP_Project_ID\",\n \"/path/to/gcp/secretkey.json\"\n error_reporting = gcloud.error_reporting\n\n error_event = error_reporting.error_event \"Error with Backtrace\",\n event_time: Time.now,\n service_name: \"my_app_name\",\n service_version: \"v8\"\n error_reporting.report error_event", "Creates a new object for connecting to the DNS service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/ndev.clouddns.readwrite`\n @param [Integer] retries Number of times to retry requests on server\n error. The default value is `3`. Optional.\n @param [Integer] timeout Default timeout to use in requests. Optional.\n\n @return [Google::Cloud::Dns::Project]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n dns = gcloud.dns\n zone = dns.zone \"example-com\"\n zone.records.each do |record|\n puts record.name\n end\n\n @example The default scope can be overridden with the `scope` option:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n dns_readonly = \"https://www.googleapis.com/auth/ndev.clouddns.readonly\"\n dns = gcloud.dns scope: dns_readonly", "Creates a new object for connecting to the Spanner service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scopes are:\n\n * `https://www.googleapis.com/auth/spanner`\n * `https://www.googleapis.com/auth/spanner.data`\n @param [Integer] timeout Default timeout to use in requests. Optional.\n @param [Hash] client_config A hash of values to override the default\n behavior of the API client. Optional.\n\n @return [Google::Cloud::Spanner::Project]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n spanner = gcloud.spanner\n\n @example The default scope can be overridden with the `scope` option:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n platform_scope = \"https://www.googleapis.com/auth/cloud-platform\"\n spanner = gcloud.spanner scope: platform_scope", "Creates a new object for connecting to the Stackdriver Logging service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/logging.admin`\n\n @param [Integer] timeout Default timeout to use in requests. Optional.\n @param [Hash] client_config A hash of values to override the default\n behavior of the API client. Optional.\n\n @return [Google::Cloud::Logging::Project]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n logging = gcloud.logging\n\n entries = logging.entries\n entries.each do |e|\n puts \"[#{e.timestamp}] #{e.log_name} #{e.payload.inspect}\"\n end\n\n @example The default scope can be overridden with the `scope` option:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n platform_scope = \"https://www.googleapis.com/auth/cloud-platform\"\n logging = gcloud.logging scope: platform_scope", "Creates a new object for connecting to the BigQuery service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/bigquery`\n @param [Integer] retries Number of times to retry requests on server\n error. The default value is `5`. Optional.\n @param [Integer] timeout Default request timeout in seconds. Optional.\n\n @return [Google::Cloud::Bigquery::Project]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n bigquery = gcloud.bigquery\n dataset = bigquery.dataset \"my_dataset\"\n table = dataset.table \"my_table\"\n table.data.each do |row|\n puts row\n end\n\n @example The default scope can be overridden with the `scope` option:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n platform_scope = \"https://www.googleapis.com/auth/cloud-platform\"\n bigquery = gcloud.bigquery scope: platform_scope", "Creates a new debugger object for instrumenting Stackdriver Debugger for\n an application. Each call creates a new debugger agent with independent\n connection service.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String] service_name Name for the debuggee application. Optional.\n @param [String] service_version Version identifier for the debuggee\n application. Optional.\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/cloud_debugger`\n * `https://www.googleapis.com/auth/logging.admin`\n\n @param [Integer] timeout Default timeout to use in requests. Optional.\n @param [Hash] client_config A hash of values to override the default\n behavior of the API client. Optional.\n\n @return [Google::Cloud::Debugger::Project]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n debugger = gcloud.debugger\n\n debugger.start\n\n @example The default scope can be overridden with the `scope` option:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n platform_scope = \"https://www.googleapis.com/auth/cloud-platform\"\n debugger = gcloud.debugger scope: platform_scope", "Creates a new object for connecting to the Datastore service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/datastore`\n @param [Integer] timeout Default timeout to use in requests. Optional.\n @param [Hash] client_config A hash of values to override the default\n behavior of the API client. See Google::Gax::CallSettings. Optional.\n\n @return [Google::Cloud::Datastore::Dataset]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n datastore = gcloud.datastore\n\n task = datastore.entity \"Task\" do |t|\n t[\"type\"] = \"Personal\"\n t[\"done\"] = false\n t[\"priority\"] = 4\n t[\"description\"] = \"Learn Cloud Datastore\"\n end\n\n datastore.save task\n\n @example You shouldn't need to override the default scope, but you can:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n platform_scope = \"https://www.googleapis.com/auth/cloud-platform\"\n datastore = gcloud.datastore scope: platform_scope", "Creates a new object for connecting to the Resource Manager service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/cloud-platform`\n @param [Integer] retries Number of times to retry requests on server\n error. The default value is `3`. Optional.\n @param [Integer] timeout Default timeout to use in requests. Optional.\n\n @return [Google::Cloud::ResourceManager::Manager]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n resource_manager = gcloud.resource_manager\n resource_manager.projects.each do |project|\n puts projects.project_id\n end\n\n @example The default scope can be overridden with the `scope` option:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n readonly_scope = \\\n \"https://www.googleapis.com/auth/cloudresourcemanager.readonly\"\n resource_manager = gcloud.resource_manager scope: readonly_scope", "Creates a new object for connecting to the Storage service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @see https://cloud.google.com/storage/docs/authentication#oauth Storage\n OAuth 2.0 Authentication\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/devstorage.full_control`\n @param [Integer] retries Number of times to retry requests on server\n error. The default value is `3`. Optional.\n @param [Integer] timeout Default timeout to use in requests. Optional.\n\n @return [Google::Cloud::Storage::Project]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n storage = gcloud.storage\n bucket = storage.bucket \"my-bucket\"\n file = bucket.file \"path/to/my-file.ext\"\n\n @example The default scope can be overridden with the `scope` option:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n readonly_scope = \"https://www.googleapis.com/auth/devstorage.read_only\"\n readonly_storage = gcloud.storage scope: readonly_scope", "Creates a new object for connecting to the Cloud Translation API. Each\n call creates a new connection.\n\n Like other Cloud Platform services, Google Cloud Translation API supports\n authentication using a project ID and OAuth 2.0 credentials. In addition,\n it supports authentication using a public API access key. (If both the API\n key and the project and OAuth 2.0 credentials are provided, the API key\n will be used.) Instructions and configuration options are covered in the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String] key a public API access key (not an OAuth 2.0 token)\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/cloud-platform`\n @param [Integer] retries Number of times to retry requests on server\n error. The default value is `3`. Optional.\n @param [Integer] timeout Default timeout to use in requests. Optional.\n\n @return [Google::Cloud::Translate::Api]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n translate = gcloud.translate \"api-key-abc123XYZ789\"\n\n translation = translate.translate \"Hello world!\", to: \"la\"\n translation.text #=> \"Salve mundi!\"\n\n @example Using API Key from the environment variable.\n require \"google/cloud\"\n\n ENV[\"TRANSLATE_KEY\"] = \"api-key-abc123XYZ789\"\n\n gcloud = Google::Cloud.new\n translate = gcloud.translate\n\n translation = translate.translate \"Hello world!\", to: \"la\"\n translation.text #=> \"Salve mundi!\"", "Creates a new object for connecting to the Firestore service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/datastore`\n @param [Integer] timeout Default timeout to use in requests. Optional.\n @param [Hash] client_config A hash of values to override the default\n behavior of the API client. Optional.\n\n @return [Google::Cloud::Firestore::Client]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n firestore = gcloud.firestore\n\n @example The default scope can be overridden with the `scope` option:\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n platform_scope = \"https://www.googleapis.com/auth/cloud-platform\"\n firestore = gcloud.firestore scope: platform_scope", "Creates a new object for connecting to the Stackdriver Trace service.\n Each call creates a new connection.\n\n For more information on connecting to Google Cloud see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param [String, Array] scope The OAuth 2.0 scopes controlling the\n set of resources and operations that the connection can access. See\n [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n\n The default scope is:\n\n * `https://www.googleapis.com/auth/cloud-platform`\n\n @param [Integer] timeout Default timeout to use in requests. Optional.\n\n @return [Google::Cloud::Trace::Project]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n trace_client = gcloud.trace\n\n traces = trace_client.list_traces Time.now - 3600, Time.now\n traces.each do |trace|\n puts \"Retrieved trace ID: #{trace.trace_id}\"\n end", "Creates a new object for connecting to the Cloud Bigtable service.\n\n For more information on connecting to Google Cloud Platform, see the\n {file:AUTHENTICATION.md Authentication Guide}.\n\n @param scope [Array]\n The OAuth 2.0 scopes controlling the set of resources and operations\n that the connection can access. See [Using OAuth 2.0 to Access Google\n APIs](https://developers.google.com/identity/protocols/OAuth2).\n The OAuth scopes for this service. This parameter is ignored if an\n updater_proc is supplied.\n @param timeout [Integer]\n The default timeout, in seconds, for calls made through this client.\n @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]\n Provides the means for authenticating requests made by the client. This parameter can\n be one of the following types.\n `Google::Auth::Credentials` uses the properties of its represented keyfile for\n authenticating requests made by this client.\n `String` will be treated as the path to the keyfile to use to construct\n credentials for this client.\n `Hash` will be treated as the contents of a keyfile to use to construct\n credentials for this client.\n `GRPC::Core::Channel` will be used to make calls through.\n `GRPC::Core::ChannelCredentials` will be used to set up the gRPC client. The channel credentials\n should already be composed with a `GRPC::Core::CallCredentials` object.\n `Proc` will be used as an updater_proc for the gRPC channel. The proc transforms the\n metadata for requests, generally, to give OAuth credentials.\n @param client_config [Hash]\n A hash for call options for each method.\n See Google::Gax#construct_settings for the structure of\n this data. Falls back to the default config if not specified\n or the specified config is missing data points.\n @return [Google::Cloud::Bigtable::Project]\n\n @example\n require \"google/cloud\"\n\n gcloud = Google::Cloud.new\n\n bigtable = gcloud.bigtable", "Compare two hashes for equality\n\n For two hashes to match they must have the same length and all\n values must match when compared using `#===`.\n\n The following hashes are examples of matches:\n\n {a: /\\d+/} and {a: '123'}\n\n {a: '123'} and {a: '123'}\n\n {a: {b: /\\d+/}} and {a: {b: '123'}}\n\n {a: {b: 'wow'}} and {a: {b: 'wow'}}\n\n @param [Hash] query_parameters typically the result of parsing\n JSON, XML or URL encoded parameters.\n\n @param [Hash] pattern which contains keys with a string, hash or\n regular expression value to use for comparison.\n\n @return [Boolean] true if the paramaters match the comparison\n hash, false if not.", "Apply all filters in the pipeline to the given HTML.\n\n html - A String containing HTML or a DocumentFragment object.\n context - The context hash passed to each filter. See the Filter docs\n for more info on possible values. This object MUST NOT be modified\n in place by filters. Use the Result for passing state back.\n result - The result Hash passed to each filter for modification. This\n is where Filters store extracted information from the content.\n\n Returns the result Hash after being filtered by this Pipeline. Contains an\n :output key with the DocumentFragment or String HTML markup based on the\n output of the last filter in the pipeline.", "Like call but guarantee the value returned is a DocumentFragment.\n Pipelines may return a DocumentFragment or a String. Callers that need a\n DocumentFragment should use this method.", "Like call but guarantee the value returned is a string of HTML markup.", "Total number of pages", "Current page number", "Used for page_entry_info", "Executes a watcher action.\n\n @param [String, MatchData] matches the matched path or the match from the\n Regex\n @return [String] the final paths", "Start Guard by initializing the defined Guard plugins and watch the file\n system.\n\n This is the default task, so calling `guard` is the same as calling\n `guard start`.\n\n @see Guard.start", "List the Notifiers for use in your system.\n\n @see Guard::DslDescriber.notifiers", "Initializes the templates of all installed Guard plugins and adds them\n to the `Guardfile` when no Guard name is passed. When passing\n Guard plugin names it does the same but only for those Guard plugins.\n\n @see Guard::Guardfile.initialize_template\n @see Guard::Guardfile.initialize_all_templates\n\n @param [Array] plugin_names the name of the Guard plugins to\n initialize", "Shows all Guard plugins and their options that are defined in\n the `Guardfile`\n\n @see Guard::DslDescriber.show", "Adds a plugin's template to the Guardfile.", "Returns the constant for the current plugin.\n\n @example Returns the constant for a plugin\n > Guard::PluginUtil.new('rspec').send(:_plugin_constant)\n => Guard::RSpec", "Sets the interactor options or disable the interactor.\n\n @example Pass options to the interactor\n interactor option1: 'value1', option2: 'value2'\n\n @example Turn off interactions\n interactor :off\n\n @param [Symbol, Hash] options either `:off` or a Hash with interactor\n options", "Declares a Guard plugin to be used when running `guard start`.\n\n The name parameter is usually the name of the gem without\n the 'guard-' prefix.\n\n The available options are different for each Guard implementation.\n\n @example Declare a Guard without `watch` patterns\n guard :rspec\n\n @example Declare a Guard with a `watch` pattern\n guard :rspec do\n watch %r{.*_spec.rb}\n end\n\n @param [String] name the Guard plugin name\n @param [Hash] options the options accepted by the Guard plugin\n @yield a block where you can declare several watch patterns and actions\n\n @see Plugin\n @see Guard.add_plugin\n @see #watch\n @see #group", "Defines a pattern to be watched in order to run actions on file\n modification.\n\n @example Declare watchers for a Guard\n guard :rspec do\n watch('spec/spec_helper.rb')\n watch(%r{^.+_spec.rb})\n watch(%r{^app/controllers/(.+).rb}) do |m|\n 'spec/acceptance/#{m[1]}s_spec.rb'\n end\n end\n\n @example Declare global watchers outside of a Guard\n watch(%r{^(.+)$}) { |m| puts \"#{m[1]} changed.\" }\n\n @param [String, Regexp] pattern the pattern that Guard must watch for\n modification\n\n @yield a block to be run when the pattern is matched\n @yieldparam [MatchData] m matches of the pattern\n @yieldreturn a directory, a filename, an array of\n directories / filenames, or nothing (can be an arbitrary command)\n\n @see Guard::Watcher\n @see #guard", "Defines a callback to execute arbitrary code before or after any of\n the `start`, `stop`, `reload`, `run_all`, `run_on_changes`,\n `run_on_additions`, `run_on_modifications` and `run_on_removals` plugin\n method.\n\n @example Add callback before the `reload` action.\n callback(:reload_begin) { puts \"Let's reload!\" }\n\n @example Add callback before the `start` and `stop` actions.\n\n my_lambda = lambda do |plugin, event, *args|\n puts \"Let's #{event} #{plugin} with #{args}!\"\n end\n\n callback(my_lambda, [:start_begin, :start_end])\n\n @param [Array] args the callback arguments\n @yield a callback block", "Configures the Guard logger.\n\n * Log level must be either `:debug`, `:info`, `:warn` or `:error`.\n * Template supports the following placeholders: `:time`, `:severity`,\n `:progname`, `:pid`, `:unit_of_work_id` and `:message`.\n * Time format directives are the same as `Time#strftime` or\n `:milliseconds`.\n * The `:only` and `:except` options must be a `RegExp`.\n\n @example Set the log level\n logger level: :warn\n\n @example Set a custom log template\n logger template: '[Guard - :severity - :progname - :time] :message'\n\n @example Set a custom time format\n logger time_format: '%h'\n\n @example Limit logging to a Guard plugin\n logger only: :jasmine\n\n @example Log all but not the messages from a specific Guard plugin\n logger except: :jasmine\n\n @param [Hash] options the log options\n @option options [String, Symbol] level the log level\n @option options [String] template the logger template\n @option options [String, Symbol] time_format the time format\n @option options [Regexp] only show only messages from the matching Guard\n plugin\n @option options [Regexp] except does not show messages from the matching\n Guard plugin", "Sets the directories to pass to Listen\n\n @example watch only given directories\n directories %w(lib specs)\n\n @param [Array] directories directories for Listen to watch", "Start Guard by evaluating the `Guardfile`, initializing declared Guard\n plugins and starting the available file change listener.\n Main method for Guard that is called from the CLI when Guard starts.\n\n - Setup Guard internals\n - Evaluate the `Guardfile`\n - Configure Notifiers\n - Initialize the declared Guard plugins\n - Start the available file change listener\n\n @option options [Boolean] clear if auto clear the UI should be done\n @option options [Boolean] notify if system notifications should be shown\n @option options [Boolean] debug if debug output should be shown\n @option options [Array] group the list of groups to start\n @option options [String] watchdir the director to watch\n @option options [String] guardfile the path to the Guardfile\n @see CLI#start", "Trigger `run_all` on all Guard plugins currently enabled.\n\n @param [Hash] scopes hash with a Guard plugin or a group scope", "Pause Guard listening to file changes.", "Shows all Guard plugins and their options that are defined in\n the `Guardfile`.\n\n @see CLI#show", "Shows all notifiers and their options that are defined in\n the `Guardfile`.\n\n @see CLI#show", "Runs a Guard-task on all registered plugins.\n\n @param [Symbol] task the task to run\n\n @param [Hash] scope_hash either the Guard plugin or the group to run the task\n on", "Runs the appropriate tasks on all registered plugins\n based on the passed changes.\n\n @param [Array] modified the modified paths.\n @param [Array] added the added paths.\n @param [Array] removed the removed paths.", "Run a Guard plugin task, but remove the Guard plugin when his work leads\n to a system failure.\n\n When the Group has `:halt_on_fail` disabled, we've to catch\n `:task_has_failed` here in order to avoid an uncaught throw error.\n\n @param [Guard::Plugin] plugin guard the Guard to execute\n @param [Symbol] task the task to run\n @param [Array] args the arguments for the task\n @raise [:task_has_failed] when task has failed", "Value of the Content-Length header.\n\n @return [nil] if Content-Length was not given, or it's value was invalid\n (not an integer, e.g. empty string or string with non-digits).\n @return [Integer] otherwise", "Read a chunk of the body\n\n @return [String] data chunk\n @return [nil] when no more data left", "Sets up SSL context and starts TLS if needed.\n @param (see #initialize)\n @return [void]", "Open tunnel through proxy", "Store whether the connection should be kept alive.\n Once we reset the parser, we lose all of this state.\n @return [void]", "Feeds some more data into parser\n @return [void]", "Make a request through an HTTP proxy\n @param [Array] proxy\n @raise [Request::Error] if HTTP proxy is invalid", "Make a request with the given Basic authorization header\n @see http://tools.ietf.org/html/rfc2617\n @param [#fetch] opts\n @option opts [#to_s] :user\n @option opts [#to_s] :pass", "Make an HTTP request", "Prepare an HTTP request", "Verify our request isn't going to be made against another URI", "Merges query params if needed\n\n @param [#to_s] uri\n @return [URI]", "Create the request body object to send", "Removes header.\n\n @param [#to_s] name header name\n @return [void]", "Appends header.\n\n @param [#to_s] name header name\n @param [Array<#to_s>, #to_s] value header value(s) to be appended\n @return [void]", "Returns list of header values if any.\n\n @return [Array]", "Tells whenever header with given `name` is set or not.\n\n @return [Boolean]", "Merges `other` headers into `self`.\n\n @see #merge\n @return [void]", "Transforms `name` to canonical HTTP header capitalization\n\n @param [String] name\n @raise [HeaderError] if normalized name does not\n match {HEADER_NAME_RE}\n @return [String] canonical HTTP header name", "Ensures there is no new line character in the header value\n\n @param [String] value\n @raise [HeaderError] if value includes new line character\n @return [String] stringified header value", "Redirect policy for follow\n @return [Request]", "Stream the request to a socket", "Headers to send with proxy connect request", "returns all values in this column as an array\n column numbers are 1,2,3,... like in the spreadsheet", "returns the internal format of an excel cell", "Extracts all needed files from the zip file", "If the ODS file has an encryption-data element, then try to decrypt.\n If successful, the temporary content.xml will be overwritten with\n decrypted contents.", "Process the ODS encryption manifest and perform the decryption", "Create a cipher key based on an ODS algorithm string from manifest.xml", "Block decrypt raw bytes from the zip file based on the cipher", "helper function to set the internal representation of cells", "Compute upper bound for cells in a given cell range.", "Catalog a bundle.\n\n @param bundle [Bundle]\n @return [self]", "Get a clip by filename and position.\n\n @param filename [String]\n @param position [Position, Array(Integer, Integer)]\n @return [SourceMap::Clip]", "Get suggestions for constants in the specified namespace. The result\n may contain both constant and namespace pins.\n\n @param namespace [String] The namespace\n @param context [String] The context\n @return [Array]", "Get a fully qualified namespace name. This method will start the search\n in the specified context until it finds a match for the name.\n\n @param namespace [String, nil] The namespace to match\n @param context [String] The context to search\n @return [String]", "Get an array of instance variable pins defined in specified namespace\n and scope.\n\n @param namespace [String] A fully qualified namespace\n @param scope [Symbol] :instance or :class\n @return [Array]", "Get an array of methods available in a particular context.\n\n @param fqns [String] The fully qualified namespace to search for methods\n @param scope [Symbol] :class or :instance\n @param visibility [Array] :public, :protected, and/or :private\n @param deep [Boolean] True to include superclasses, mixins, etc.\n @return [Array]", "Get an array of method pins for a complex type.\n\n The type's namespace and the context should be fully qualified. If the\n context matches the namespace type or is a subclass of the type,\n protected methods are included in the results. If protected methods are\n included and internal is true, private methods are also included.\n\n @example\n api_map = Solargraph::ApiMap.new\n type = Solargraph::ComplexType.parse('String')\n api_map.get_complex_type_methods(type)\n\n @param type [Solargraph::ComplexType] The complex type of the namespace\n @param context [String] The context from which the type is referenced\n @param internal [Boolean] True to include private methods\n @return [Array]", "Get a stack of method pins for a method name in a namespace. The order\n of the pins corresponds to the ancestry chain, with highest precedence\n first.\n\n @example\n api_map.get_method_stack('Subclass', 'method_name')\n #=> [ , ]\n\n @param fqns [String]\n @param name [String]\n @param scope [Symbol] :instance or :class\n @return [Array]", "Get an array of all suggestions that match the specified path.\n\n @deprecated Use #get_path_pins instead.\n\n @param path [String] The path to find\n @return [Array]", "Get a list of documented paths that match the query.\n\n @example\n api_map.query('str') # Results will include `String` and `Struct`\n\n @param query [String] The text to match\n @return [Array]", "Get YARD documentation for the specified path.\n\n @example\n api_map.document('String#split')\n\n @param path [String] The path to find\n @return [Array]", "Get an array of all symbols in the workspace that match the query.\n\n @param query [String]\n @return [Array]", "Require extensions for the experimental plugin architecture. Any\n installed gem with a name that starts with \"solargraph-\" is considered\n an extension.\n\n @return [void]", "Sort an array of pins to put nil or undefined variables last.\n\n @param pins [Array]\n @return [Array]", "Check if a class is a superclass of another class.\n\n @param sup [String] The superclass\n @param sub [String] The subclass\n @return [Boolean]", "True if the specified position is inside the range.\n\n @param position [Position, Array(Integer, Integer)]\n @return [Boolean]", "True if the range contains the specified position and the position does not precede it.\n\n @param position [Position, Array(Integer, Integer)]\n @return [Boolean]", "Get an array of nodes containing the specified index, starting with the\n nearest node and ending with the root.\n\n @param line [Integer]\n @param column [Integer]\n @return [Array]", "Synchronize the Source with an update. This method applies changes to the\n code, parses the new code's AST, and returns the resulting Source object.\n\n @param updater [Source::Updater]\n @return [Source]", "A location representing the file in its entirety.\n\n @return [Location]", "Get a hash of comments grouped by the line numbers of the associated code.\n\n @return [Hash{Integer => Array}]", "Get a string representation of an array of comments.\n\n @param comments [Array]\n @return [String]", "Get an array of foldable comment block ranges. Blocks are excluded if\n they are less than 3 lines long.\n\n @return [Array]", "Merge the source. A merge will update the existing source for the file\n or add it to the sources if the workspace is configured to include it.\n The source is ignored if the configuration excludes it.\n\n @param source [Solargraph::Source]\n @return [Boolean] True if the source was added to the workspace", "Determine whether a file would be merged into the workspace.\n\n @param filename [String]\n @return [Boolean]", "Remove a source from the workspace. The source will not be removed if\n its file exists and the workspace is configured to include it.\n\n @param filename [String]\n @return [Boolean] True if the source was removed from the workspace", "True if the path resolves to a file in the workspace's require paths.\n\n @param path [String]\n @return [Boolean]", "Synchronize the workspace from the provided updater.\n\n @param updater [Source::Updater]\n @return [void]", "Generate require paths from gemspecs if they exist or assume the default\n lib directory.\n\n @return [Array]", "Get additional require paths defined in the configuration.\n\n @return [Array]", "Create a source to be added to the workspace. The file is ignored if it is\n neither open in the library nor included in the workspace.\n\n @param filename [String]\n @param text [String] The contents of the file\n @return [Boolean] True if the file was added to the workspace.", "Create a file source from a file on disk. The file is ignored if it is\n neither open in the library nor included in the workspace.\n\n @param filename [String]\n @return [Boolean] True if the file was added to the workspace.", "Delete a file from the library. Deleting a file will make it unavailable\n for checkout and optionally remove it from the workspace unless the\n workspace configuration determines that it should still exist.\n\n @param filename [String]\n @return [Boolean] True if the file was deleted", "Get completion suggestions at the specified file and location.\n\n @param filename [String] The file to analyze\n @param line [Integer] The zero-based line number\n @param column [Integer] The zero-based column number\n @return [SourceMap::Completion]\n @todo Take a Location instead of filename/line/column", "Get definition suggestions for the expression at the specified file and\n location.\n\n @param filename [String] The file to analyze\n @param line [Integer] The zero-based line number\n @param column [Integer] The zero-based column number\n @return [Array]\n @todo Take filename/position instead of filename/line/column", "Get signature suggestions for the method at the specified file and\n location.\n\n @param filename [String] The file to analyze\n @param line [Integer] The zero-based line number\n @param column [Integer] The zero-based column number\n @return [Array]\n @todo Take filename/position instead of filename/line/column", "Get diagnostics about a file.\n\n @param filename [String]\n @return [Array]", "Update the ApiMap from the library's workspace and open files.\n\n @return [void]", "Try to merge a source into the library's workspace. If the workspace is\n not configured to include the source, it gets ignored.\n\n @param source [Source]\n @return [Boolean] True if the source was merged into the workspace.", "Get the source for an open file or create a new source if the file\n exists on disk. Sources created from disk are not added to the open\n workspace files, i.e., the version on disk remains the authoritative\n version.\n\n @raise [FileNotFoundError] if the file does not exist\n @param filename [String]\n @return [Solargraph::Source]", "Removes the given header fields from options and returns the result. This\n modifies the given options in place.\n\n @param [Hash] options\n\n @return [Hash]", "Unseal the vault with the given shard.\n\n @example\n Vault.sys.unseal(\"abcd-1234\") #=> #\n\n @param [String] shard\n the key to use\n\n @return [SealStatus]", "List the secrets at the given path, if the path supports listing. If the\n the path does not exist, an exception will be raised.\n\n @example\n Vault.logical.list(\"secret\") #=> [#, #, ...]\n\n @param [String] path\n the path to list\n\n @return [Array]", "Read the secret at the given path. If the secret does not exist, +nil+\n will be returned.\n\n @example\n Vault.logical.read(\"secret/password\") #=> #\n\n @param [String] path\n the path to read\n\n @return [Secret, nil]", "Unwrap the data stored against the given token. If the secret does not\n exist, `nil` will be returned.\n\n @example\n Vault.logical.unwrap(\"f363dba8-25a7-08c5-430c-00b2367124e6\") #=> #\n\n @param [String] wrapper\n the token to use when unwrapping the value\n\n @return [Secret, nil]", "Unwrap a token in a wrapped response given the temporary token.\n\n @example\n Vault.logical.unwrap(\"f363dba8-25a7-08c5-430c-00b2367124e6\") #=> \"0f0f40fd-06ce-4af1-61cb-cdc12796f42b\"\n\n @param [String, Secret] wrapper\n the token to unwrap\n\n @return [String, nil]", "List all auths in Vault.\n\n @example\n Vault.sys.auths #=> {:token => #}\n\n @return [Hash]", "Enable a particular authentication at the given path.\n\n @example\n Vault.sys.enable_auth(\"github\", \"github\") #=> true\n\n @param [String] path\n the path to mount the auth\n @param [String] type\n the type of authentication\n @param [String] description\n a human-friendly description (optional)\n\n @return [true]", "Read the given auth path's configuration.\n\n @example\n Vault.sys.auth_tune(\"github\") #=> #\n\n @param [String] path\n the path to retrieve configuration for\n\n @return [AuthConfig]\n configuration of the given auth path", "Write the given auth path's configuration.\n\n @example\n Vault.sys.auth_tune(\"github\", \"default_lease_ttl\" => 600, \"max_lease_ttl\" => 1200 ) #=> true\n\n @param [String] path\n the path to retrieve configuration for\n\n @return [AuthConfig]\n configuration of the given auth path", "Returns true if the connection should be reset due to an idle timeout, or\n maximum request count, false otherwise.", "Is +req+ idempotent according to RFC 2616?", "Pipelines +requests+ to the HTTP server at +uri+ yielding responses if a\n block is given. Returns all responses recieved.\n\n See\n Net::HTTP::Pipeline[http://docs.seattlerb.org/net-http-pipeline/Net/HTTP/Pipeline.html]\n for further details.\n\n Only if net-http-pipeline was required before\n net-http-persistent #pipeline will be present.", "Creates a URI for an HTTP proxy server from ENV variables.\n\n If +HTTP_PROXY+ is set a proxy will be returned.\n\n If +HTTP_PROXY_USER+ or +HTTP_PROXY_PASS+ are set the URI is given the\n indicated user and password unless HTTP_PROXY contains either of these in\n the URI.\n\n The +NO_PROXY+ ENV variable can be used to specify hosts which shouldn't\n be reached via proxy; if set it should be a comma separated list of\n hostname suffixes, optionally with +:port+ appended, for example\n example.com,some.host:8080. When set to * no proxy will\n be returned.\n\n For Windows users, lowercase ENV variables are preferred over uppercase ENV\n variables.", "Returns true when proxy should by bypassed for host.", "Raises an Error for +exception+ which resulted from attempting the request\n +req+ on the +connection+.\n\n Finishes the +connection+.", "Creates a GET request if +req_or_uri+ is a URI and adds headers to the\n request.\n\n Returns the request.", "Authenticate via the \"token\" authentication method. This authentication\n method is a bit bizarre because you already have a token, but hey,\n whatever floats your boat.\n\n This method hits the `/v1/auth/token/lookup-self` endpoint after setting\n the Vault client's token to the given token parameter. If the self lookup\n succeeds, the token is persisted onto the client for future requests. If\n the lookup fails, the old token (which could be unset) is restored on the\n client.\n\n @example\n Vault.auth.token(\"6440e1bd-ba22-716a-887d-e133944d22bd\") #=> #\n Vault.token #=> \"6440e1bd-ba22-716a-887d-e133944d22bd\"\n\n @param [String] new_token\n the new token to try to authenticate and store on the client\n\n @return [Secret]", "Authenticate via the \"app-id\" authentication method. If authentication is\n successful, the resulting token will be stored on the client and used for\n future requests.\n\n @example\n Vault.auth.app_id(\n \"aeece56e-3f9b-40c3-8f85-781d3e9a8f68\",\n \"3b87be76-95cf-493a-a61b-7d5fc70870ad\",\n ) #=> #\n\n @example with a custom mount point\n Vault.auth.app_id(\n \"aeece56e-3f9b-40c3-8f85-781d3e9a8f68\",\n \"3b87be76-95cf-493a-a61b-7d5fc70870ad\",\n mount: \"new-app-id\",\n )\n\n @param [String] app_id\n @param [String] user_id\n @param [Hash] options\n additional options to pass to the authentication call, such as a custom\n mount point\n\n @return [Secret]", "Authenticate via the \"approle\" authentication method. If authentication is\n successful, the resulting token will be stored on the client and used for\n future requests.\n\n @example\n Vault.auth.approle(\n \"db02de05-fa39-4855-059b-67221c5c2f63\",\n \"6a174c20-f6de-a53c-74d2-6018fcceff64\",\n ) #=> #\n\n @param [String] role_id\n @param [String] secret_id (default: nil)\n It is required when `bind_secret_id` is enabled for the specified role_id\n\n @return [Secret]", "Authenticate via the \"userpass\" authentication method. If authentication\n is successful, the resulting token will be stored on the client and used\n for future requests.\n\n @example\n Vault.auth.userpass(\"sethvargo\", \"s3kr3t\") #=> #\n\n @example with a custom mount point\n Vault.auth.userpass(\"sethvargo\", \"s3kr3t\", mount: \"admin-login\") #=> #\n\n @param [String] username\n @param [String] password\n @param [Hash] options\n additional options to pass to the authentication call, such as a custom\n mount point\n\n @return [Secret]", "Authenticate via the GitHub authentication method. If authentication is\n successful, the resulting token will be stored on the client and used\n for future requests.\n\n @example\n Vault.auth.github(\"mypersonalgithubtoken\") #=> #\n\n @param [String] github_token\n\n @return [Secret]", "Authenticate via the AWS EC2 authentication method. If authentication is\n successful, the resulting token will be stored on the client and used\n for future requests.\n\n @example\n Vault.auth.aws_ec2(\"read-only\", \"pkcs7\", \"vault-nonce\") #=> #\n\n @param [String] role\n @param [String] pkcs7\n pkcs7 returned by the instance identity document (with line breaks removed)\n @param [String] nonce optional\n @param [String] route optional\n\n @return [Secret]", "Authenticate via the GCP authentication method. If authentication is\n successful, the resulting token will be stored on the client and used\n for future requests.\n\n @example\n Vault.auth.gcp(\"read-only\", \"jwt\", \"gcp\") #=> #\n\n @param [String] role\n @param [String] jwt\n jwt returned by the instance identity metadata, or iam api\n @param [String] path optional\n the path were the gcp auth backend is mounted\n\n @return [Secret]", "Authenticate via a TLS authentication method. If authentication is\n successful, the resulting token will be stored on the client and used\n for future requests.\n\n @example Sending raw pem contents\n Vault.auth.tls(pem_contents) #=> #\n\n @example Reading a pem from disk\n Vault.auth.tls(File.read(\"/path/to/my/certificate.pem\")) #=> #\n\n @example Sending to a cert authentication backend mounted at a custom location\n Vault.auth.tls(pem_contents, 'custom/location') #=> #\n\n @param [String] pem (default: the configured SSL pem file or contents)\n The raw pem contents to use for the login procedure.\n\n @param [String] path (default: 'cert')\n The path to the auth backend to use for the login procedure.\n\n @return [Secret]", "Get the policy by the given name. If a policy does not exist by that name,\n +nil+ is returned.\n\n @example\n Vault.sys.policy(\"root\") #=> #\n\n @return [Policy, nil]", "Create a new policy with the given name and rules.\n\n @example\n policy = <<-EOH\n path \"sys\" {\n policy = \"deny\"\n }\n EOH\n Vault.sys.put_policy(\"dev\", policy) #=> true\n\n It is recommend that you load policy rules from a file:\n\n @example\n policy = File.read(\"/path/to/my/policy.hcl\")\n Vault.sys.put_policy(\"dev\", policy)\n\n @param [String] name\n the name of the policy\n @param [String] rules\n the policy rules\n\n @return [true]", "List all audits for the vault.\n\n @example\n Vault.sys.audits #=> { :file => # }\n\n @return [Hash]", "Generates a HMAC verifier for a given input.\n\n @example\n Vault.sys.audit_hash(\"file-audit\", \"my input\") #=> \"hmac-sha256:30aa7de18a5e90bbc1063db91e7c387b32b9fa895977eb8c177bbc91e7d7c542\"\n\n @param [String] path\n the path of the audit backend\n @param [String] input\n the input to generate a HMAC for\n\n @return [String]", "Lists all token accessors.\n\n @example Listing token accessors\n result = Vault.auth_token.accessors #=> #\n result.data[:keys] #=> [\"476ea048-ded5-4d07-eeea-938c6b4e43ec\", \"bb00c093-b7d3-b0e9-69cc-c4d85081165b\"]\n\n @return [Array]", "Create an authentication token. Note that the parameters specified below\n are not validated and passed directly to the Vault server. Depending on\n the version of Vault in operation, some of these options may not work, and\n newer options may be available that are not listed here.\n\n @example Creating a token\n Vault.auth_token.create #=> #\n\n @example Creating a token assigned to policies with a wrap TTL\n Vault.auth_token.create(\n policies: [\"myapp\"],\n wrap_ttl: 500,\n )\n\n @param [Hash] options\n @option options [String] :id\n The ID of the client token - this can only be specified for root tokens\n @option options [Array] :policies\n List of policies to apply to the token\n @option options [Fixnum, String] :wrap_ttl\n The number of seconds or a golang-formatted timestamp like \"5s\" or \"10m\"\n for the TTL on the wrapped response\n @option options [Hash] :meta\n A map of metadata that is passed to audit backends\n @option options [Boolean] :no_parent\n Create a token without a parent - see also {#create_orphan}\n @option options [Boolean] :no_default_policy\n Create a token without the default policy attached\n @option options [Boolean] :renewable\n Set whether this token is renewable or not\n @option options [String] :display_name\n Name of the token\n @option options [Fixnum] :num_uses\n Maximum number of uses for the token\n\n @return [Secret]", "Create an orphaned authentication token.\n\n @example\n Vault.auth_token.create_with_role(\"developer\") #=> #\n\n @param [Hash] options\n\n @return [Secret]", "Lookup information about the current token.\n\n @example\n Vault.auth_token.lookup(\"abcd-...\") #=> #\n\n @param [String] token\n @param [Hash] options\n\n @return [Secret]", "Lookup information about the given token accessor.\n\n @example\n Vault.auth_token.lookup_accessor(\"acbd-...\") #=> #\n\n @param [String] accessor\n @param [Hash] options", "Renew the given authentication token.\n\n @example\n Vault.auth_token.renew(\"abcd-1234\") #=> #\n\n @param [String] token\n the auth token\n @param [Fixnum] increment\n\n @return [Secret]", "Renews a lease associated with the calling token.\n\n @example\n Vault.auth_token.renew_self #=> #\n\n @param [Fixnum] increment\n\n @return [Secret]", "Create a new Client with the given options. Any options given take\n precedence over the default options.\n\n @return [Vault::Client]", "Perform a LIST request.\n @see Client#request", "Renew a lease with the given ID.\n\n @example\n Vault.sys.renew(\"aws/username\") #=> #\n\n @param [String] id\n the lease ID\n @param [Fixnum] increment\n\n @return [Secret]", "Create a hash-bashed representation of this response.\n\n @return [Hash]", "Initialize a new vault.\n\n @example\n Vault.sys.init #=> #\n\n @param [Hash] options\n the list of init options\n\n @option options [String] :root_token_pgp_key\n optional base64-encoded PGP public key used to encrypt the initial root\n token.\n @option options [Fixnum] :secret_shares\n the number of shares\n @option options [Fixnum] :secret_threshold\n the number of keys needed to unlock\n @option options [Array] :pgp_keys\n an optional Array of base64-encoded PGP public keys to encrypt sharees\n @option options [Fixnum] :stored_shares\n the number of shares that should be encrypted by the HSM for\n auto-unsealing\n @option options [Fixnum] :recovery_shares\n the number of shares to split the recovery key into\n @option options [Fixnum] :recovery_threshold\n the number of shares required to reconstruct the recovery key\n @option options [Array] :recovery_pgp_keys\n an array of PGP public keys used to encrypt the output for the recovery\n keys\n\n @return [InitResponse]", "Creates a new AppRole or update an existing AppRole with the given name\n and attributes.\n\n @example\n Vault.approle.set_role(\"testrole\", {\n secret_id_ttl: \"10m\",\n token_ttl: \"20m\",\n policies: \"default\",\n period: 3600,\n }) #=> true\n\n @param [String] name\n The name of the AppRole\n @param [Hash] options\n @option options [Boolean] :bind_secret_id\n Require secret_id to be presented when logging in using this AppRole.\n @option options [String] :bound_cidr_list\n Comma-separated list of CIDR blocks. Specifies blocks of IP addresses\n which can perform the login operation.\n @option options [String] :policies\n Comma-separated list of policies set on tokens issued via this AppRole.\n @option options [String] :secret_id_num_uses\n Number of times any particular SecretID can be used to fetch a token\n from this AppRole, after which the SecretID will expire.\n @option options [Fixnum, String] :secret_id_ttl\n The number of seconds or a golang-formatted timestamp like \"60m\" after\n which any SecretID expires.\n @option options [Fixnum, String] :token_ttl\n The number of seconds or a golang-formatted timestamp like \"60m\" to set\n as the TTL for issued tokens and at renewal time.\n @option options [Fixnum, String] :token_max_ttl\n The number of seconds or a golang-formatted timestamp like \"60m\" after\n which the issued token can no longer be renewed.\n @option options [Fixnum, String] :period\n The number of seconds or a golang-formatted timestamp like \"60m\".\n If set, the token generated using this AppRole is a periodic token.\n So long as it is renewed it never expires, but the TTL set on the token\n at each renewal is fixed to the value specified here. If this value is\n modified, the token will pick up the new value at its next renewal.\n\n @return [true]", "Gets the AppRole by the given name. If an AppRole does not exist by that\n name, +nil+ is returned.\n\n @example\n Vault.approle.role(\"testrole\") #=> #\n\n @return [Secret, nil]", "Reads the RoleID of an existing AppRole. If an AppRole does not exist by\n that name, +nil+ is returned.\n\n @example\n Vault.approle.role_id(\"testrole\") #=> #\n\n @return [Secret, nil]", "Updates the RoleID of an existing AppRole to a custom value.\n\n @example\n Vault.approle.set_role_id(\"testrole\") #=> true\n\n @return [true]", "Generates and issues a new SecretID on an existing AppRole.\n\n @example Generate a new SecretID\n result = Vault.approle.create_secret_id(\"testrole\") #=> #\n result.data[:secret_id] #=> \"841771dc-11c9-bbc7-bcac-6a3945a69cd9\"\n\n @example Assign a custom SecretID\n result = Vault.approle.create_secret_id(\"testrole\", {\n secret_id: \"testsecretid\"\n }) #=> #\n result.data[:secret_id] #=> \"testsecretid\"\n\n @param [String] role_name\n The name of the AppRole\n @param [Hash] options\n @option options [String] :secret_id\n SecretID to be attached to the Role. If not set, then the new SecretID\n will be generated\n @option options [Hash] :metadata\n Metadata to be tied to the SecretID. This should be a JSON-formatted\n string containing the metadata in key-value pairs. It will be set on\n tokens issued with this SecretID, and is logged in audit logs in\n plaintext.\n\n @return [true]", "Reads out the properties of a SecretID assigned to an AppRole.\n If the specified SecretID don't exist, +nil+ is returned.\n\n @example\n Vault.approle.role(\"testrole\", \"841771dc-11c9-...\") #=> #\n\n @param [String] role_name\n The name of the AppRole\n @param [String] secret_id\n SecretID belonging to AppRole\n\n @return [Secret, nil]", "Lists the accessors of all the SecretIDs issued against the AppRole.\n This includes the accessors for \"custom\" SecretIDs as well. If there are\n no SecretIDs against this role, an empty array will be returned.\n\n @example\n Vault.approle.secret_ids(\"testrole\") #=> [\"ce102d2a-...\", \"a1c8dee4-...\"]\n\n @return [Array]", "Encodes a string according to the rules for URL paths. This is\n used as opposed to CGI.escape because in a URL path, space\n needs to be escaped as %20 and CGI.escapes a space as +.\n\n @param [String]\n\n @return [String]", "List all mounts in the vault.\n\n @example\n Vault.sys.mounts #=> { :secret => # }\n\n @return [Hash]", "Tune a mount at the given path.\n\n @example\n Vault.sys.mount_tune(\"pki\", max_lease_ttl: '87600h') #=> true\n\n @param [String] path\n the path to write\n @param [Hash] data\n the data to write", "Change the name of the mount\n\n @example\n Vault.sys.remount(\"pg\", \"postgres\") #=> true\n\n @param [String] from\n the origin mount path\n @param [String] to\n the new mount path\n\n @return [true]", "Returns the full path to the output directory using SimpleCov.root\n and SimpleCov.coverage_dir, so you can adjust this by configuring those\n values. Will create the directory if it's missing", "Gets or sets the behavior to process coverage results.\n\n By default, it will call SimpleCov.result.format!\n\n Configure with:\n\n SimpleCov.at_exit do\n puts \"Coverage done\"\n SimpleCov.result.format!\n end", "Returns the project name - currently assuming the last dirname in\n the SimpleCov.root is this.", "The actual filter processor. Not meant for direct use", "Merges two Coverage.result hashes", "Applies the profile of given name on SimpleCov.configure", "Build link to the documentation about the given subject for the current\n version of Reek. The subject can be either a smell type like\n 'FeatureEnvy' or a general subject like 'Rake Task'.\n\n @param subject [String]\n @return [String] the full URL for the relevant documentation", "Attempts to load pre-generated code returning true if it succeeds.", "Registers C type-casts +r2c+ and +c2r+ for +type+.", "Adds a C function to the source, including performing automatic\n type conversion to arguments and the return value. The Ruby\n method name can be overridden by providing method_name. Unknown\n type conversions can be extended by using +add_type_converter+.", "Same as +c+, but adds a class function.", "Same as +c_raw+, but adds a class function.", "Checks the target source code for instances of \"smell type\"\n and returns true only if it can find one of them that matches.\n\n You can pass the smell type you want to check for as String or as Symbol:\n\n - :UtilityFunction\n - \"UtilityFunction\"\n\n It is recommended to pass this as a symbol like :UtilityFunction. However we don't\n enforce this.\n\n Additionally you can be more specific and pass in \"smell_details\" you\n want to check for as well e.g. \"name\" or \"count\" (see the examples below).\n The parameters you can check for are depending on the smell you are checking for.\n For instance \"count\" doesn't make sense everywhere whereas \"name\" does in most cases.\n If you pass in a parameter that doesn't exist (e.g. you make a typo like \"namme\") Reek will\n raise an ArgumentError to give you a hint that you passed something that doesn't make\n much sense.\n\n @param smell_type [Symbol, String] The \"smell type\" to check for.\n @param smell_details [Hash] A hash containing \"smell warning\" parameters\n\n @example Without smell_details\n\n reek_of(:FeatureEnvy)\n reek_of(:UtilityFunction)\n\n @example With smell_details\n\n reek_of(:UncommunicativeParameterName, name: 'x2')\n reek_of(:DataClump, count: 3)\n\n @example From a real spec\n\n expect(src).to reek_of(:DuplicateMethodCall, name: '@other.thing')\n\n @public\n\n @quality :reek:UtilityFunction", "See the documentaton for \"reek_of\".\n\n Notable differences to reek_of:\n 1.) \"reek_of\" doesn't mind if there are other smells of a different type.\n \"reek_only_of\" will fail in that case.\n 2.) \"reek_only_of\" doesn't support the additional smell_details hash.\n\n @param smell_type [Symbol, String] The \"smell type\" to check for.\n\n @public\n\n @quality :reek:UtilityFunction", "Processes the given AST, memoizes it and returns a tree of nested\n contexts.\n\n For example this ruby code:\n\n class Car; def drive; end; end\n\n would get compiled into this AST:\n\n (class\n (const nil :Car) nil\n (def :drive\n (args) nil))\n\n Processing this AST would result in a context tree where each node\n contains the outer context, the AST and the child contexts. The top\n node is always Reek::Context::RootContext. Using the example above,\n the tree would look like this:\n\n RootContext -> children: 1 ModuleContext -> children: 1 MethodContext\n\n @return [Reek::Context::RootContext] tree of nested contexts", "Handles every node for which we have no context_processor.", "Handles `def` nodes.\n\n An input example that would trigger this method would be:\n\n def call_me; foo = 2; bar = 5; end\n\n Given the above example we would count 2 statements overall.", "Handles `send` nodes a.k.a. method calls.\n\n An input example that would trigger this method would be:\n\n call_me()\n\n Besides checking if it's a visibility modifier or an attribute writer\n we also record to what the method call is referring to\n which we later use for smell detectors like FeatureEnvy.", "Handles `if` nodes.\n\n An input example that would trigger this method would be:\n\n if a > 5 && b < 3\n puts 'bingo'\n else\n 3\n end\n\n Counts the `if` body as one statement and the `else` body as another statement.\n\n At the end we subtract one statement because the surrounding context was already counted\n as one (e.g. via `process_def`).\n\n `children[1]` refers to the `if` body (so `puts 'bingo'` from above) and\n `children[2]` to the `else` body (so `3` from above), which might be nil.", "Handles `rescue` nodes.\n\n An input example that would trigger this method would be:\n\n def simple\n raise ArgumentError, 'raising...'\n rescue => e\n puts 'rescued!'\n end\n\n Counts everything before the `rescue` body as one statement.\n\n At the end we subtract one statement because the surrounding context was already counted\n as one (e.g. via `process_def`).\n\n `exp.children.first` below refers to everything before the actual `rescue`\n which would be the\n\n raise ArgumentError, 'raising...'\n\n in the example above.\n `exp` would be the whole method body wrapped under a `rescue` node.\n See `process_resbody` for additional reference.", "Stores a reference to the current context, creates a nested new one,\n yields to the given block and then restores the previous context.\n\n @param klass [Context::*Context] context class\n @param args arguments for the class initializer\n @yield block", "Appends a new child context to the current context but does not change\n the current context.\n\n @param klass [Context::*Context] context class\n @param args arguments for the class initializer\n\n @return [Context::*Context] the context that was appended", "Retrieves the value, if any, for the given +key+ in the given +context+.\n\n Raises an error if neither the context nor this config have a value for\n the key.", "Find any overrides that match the supplied context", "Recursively enhance an AST with type-dependent mixins, and comments.\n\n See {file:docs/How-reek-works-internally.md} for the big picture of how this works.\n Example:\n This\n class Klazz; def meth(argument); argument.call_me; end; end\n corresponds to this sexp:\n (class\n (const nil :Klazz) nil\n (def :meth\n (args\n (arg :argument))\n (send\n (lvar :argument) :call_me)))\n where every node is of type Parser::AST::Node.\n Passing this into `dress` will return the exact same structure, but this\n time the nodes will contain type-dependent mixins, e.g. this:\n (const nil :Klazz)\n will be of type Reek::AST::Node with Reek::AST::SexpExtensions::ConstNode mixed in.\n\n @param sexp [Parser::AST::Node] the given sexp\n @param comment_map [Hash] see the documentation for SourceCode#syntax_tree\n\n @return an instance of Reek::AST::Node with type-dependent sexp extensions mixed in.\n\n @quality :reek:FeatureEnvy\n @quality :reek:TooManyStatements { max_statements: 6 }", "append_record_to_messages adds a record to the bulk message\n payload to be submitted to Elasticsearch. Records that do\n not include '_id' field are skipped when 'write_operation'\n is configured for 'create' or 'update'\n\n returns 'true' if record was appended to the bulk message\n and 'false' otherwise", "send_bulk given a specific bulk request, the original tag,\n chunk, and bulk_message_count", "Adds the given responders to the current controller's responder, allowing you to cherry-pick\n which responders you want per controller.\n\n class InvitationsController < ApplicationController\n responders :flash, :http_cache\n end\n\n Takes symbols and strings and translates them to VariableResponder (eg. :flash becomes FlashResponder).\n Also allows passing in the responders modules in directly, so you could do:\n\n responders FlashResponder, HttpCacheResponder\n\n Or a mix of both methods:\n\n responders :flash, MyCustomResponder", "For a given controller action, respond_with generates an appropriate\n response based on the mime-type requested by the client.\n\n If the method is called with just a resource, as in this example -\n\n class PeopleController < ApplicationController\n respond_to :html, :xml, :json\n\n def index\n @people = Person.all\n respond_with @people\n end\n end\n\n then the mime-type of the response is typically selected based on the\n request's Accept header and the set of available formats declared\n by previous calls to the controller's class method +respond_to+. Alternatively\n the mime-type can be selected by explicitly setting request.format in\n the controller.\n\n If an acceptable format is not identified, the application returns a\n '406 - not acceptable' status. Otherwise, the default response is to render\n a template named after the current action and the selected format,\n e.g. index.html.erb. If no template is available, the behavior\n depends on the selected format:\n\n * for an html response - if the request method is +get+, an exception\n is raised but for other requests such as +post+ the response\n depends on whether the resource has any validation errors (i.e.\n assuming that an attempt has been made to save the resource,\n e.g. by a +create+ action) -\n 1. If there are no errors, i.e. the resource\n was saved successfully, the response +redirect+'s to the resource\n i.e. its +show+ action.\n 2. If there are validation errors, the response\n renders a default action, which is :new for a\n +post+ request or :edit for +patch+ or +put+.\n Thus an example like this -\n\n respond_to :html, :xml\n\n def create\n @user = User.new(params[:user])\n flash[:notice] = 'User was successfully created.' if @user.save\n respond_with(@user)\n end\n\n is equivalent, in the absence of create.html.erb, to -\n\n def create\n @user = User.new(params[:user])\n respond_to do |format|\n if @user.save\n flash[:notice] = 'User was successfully created.'\n format.html { redirect_to(@user) }\n format.xml { render xml: @user }\n else\n format.html { render action: \"new\" }\n format.xml { render xml: @user }\n end\n end\n end\n\n * for a JavaScript request - if the template isn't found, an exception is\n raised.\n * for other requests - i.e. data formats such as xml, json, csv etc, if\n the resource passed to +respond_with+ responds to to_,\n the method attempts to render the resource in the requested format\n directly, e.g. for an xml request, the response is equivalent to calling\n render xml: resource.\n\n === Nested resources\n\n As outlined above, the +resources+ argument passed to +respond_with+\n can play two roles. It can be used to generate the redirect url\n for successful html requests (e.g. for +create+ actions when\n no template exists), while for formats other than html and JavaScript\n it is the object that gets rendered, by being converted directly to the\n required format (again assuming no template exists).\n\n For redirecting successful html requests, +respond_with+ also supports\n the use of nested resources, which are supplied in the same way as\n in form_for and polymorphic_url. For example -\n\n def create\n @project = Project.find(params[:project_id])\n @task = @project.comments.build(params[:task])\n flash[:notice] = 'Task was successfully created.' if @task.save\n respond_with(@project, @task)\n end\n\n This would cause +respond_with+ to redirect to project_task_url\n instead of task_url. For request formats other than html or\n JavaScript, if multiple resources are passed in this way, it is the last\n one specified that is rendered.\n\n === Customizing response behavior\n\n Like +respond_to+, +respond_with+ may also be called with a block that\n can be used to overwrite any of the default responses, e.g. -\n\n def create\n @user = User.new(params[:user])\n flash[:notice] = \"User was successfully created.\" if @user.save\n\n respond_with(@user) do |format|\n format.html { render }\n end\n end\n\n The argument passed to the block is an ActionController::MimeResponds::Collector\n object which stores the responses for the formats defined within the\n block. Note that formats with responses defined explicitly in this way\n do not have to first be declared using the class method +respond_to+.\n\n Also, a hash passed to +respond_with+ immediately after the specified\n resource(s) is interpreted as a set of options relevant to all\n formats. Any option accepted by +render+ can be used, e.g.\n\n respond_with @people, status: 200\n\n However, note that these options are ignored after an unsuccessful attempt\n to save a resource, e.g. when automatically rendering :new\n after a post request.\n\n Three additional options are relevant specifically to +respond_with+ -\n 1. :location - overwrites the default redirect location used after\n a successful html +post+ request.\n 2. :action - overwrites the default render action used after an\n unsuccessful html +post+ request.\n 3. :render - allows to pass any options directly to the :render\n call after unsuccessful html +post+ request. Usefull if for example you\n need to render a template which is outside of controller's path or you\n want to override the default http :status code, e.g.\n\n respond_with(resource, render: { template: 'path/to/template', status: 422 })", "Collect mimes declared in the class method respond_to valid for the\n current action.", "reindex whole database using a extra temporary index + move operation", "special handling of get_settings to avoid raising errors on 404", "Defines attr accessors for each available_filter on self and assigns\n values based on fp.\n @param fp [Hash] filterrific_params with stringified keys", "Computes filterrific params using a number of strategies. Limits params\n to 'available_filters' if given via opts.\n @param model_class [ActiveRecord::Base]\n @param filterrific_params [ActionController::Params, Hash]\n @param opts [Hash]\n @option opts [Boolean, optional] \"sanitize_params\"\n if true, sanitizes all filterrific params to prevent reflected (or stored) XSS attacks.\n Defaults to true.\n @param persistence_id [String, nil]", "Sets all options on form_for to defaults that work with Filterrific\n @param record [Filterrific] the @filterrific object\n @param options [Hash] standard options for form_for\n @param block [Proc] the form body", "Renders HTML to reverse sort order on currently sorted column.\n @param filterrific [Filterrific::ParamSet]\n @param new_sort_key [String]\n @param opts [Hash]\n @return [String] an HTML fragment", "explicit hash, to get symbols in hash keys", "Executes a task on a specific VM.\n\n @param vm [Vagrant::VM]\n @param options [Hash] Parsed options from the command line", "shows a link that will allow to dynamically add a new associated object.\n\n - *name* : the text to show in the link\n - *f* : the form this should come in (the formtastic form)\n - *association* : the associated objects, e.g. :tasks, this should be the name of the has_many relation.\n - *html_options*: html options to be passed to link_to (see link_to)\n - *:render_options* : options passed to `simple_fields_for, semantic_fields_for or fields_for`\n - *:locals* : the locals hash in the :render_options is handed to the partial\n - *:partial* : explicitly override the default partial name\n - *:wrap_object* : a proc that will allow to wrap your object, especially suited when using\n decorators, or if you want special initialisation\n - *:form_name* : the parameter for the form in the nested form partial. Default `f`.\n - *:count* : Count of how many objects will be added on a single click. Default `1`.\n - *&block*: see link_to", "Capture and process any exceptions from the given block.\n\n @example\n Raven.capture do\n MyApp.run\n end", "Provides extra context to the exception prior to it being handled by\n Raven. An exception can have multiple annotations, which are merged\n together.\n\n The options (annotation) is treated the same as the ``options``\n parameter to ``capture_exception`` or ``Event.from_exception``, and\n can contain the same ``:user``, ``:tags``, etc. options as these\n methods.\n\n These will be merged with the ``options`` parameter to\n ``Event.from_exception`` at the top of execution.\n\n @example\n begin\n raise \"Hello\"\n rescue => exc\n Raven.annotate_exception(exc, :user => { 'id' => 1,\n 'email' => 'foo@example.com' })\n end", "Once an ActiveJob is queued, ActiveRecord references get serialized into\n some internal reserved keys, such as _aj_globalid.\n\n The problem is, if this job in turn gets queued back into ActiveJob with\n these magic reserved keys, ActiveJob will throw up and error. We want to\n capture these and mutate the keys so we can sanely report it.", "run all plugins or those that match the attribute filter is provided\n\n @param safe [Boolean]\n @param [Array] attribute_filter the attributes to run. All will be run if not specified\n\n @return [Mash]", "Pretty Print this object as JSON", "gather plugins providing exactly the attributes listed", "This function is used to fetch the plugins for the attributes specified\n in the CLI options to Ohai.\n It first attempts to find the plugins for the attributes\n or the sub attributes given.\n If it can't find any, it looks for plugins that might\n provide the parents of a given attribute and returns the\n first parent found.", "This function is used to fetch the plugins from\n 'depends \"languages\"' statements in plugins.\n It gathers plugins providing each of the attributes listed, or the\n plugins providing the closest parent attribute", "Takes a section of the map, recursively searches for a `_plugins` key\n to find all the plugins in that section of the map. If given the whole\n map, it will find all of the plugins that have at least one provided\n attribute.", "Searches all plugin paths and returns an Array of file paths to plugins\n\n @param dir [Array, String] directory/directories to load plugins from\n @return [Array]", "load additional plugins classes from a given directory\n @param from [String] path to a directory with additional plugins to load", "Load a specified file as an ohai plugin and creates an instance of it.\n Not used by ohai itself, but is used in the specs to load plugins for testing\n\n @private\n @param plugin_path [String]", "Given a list of plugins and the first plugin in the cycle,\n returns the list of plugin source files responsible for the\n cycle. Does not include plugins that aren't a part of the cycle", "A point is inside a triangle if the area of 3 triangles, constructed from\n triangle sides and the given point, is equal to the area of triangle.", "Play an animation", "Set the position of the clipping retangle based on the current frame", "Calculate the distance between two points", "Set a window attribute", "Add an object to the window", "Remove an object from the window", "Set an event handler", "Key callback method, called by the native and web extentions", "Mouse callback method, called by the native and web extentions", "Controller callback method, called by the native and web extentions", "Update callback method, called by the native and web extentions", "An an object to the window, used by the public `add` method", "Create a new database view.\n\n @param name [String, Symbol] The name of the database view.\n @param version [Fixnum] The version number of the view, used to find the\n definition file in `db/views`. This defaults to `1` if not provided.\n @param sql_definition [String] The SQL query for the view schema. An error\n will be raised if `sql_definition` and `version` are both set,\n as they are mutually exclusive.\n @param materialized [Boolean, Hash] Set to true to create a materialized\n view. Set to { no_data: true } to create materialized view without\n loading data. Defaults to false.\n @return The database response from executing the create statement.\n\n @example Create from `db/views/searches_v02.sql`\n create_view(:searches, version: 2)\n\n @example Create from provided SQL string\n create_view(:active_users, sql_definition: <<-SQL)\n SELECT * FROM users WHERE users.active = 't'\n SQL", "Drop a database view by name.\n\n @param name [String, Symbol] The name of the database view.\n @param revert_to_version [Fixnum] Used to reverse the `drop_view` command\n on `rake db:rollback`. The provided version will be passed as the\n `version` argument to {#create_view}.\n @param materialized [Boolean] Set to true if dropping a meterialized view.\n defaults to false.\n @return The database response from executing the drop statement.\n\n @example Drop a view, rolling back to version 3 on rollback\n drop_view(:users_who_recently_logged_in, revert_to_version: 3)", "Update a database view to a new version.\n\n The existing view is dropped and recreated using the supplied `version`\n parameter.\n\n @param name [String, Symbol] The name of the database view.\n @param version [Fixnum] The version number of the view.\n @param sql_definition [String] The SQL query for the view schema. An error\n will be raised if `sql_definition` and `version` are both set,\n as they are mutually exclusive.\n @param revert_to_version [Fixnum] The version number to rollback to on\n `rake db rollback`\n @param materialized [Boolean, Hash] True if updating a materialized view.\n Set to { no_data: true } to update materialized view without loading\n data. Defaults to false.\n @return The database response from executing the create statement.\n\n @example\n update_view :engagement_reports, version: 3, revert_to_version: 2", "Update a database view to a new version using `CREATE OR REPLACE VIEW`.\n\n The existing view is replaced using the supplied `version`\n parameter.\n\n Does not work with materialized views due to lack of database support.\n\n @param name [String, Symbol] The name of the database view.\n @param version [Fixnum] The version number of the view.\n @param revert_to_version [Fixnum] The version number to rollback to on\n `rake db rollback`\n @return The database response from executing the create statement.\n\n @example\n replace_view :engagement_reports, version: 3, revert_to_version: 2", "Returns a hash representation of the event.\n\n Metadata is converted to hash as well\n\n @return [Hash] with :event_id, :metadata, :data, :type keys", "Persists events and notifies subscribed handlers about them\n\n @param events [Array, Event, Proto] event(s)\n @param stream_name [String] name of the stream for persisting events.\n @param expected_version [:any, :auto, :none, Integer] controls optimistic locking strategy. {http://railseventstore.org/docs/expected_version/ Read more}\n @return [self]", "merges the hash of headers into the current header set.", "disable Secure cookies for non-https requests", "when configuring with booleans, only one enforcement is permitted", "validate exclusive use of only or except but not both at the same time", "validate exclusivity of only and except members within strict and lax", "Discard any 'none' values if more directives are supplied since none may override values.", "Removes duplicates and sources that already match an existing wild card.\n\n e.g. *.github.com asdf.github.com becomes *.github.com", "Invisible reCAPTCHA implementation", "Your private API can be specified in the +options+ hash or preferably\n using the Configuration.", "Compares this configuration with another.\n\n @param other [HamlLint::Configuration]\n @return [true,false] whether the given configuration is equivalent\n Returns a non-modifiable configuration for the specified linter.\n\n @param linter [HamlLint::Linter,Class]", "Merge two hashes such that nested hashes are merged rather than replaced.\n\n @param parent [Hash]\n @param child [Hash]\n @return [Hash]", "Prints the standard progress reporter output and writes the new config file.\n\n @param report [HamlLint::Report]\n @return [void]", "Prints the standard progress report marks and tracks files with lint.\n\n @param file [String]\n @param lints [Array]\n @return [void]", "The contents of the generated configuration file based on captured lint.\n\n @return [String] a Yaml-formatted configuration file's contents", "Constructs the configuration for excluding a linter in some files.\n\n @param linter [String] the name of the linter to exclude\n @param files [Array] the files in which the linter is excluded\n @return [String] a Yaml-formatted configuration", "Returns the class of the specified Reporter.\n\n @param reporter_name [String]\n @raise [HamlLint::Exceptions::InvalidCLIOption] if reporter doesn't exist\n @return [Class]", "Enables the linter if the tree is for the right file type.\n\n @param [HamlLint::Tree::RootNode] the root of a syntax tree\n @return [true, false] whether the linter is enabled for the tree", "Checks for instance variables in tag nodes when the linter is enabled.\n\n @param [HamlLint::Tree:TagNode]\n @return [void]", "Runs the appropriate linters against the desired files given the specified\n options.\n\n @param [Hash] options\n @option options :config_file [String] path of configuration file to load\n @option options :config [HamlLint::Configuration] configuration to use\n @option options :excluded_files [Array]\n @option options :included_linters [Array]\n @option options :excluded_linters [Array]\n @option options :fail_fast [true, false] flag for failing after first failure\n @option options :fail_level\n @option options :reporter [HamlLint::Reporter]\n @return [HamlLint::Report] a summary of all lints found", "Runs all provided linters using the specified config against the given\n file.\n\n @param file [String] path to file to lint\n @param linter_selector [HamlLint::LinterSelector]\n @param config [HamlLint::Configuration]", "Returns the list of files that should be linted given the specified\n configuration and options.\n\n @param config [HamlLint::Configuration]\n @param options [Hash]\n @return [Array]", "Process the files and add them to the given report.\n\n @param report [HamlLint::Report]\n @return [void]", "Process a file and add it to the given report.\n\n @param file [String] the name of the file to process\n @param report [HamlLint::Report]\n @return [void]", "Generates a report based on the given options.\n\n @param options [Hash]\n @option options :reporter [HamlLint::Reporter] the reporter to report with\n @return [HamlLint::Report]", "Create a file finder using the specified configuration.\n\n @param config [HamlLint::Configuration]\n Return list of files to lint given the specified set of paths and glob\n patterns.\n @param patterns [Array]\n @param excluded_patterns [Array]\n @raise [HamlLint::Exceptions::InvalidFilePath]\n @return [Array] list of actual files", "Extract the list of matching files given the list of glob patterns, file\n paths, and directories.\n\n @param patterns [Array]\n @return [Array]", "Whether the given file should be treated as a Haml file.\n\n @param file [String]\n @return [Boolean]", "Returns whether a string starts with a character that would otherwise be\n given special treatment, thus making enclosing it in a string necessary.", "Initializes a linter with the specified configuration.\n\n @param config [Hash] configuration for this linter\n Runs the linter against the given Haml document.\n\n @param document [HamlLint::Document]", "Returns whether the inline content for a node is a string.\n\n For example, the following node has a literal string:\n\n %tag= \"A literal #{string}\"\n\n whereas this one does not:\n\n %tag A literal #{string}\n\n @param node [HamlLint::Tree::Node]\n @return [true,false]", "Get the inline content for this node.\n\n Inline content is the content that appears inline right after the\n tag/script. For example, in the code below...\n\n %tag Some inline content\n\n ...\"Some inline content\" would be the inline content.\n\n @param node [HamlLint::Tree::Node]\n @return [String]", "Gets the next node following this node, ascending up the ancestor chain\n recursively if this node has no siblings.\n\n @param node [HamlLint::Tree::Node]\n @return [HamlLint::Tree::Node,nil]", "Creates a reusable parser.\n Parse the given Ruby source into an abstract syntax tree.\n\n @param source [String] Ruby source code\n @return [Array] syntax tree in the form returned by Parser gem", "Given the provided options, execute the appropriate command.\n\n @return [Integer] exit status code", "Given the provided options, configure the logger.\n\n @return [void]", "Outputs a message and returns an appropriate error code for the specified\n exception.", "Instantiates a new reporter based on the options.\n\n @param options [HamlLint::Configuration]\n @option options [true, nil] :auto_gen_config whether to use the config\n generating reporter\n @option options [Class] :reporter the class of reporter to use\n @return [HamlLint::Reporter]", "Scans the files specified by the given options for lints.\n\n @return [Integer] exit status code", "Outputs a list of all currently available linters.", "Outputs a list of currently available reporters.", "Outputs the application name and version.", "Outputs the backtrace of an exception with instructions on how to report\n the issue.", "Removes YAML frontmatter", "Checks whether a visitor is disabled due to comment configuration.\n\n @param [HamlLint::HamlVisitor]\n @return [true, false]", "Implements the Enumerable interface to walk through an entire tree.\n\n @return [Enumerator, HamlLint::Tree::Node]", "The line numbers that are contained within the node.\n\n @api public\n @return [Range]", "Discovers the end line of the node when there are no lines.\n\n @return [Integer] the end line of the node", "Gets the node of the syntax tree for a given line number.\n\n @param line [Integer] the line number of the node\n @return [HamlLint::Node]", "Returns a list of linters that are enabled given the specified\n configuration and additional options.\n\n @param config [HamlLint::Configuration]\n @param options [Hash]\n @return [Array]", "Whether to run the given linter against the specified file.\n\n @param config [HamlLint::Configuration]\n @param linter [HamlLint::Linter]\n @param file [String]\n @return [Boolean]", "Returns the source code for the static and dynamic attributes\n of a tag.\n\n @example For `%tag.class{ id: 'hello' }(lang=en)`, this returns:\n { :static => '.class', :hash => \" id: 'hello' \", :html => \"lang=en\" }\n\n @return [Hash]", "Executes RuboCop against the given Ruby code and records the offenses as\n lints.\n\n @param ruby [String] Ruby code\n @param source_map [Hash] map of Ruby code line numbers to original line\n numbers in the template", "Overrides the global stdin to allow RuboCop to read Ruby code from it.\n\n @param ruby [String] the Ruby code to write to the overridden stdin\n @param _block [Block] the block to perform with the overridden stdin\n @return [void]", "Returns an array of two items, the first being the absolute path, the second\n the relative path.\n\n The relative path is relative to the current working dir. The path passed can\n be either relative or absolute.\n\n @param path [String] Path to get absolute and relative path of\n @return [Array] Absolute and relative path", "Yields interpolated values within a block of text.\n\n @param text [String]\n @yield Passes interpolated code and line number that code appears on in\n the text.\n @yieldparam interpolated_code [String] code that was interpolated\n @yieldparam line [Integer] line number code appears on in text", "Find all consecutive items satisfying the given block of a minimum size,\n yielding each group of consecutive items to the provided block.\n\n @param items [Array]\n @param satisfies [Proc] function that takes an item and returns true/false\n @param min_consecutive [Fixnum] minimum number of consecutive items before\n yielding the group\n @yield Passes list of consecutive items all matching the criteria defined\n by the `satisfies` {Proc} to the provided block\n @yieldparam group [Array] List of consecutive items\n @yieldreturn [Boolean] block should return whether item matches criteria\n for inclusion", "Calls a block of code with a modified set of environment variables,\n restoring them once the code has executed.\n\n @param env [Hash] environment variables to set", "Executes the CLI given the specified task arguments.\n\n @param task_args [Rake::TaskArguments]", "Returns the list of files that should be linted given the specified task\n arguments.\n\n @param task_args [Rake::TaskArguments]", "Log setting or extension loading notices, sensitive information\n is redacted.\n\n @param notices [Array] to be logged.\n @param level [Symbol] to log the notices at.", "Set up Sensu spawn, creating a worker to create, control, and\n limit spawned child processes. This method adjusts the\n EventMachine thread pool size to accommodate the concurrent\n process spawn limit and other Sensu process operations.\n\n https://github.com/sensu/sensu-spawn", "Retry a code block until it retures true. The first attempt and\n following retries are delayed.\n\n @param wait [Numeric] time to delay block calls.\n @param block [Proc] to call that needs to return true.", "Deep merge two hashes. Nested hashes are deep merged, arrays are\n concatenated and duplicate array items are removed.\n\n @param hash_one [Hash]\n @param hash_two [Hash]\n @return [Hash] deep merged hash.", "Creates a deep dup of basic ruby objects with support for walking\n hashes and arrays.\n\n @param obj [Object]\n @return [obj] a dup of the original object.", "Retrieve the system IP address. If a valid non-loopback\n IPv4 address cannot be found and an error is thrown,\n `nil` will be returned.\n\n @return [String] system ip address", "Traverse a hash for an attribute value, with a fallback default\n value if nil.\n\n @param tree [Hash] to traverse.\n @param path [Array] of attribute keys.\n @param default [Object] value if attribute value is nil.\n @return [Object] attribute or fallback default value.", "Determine the next check cron time.\n\n @param check [Hash] definition.", "Execute the given block, and retry the current restartable transaction if a\n MySQL deadlock occurs.", "Get the current or historic balance of an account.\n\n @param account [DoubleEntry::Account:Instance]\n @option args :from [Time]\n @option args :to [Time]\n @option args :at [Time]\n @option args :code [Symbol]\n @option args :codes [Array]\n @return [Money]", "This method will populate all matched page TextFields,\n TextAreas, SelectLists, FileFields, Checkboxes, and Radio Buttons from the\n Hash passed as an argument. The way it find an element is by\n matching the Hash key to the name you provided when declaring\n the element on your page.\n\n Checkbox and Radio Button values must be true or false.\n\n @example\n class ExamplePage\n include PageObject\n\n text_field(:username, :id => 'username_id')\n checkbox(:active, :id => 'active_id')\n end\n\n ...\n\n @browser = Watir::Browser.new :firefox\n example_page = ExamplePage.new(@browser)\n example_page.populate_page_with :username => 'a name', :active => true\n\n @param data [Hash] the data to use to populate this page. The key\n can be either a string or a symbol. The value must be a string\n for TextField, TextArea, SelectList, and FileField and must be true or\n false for a Checkbox or RadioButton.", "Specify the url for the page. A call to this method will generate a\n 'goto' method to take you to the page.\n\n @param [String] the url for the page.\n @param [Symbol] a method name to call to get the url", "Identify an element as existing within a frame . A frame parameter\n is passed to the block and must be passed to the other calls to PageObject.\n You can nest calls to in_frame by passing the frame to the next level.\n\n @example\n in_frame(:id => 'frame_id') do |frame|\n text_field(:first_name, :id => 'fname', :frame => frame)\n end\n\n @param [Hash] identifier how we find the frame. The valid keys are:\n * :id\n * :index\n * :name\n * :regexp\n @param frame passed from a previous call to in_frame. Used to nest calls\n @param block that contains the calls to elements that exist inside the frame.", "Identify an element as existing within an iframe. A frame parameter\n is passed to the block and must be passed to the other calls to PageObject.\n You can nest calls to in_frame by passing the frame to the next level.\n\n @example\n in_iframe(:id => 'frame_id') do |frame|\n text_field(:first_name, :id => 'fname', :frame => frame)\n end\n\n @param [Hash] identifier how we find the frame. The valid keys are:\n * :id\n * :index\n * :name\n * :regexp\n @param frame passed from a previous call to in_iframe. Used to nest calls\n @param block that contains the calls to elements that exist inside the iframe.", "adds four methods to the page object - one to set text in a text field,\n another to retrieve text from a text field, another to return the text\n field element, another to check the text field's existence.\n\n @example\n text_field(:first_name, :id => \"first_name\")\n # will generate 'first_name', 'first_name=', 'first_name_element',\n # 'first_name?' methods\n\n @param [String] the name used for the generated methods\n @param [Hash] identifier how we find a text field.\n @param optional block to be invoked when element method is called", "adds three methods to the page object - one to get the text from a hidden field,\n another to retrieve the hidden field element, and another to check the hidden\n field's existence.\n\n @example\n hidden_field(:user_id, :id => \"user_identity\")\n # will generate 'user_id', 'user_id_element' and 'user_id?' methods\n\n @param [String] the name used for the generated methods\n @param [Hash] identifier how we find a hidden field.\n @param optional block to be invoked when element method is called", "adds four methods to the page object - one to set text in a text area,\n another to retrieve text from a text area, another to return the text\n area element, and another to check the text area's existence.\n\n @example\n text_area(:address, :id => \"address\")\n # will generate 'address', 'address=', 'address_element',\n # 'address?' methods\n\n @param [String] the name used for the generated methods\n @param [Hash] identifier how we find a text area.\n @param optional block to be invoked when element method is called", "adds five methods - one to select an item in a drop-down,\n another to fetch the currently selected item text, another\n to retrieve the select list element, another to check the\n drop down's existence and another to get all the available options\n to select from.\n\n @example\n select_list(:state, :id => \"state\")\n # will generate 'state', 'state=', 'state_element', 'state?', \"state_options\" methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a select list.\n @param optional block to be invoked when element method is called", "adds three methods - one to click a button, another to\n return the button element, and another to check the button's existence.\n\n @example\n button(:purchase, :id => 'purchase')\n # will generate 'purchase', 'purchase_element', and 'purchase?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a button.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text from a div,\n another to return the div element, and another to check the div's existence.\n\n @example\n div(:message, :id => 'message')\n # will generate 'message', 'message_element', and 'message?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a div.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text from a span,\n another to return the span element, and another to check the span's existence.\n\n @example\n span(:alert, :id => 'alert')\n # will generate 'alert', 'alert_element', and 'alert?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a span.\n @param optional block to be invoked when element method is called", "adds three methods - one to return the text for the table, one\n to retrieve the table element, and another to\n check the table's existence.\n\n @example\n table(:cart, :id => 'shopping_cart')\n # will generate a 'cart', 'cart_element' and 'cart?' method\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a table.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text from a table cell,\n another to return the table cell element, and another to check the cell's\n existence.\n\n @example\n cell(:total, :id => 'total_cell')\n # will generate 'total', 'total_element', and 'total?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a cell.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text from a table row,\n another to return the table row element, and another to check the row's\n existence.\n\n @example\n row(:sums, :id => 'sum_row')\n # will generate 'sums', 'sums_element', and 'sums?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a cell.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the image element, another to\n check the load status of the image, and another to check the\n image's existence.\n\n @example\n image(:logo, :id => 'logo')\n # will generate 'logo_element', 'logo_loaded?', and 'logo?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find an image.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text from a list item,\n another to return the list item element, and another to check the list item's\n existence.\n\n @example\n list_item(:item_one, :id => 'one')\n # will generate 'item_one', 'item_one_element', and 'item_one?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a list item.\n @param optional block to be invoked when element method is called", "adds three methods - one to return the text within the unordered\n list, one to retrieve the unordered list element, and another to\n check it's existence.\n\n @example\n unordered_list(:menu, :id => 'main_menu')\n # will generate 'menu', 'menu_element' and 'menu?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find an unordered list.\n @param optional block to be invoked when element method is called", "adds three methods - one to return the text within the ordered\n list, one to retrieve the ordered list element, and another to\n test it's existence.\n\n @example\n ordered_list(:top_five, :id => 'top')\n # will generate 'top_five', 'top_five_element' and 'top_five?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find an ordered list.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a h1 element, another to\n retrieve a h1 element, and another to check for it's existence.\n\n @example\n h1(:title, :id => 'title')\n # will generate 'title', 'title_element', and 'title?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a H1. You can use a multiple parameters\n by combining of any of the following except xpath.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a h2 element, another\n to retrieve a h2 element, and another to check for it's existence.\n\n @example\n h2(:title, :id => 'title')\n # will generate 'title', 'title_element', and 'title?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a H2.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a h3 element,\n another to return a h3 element, and another to check for it's existence.\n\n @example\n h3(:title, :id => 'title')\n # will generate 'title', 'title_element', and 'title?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a H3.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a h4 element,\n another to return a h4 element, and another to check for it's existence.\n\n @example\n h4(:title, :id => 'title')\n # will generate 'title', 'title_element', and 'title?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a H4.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a h5 element,\n another to return a h5 element, and another to check for it's existence.\n\n @example\n h5(:title, :id => 'title')\n # will generate 'title', 'title_element', and 'title?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a H5.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a h6 element,\n another to return a h6 element, and another to check for it's existence.\n\n @example\n h6(:title, :id => 'title')\n # will generate 'title', 'title_element', and 'title?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a H6.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a paragraph, another\n to retrieve a paragraph element, and another to check the paragraph's existence.\n\n @example\n paragraph(:title, :id => 'title')\n # will generate 'title', 'title_element', and 'title?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a paragraph.\n @param optional block to be invoked when element method is called", "adds three methods - one to set the file for a file field, another to retrieve\n the file field element, and another to check it's existence.\n\n @example\n file_field(:the_file, :id => 'file_to_upload')\n # will generate 'the_file=', 'the_file_element', and 'the_file?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a file_field.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text from a label,\n another to return the label element, and another to check the label's existence.\n\n @example\n label(:message, :id => 'message')\n # will generate 'message', 'message_element', and 'message?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a label.\n @param optional block to be invoked when element method is called", "adds three methods - one to click the area,\n another to return the area element, and another to check the area's existence.\n\n @example\n area(:message, :id => 'message')\n # will generate 'message', 'message_element', and 'message?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find an area.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a b element, another to\n retrieve a b element, and another to check for it's existence.\n\n @example\n b(:bold, :id => 'title')\n # will generate 'bold', 'bold_element', and 'bold?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a b.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of a i element, another to\n retrieve a i element, and another to check for it's existence.\n\n @example\n i(:italic, :id => 'title')\n # will generate 'italic', 'italic_element', and 'italic?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Hash] identifier how we find a i.\n @param optional block to be invoked when element method is called", "adds three methods - one to retrieve the text of an element, another\n to retrieve an element, and another to check the element's existence.\n\n @example\n element(:title, :header, :id => 'title')\n # will generate 'title', 'title_element', and 'title?' methods\n\n @param [Symbol] the name used for the generated methods\n @param [Symbol] the name of the tag for the element\n @param [Hash] identifier how we find an element.\n @param optional block to be invoked when element method is called", "adds a method to return a collection of generic Element objects\n for a specific tag.\n\n @example\n elements(:title, :header, :id => 'title')\n # will generate ''title_elements'\n\n @param [Symbol] the name used for the generated methods\n @param [Symbol] the name of the tag for the element\n @param [Hash] identifier how we find an element.\n @param optional block to be invoked when element method is called", "adds a method to return a page object rooted at an element\n\n @example\n page_section(:navigation_bar, NavigationBar, :id => 'nav-bar')\n # will generate 'navigation_bar'\n\n @param [Symbol] the name used for the generated methods\n @param [Class] the class to instantiate for the element\n @param [Hash] identifier how we find an element.", "adds a method to return a collection of page objects rooted at elements\n\n @example\n page_sections(:articles, Article, :class => 'article')\n # will generate 'articles'\n\n @param [Symbol] the name used for the generated method\n @param [Class] the class to instantiate for each element\n @param [Hash] identifier how we find an element.", "Create a page object.\n\n @param [PageObject, String] a class that has included the PageObject module or a string containing the name of the class\n @param Hash values that is pass through to page class a\n available in the @params instance variable.\n @param [Boolean] a boolean indicating if the page should be visited? default is false.\n @param [block] an optional block to be called\n @return [PageObject] the newly created page object", "Create a page object if and only if the current page is the same page to be created\n\n @param [PageObject, String] a class that has included the PageObject module or a string containing the name of the class\n @param Hash values that is pass through to page class a\n available in the @params instance variable.\n @param [block] an optional block to be called\n @return [PageObject] the newly created page object", "Handles requests for Hash values. Others cause an Exception to be raised.\n @param [Symbol|String] m method symbol\n @return [Boolean] the value of the specified instance variable.\n @raise [ArgumentError] if an argument is given. Zero arguments expected.\n @raise [NoMethodError] if the instance variable is not defined.", "Process `css` and return result.\n\n Options can be:\n * `from` with input CSS file name. Will be used in error messages.\n * `to` with output CSS file name.\n * `map` with true to generate new source map or with previous map.", "Parse Browserslist config", "Convert ruby_options to jsOptions", "Try to find Browserslist config", "Lazy load for JS library", "Cache autoprefixer.js content", "Construct a new record\n\n licenses - a string, or array of strings, representing the content of each license\n notices - a string, or array of strings, representing the content of each legal notice\n metadata - a Hash of the metadata for the package\n Save the metadata and text to a file\n\n filename - The destination file to save record contents at", "Returns the license text content from all matched sources\n except the package file, which doesn't contain license text.", "Returns legal notices found at the dependency path", "Returns the sources for a group of license file contents\n\n Sources are returned as a single string with sources separated by \", \"", "Returns an array of enabled app sources", "Returns whether a source type is enabled", "Authenticate a record using cookies. Looks for a cookie corresponding to\n the _authenticatable_class_. If found try to find it in the database.\n @param authenticatable_class [ActiveRecord::Base] any Model connected to\n passwordless. (e.g - _User_ or _Admin_).\n @return [ActiveRecord::Base|nil] an instance of Model found by id stored\n in cookies.encrypted or nil if nothing is found.\n @see ModelHelpers#passwordless_with", "Signs in user by assigning their id to a permanent cookie.\n @param authenticatable [ActiveRecord::Base] Instance of Model to sign in\n (e.g - @user when @user = User.find(id: some_id)).\n @return [ActiveRecord::Base] the record that is passed in.", "Signs out user by deleting their encrypted cookie.\n @param (see #authenticate_by_cookie)\n @return [boolean] Always true", "Sends an arbitrary count for the given stat to the statsd server.\n\n @param [String] stat stat name\n @param [Integer] count count\n @param [Hash] opts the options to create the metric with\n @option opts [Numeric] :sample_rate sample rate, 1 for always\n @option opts [Array] :tags An array of tags", "Sends an arbitary gauge value for the given stat to the statsd server.\n\n This is useful for recording things like available disk space,\n memory usage, and the like, which have different semantics than\n counters.\n\n @param [String] stat stat name.\n @param [Numeric] value gauge value.\n @param [Hash] opts the options to create the metric with\n @option opts [Numeric] :sample_rate sample rate, 1 for always\n @option opts [Array] :tags An array of tags\n @example Report the current user count:\n $statsd.gauge('user.count', User.count)", "Sends a value to be tracked as a histogram to the statsd server.\n\n @param [String] stat stat name.\n @param [Numeric] value histogram value.\n @param [Hash] opts the options to create the metric with\n @option opts [Numeric] :sample_rate sample rate, 1 for always\n @option opts [Array] :tags An array of tags\n @example Report the current user count:\n $statsd.histogram('user.count', User.count)", "Sends a value to be tracked as a set to the statsd server.\n\n @param [String] stat stat name.\n @param [Numeric] value set value.\n @param [Hash] opts the options to create the metric with\n @option opts [Numeric] :sample_rate sample rate, 1 for always\n @option opts [Array] :tags An array of tags\n @example Record a unique visitory by id:\n $statsd.set('visitors.uniques', User.id)", "This method allows you to send custom service check statuses.\n\n @param [String] name Service check name\n @param [String] status Service check status.\n @param [Hash] opts the additional data about the service check\n @option opts [Integer, nil] :timestamp (nil) Assign a timestamp to the event. Default is now when none\n @option opts [String, nil] :hostname (nil) Assign a hostname to the event.\n @option opts [Array, nil] :tags (nil) An array of tags\n @option opts [String, nil] :message (nil) A message to associate with this service check status\n @example Report a critical service check status\n $statsd.service_check('my.service.check', Statsd::CRITICAL, :tags=>['urgent'])", "This end point allows you to post events to the stream. You can tag them, set priority and even aggregate them with other events.\n\n Aggregation in the stream is made on hostname/event_type/source_type/aggregation_key.\n If there's no event type, for example, then that won't matter;\n it will be grouped with other events that don't have an event type.\n\n @param [String] title Event title\n @param [String] text Event text. Supports newlines (+\\n+)\n @param [Hash] opts the additional data about the event\n @option opts [Integer, nil] :date_happened (nil) Assign a timestamp to the event. Default is now when none\n @option opts [String, nil] :hostname (nil) Assign a hostname to the event.\n @option opts [String, nil] :aggregation_key (nil) Assign an aggregation key to the event, to group it with some others\n @option opts [String, nil] :priority ('normal') Can be \"normal\" or \"low\"\n @option opts [String, nil] :source_type_name (nil) Assign a source type to the event\n @option opts [String, nil] :alert_type ('info') Can be \"error\", \"warning\", \"info\" or \"success\".\n @option opts [Array] :tags tags to be added to every metric\n @example Report an awful event:\n $statsd.event('Something terrible happened', 'The end is near if we do nothing', :alert_type=>'warning', :tags=>['end_of_times','urgent'])", "For every `redirect_from` entry, generate a redirect page", "Helper function to set the appropriate path metadata\n\n from - the relative path to the redirect page\n to - the relative path or absolute URL to the redirect target", "Compile some ruby code to a string.\n\n @return [String] javascript code", "Used to generate a unique id name per file. These are used\n mainly to name method bodies for methods that use blocks.", "Process the given sexp by creating a node instance, based on its type,\n and compiling it to fragments.", "The last sexps in method bodies, for example, need to be returned\n in the compiled javascript. Due to syntax differences between\n javascript any ruby, some sexps need to be handled specially. For\n example, `if` statemented cannot be returned in javascript, so\n instead the \"truthy\" and \"falsy\" parts of the if statement both\n need to be returned instead.\n\n Sexps that need to be returned are passed to this method, and the\n alterned/new sexps are returned and should be used instead. Most\n sexps can just be added into a `s(:return) sexp`, so that is the\n default action if no special case is required.", "This method is called when a parse error is found.\n\n ERROR_TOKEN_ID is an internal ID of token which caused error.\n You can get string representation of this ID by calling\n #token_to_str.\n\n ERROR_VALUE is a value of error token.\n\n value_stack is a stack of symbol values.\n DO NOT MODIFY this object.\n\n This method raises ParseError by default.\n\n If this method returns, parsers enter \"error recovering mode\".", "For debugging output", "Returns a new Tms object obtained by memberwise operation +op+\n of the individual times for this Tms object with those of the other\n Tms object.\n\n +op+ can be a mathematical operation such as +, -,\n *, /", "Defines a new configuration option\n\n @param [String] name the option name\n @param [Object] default_value the option's default value\n @!macro [attach] property\n @!attribute [rw] $1", "Reads and returns Float from an input stream\n\n @example\n 123.456\n Is encoded as\n 'f', '123.456'", "Reads and returns Bignum from an input stream", "Reads and returns Regexp from an input stream\n\n @example\n r = /regexp/mix\n is encoded as\n '/', 'regexp', r.options.chr", "Reads and returns a Struct from an input stream\n\n @example\n Point = Struct.new(:x, :y)\n Point.new(100, 200)\n is encoded as\n 'S', :Point, {:x => 100, :y => 200}", "Reads and returns a Class from an input stream\n\n @example\n String\n is encoded as\n 'c', 'String'", "Reads and returns a Module from an input stream\n\n @example\n Kernel\n is encoded as\n 'm', 'Kernel'", "Reads and returns an abstract object from an input stream\n\n @example\n obj = Object.new\n obj.instance_variable_set(:@ivar, 100)\n obj\n is encoded as\n 'o', :Object, {:@ivar => 100}\n\n The only exception is a Range class (and its subclasses)\n For some reason in MRI isntances of this class have instance variables\n - begin\n - end\n - excl\n without '@' perfix.", "Reads an object that was dynamically extended before marshaling like\n\n @example\n M1 = Module.new\n M2 = Module.new\n obj = Object.new\n obj.extend(M1)\n obj.extend(M2)\n obj\n is encoded as\n 'e', :M2, :M1, obj", "Collects object allocation and memory of ruby code inside of passed block.", "Iterates through objects in memory of a given generation.\n Stores results along with meta data of objects collected.", "Output the results of the report\n @param [Hash] options the options for output\n @option opts [String] :to_file a path to your log file\n @option opts [Boolean] :color_output a flag for whether to colorize output\n @option opts [Integer] :retained_strings how many retained strings to print\n @option opts [Integer] :allocated_strings how many allocated strings to print\n @option opts [Boolean] :detailed_report should report include detailed information\n @option opts [Boolean] :scale_bytes calculates unit prefixes for the numbers of bytes", "Copy from origin to destination in chunks of size `stride`.\n Use the `throttler` class to sleep between each stride.", "Rename an existing column.\n\n @example\n\n Lhm.change_table(:users) do |m|\n m.rename_column(:login, :username)\n end\n\n @param [String] old Name of the column to change\n @param [String] nu New name to use for the column", "Remove an index from a table\n\n @example\n\n Lhm.change_table(:users) do |m|\n m.remove_index(:comment)\n m.remove_index([:username, :created_at])\n end\n\n @param [String, Symbol, Array] columns\n A column name given as String or Symbol. An Array of Strings or Symbols\n for compound indexes.\n @param [String, Symbol] index_name\n Optional name of the index to be removed", "Set up the queues for each of the worker's consumers.", "Bind a consumer's routing keys to its queue, and set up a subscription to\n receive messages sent to the queue.", "Called internally when a new messages comes in from RabbitMQ. Responsible\n for wrapping up the message and passing it to the consumer.", "Set up the connection to the RabbitMQ management API. Unfortunately, this\n is necessary to do a few things that are impossible over AMQP. E.g.\n listing queues and bindings.", "Return a mapping of queue names to the routing keys they're bound to.", "Find the existing bindings, and unbind any redundant bindings", "Bind a queue to the broker's exchange on the routing keys provided. Any\n existing bindings on the queue that aren't present in the array of\n routing keys will be unbound.", "Run a Hutch worker with the command line interface.", "Returns true if the bounds contain the passed point.\n allows for bounds which cross the meridian", "Returns a comma-delimited string consisting of the street address, city,\n state, zip, and country code. Only includes those attributes that are\n non-blank.", "Builds nested hash structure using the scope returned from the passed in scope", "Find or create a descendant node whose +ancestry_path+ will be ```self.ancestry_path + path```", "Uses Rails auto_link to add links to fields\n\n @param field [String,Hash] string to format and escape, or a hash as per helper_method\n @option field [SolrDocument] :document\n @option field [String] :field name of the solr field\n @option field [Blacklight::Configuration::IndexField, Blacklight::Configuration::ShowField] :config\n @option field [Array] :value array of values for the field\n @param show_link [Boolean]\n @return [ActiveSupport::SafeBuffer]\n @todo stop being a helper_method, start being part of the Blacklight render stack?", "Returns an array of users sorted by the date of their last stats update. Users that have not been recently updated\n will be at the top of the array.", "This method never fails. It tries multiple times and finally logs the exception", "Removes a single lease", "Compute the sum of each file in the collection using Solr to\n avoid having to access Fedora\n\n @return [Fixnum] size of collection in bytes\n @raise [RuntimeError] unsaved record does not exist in solr", "Calculate the size of all the files in the work\n @param work_id [String] identifer for a work\n @return [Integer] the size in bytes", "This performs a two pass query, first getting the AdminSets\n and then getting the work and file counts\n @param [Symbol] access :read or :edit\n @param join_field [String] how are we joining the admin_set ids (by default \"isPartOf_ssim\")\n @return [Array] a list with document, then work and file count", "Count number of files from admin set works\n @param [Array] AdminSets to count files in\n @return [Hash] admin set id keys and file count values", "Registers the given curation concern model in the configuration\n @param [Array,Symbol] curation_concern_types", "Return AdminSet selectbox options based on access type\n @param [Symbol] access :deposit, :read, or :edit", "Create a hash of HTML5 'data' attributes. These attributes are added to select_options and\n later utilized by Javascript to limit new Work options based on AdminSet selected", "Does the workflow for the currently selected permission template allow sharing?", "Handle the HTTP show request", "render an HTTP Range response", "Creates an admin set, setting the creator and the default access controls.\n @return [TrueClass, FalseClass] true if it was successful", "Gives deposit access to registered users to default AdminSet", "Given a deeply nested hash, return a single hash", "These are the file sets that belong to this work, but not necessarily\n in order.\n Arbitrarily maxed at 10 thousand; had to specify rows due to solr's default of 10", "Namespaces routes appropriately\n @example namespaced_resources(\"hyrax/my_work\") is equivalent to\n namespace \"hyrax\", path: :concern do\n resources \"my_work\", except: [:index]\n end", "IIIF metadata for inclusion in the manifest\n Called by the `iiif_manifest` gem to add metadata\n\n @return [Array] array of metadata hashes", "list of item ids to display is based on ordered_ids", "Uses kaminari to paginate an array to avoid need for solr documents for items here", "add hidden fields to a form for performing an action on a single document on a collection", "Finds a solr document matching the id and sets @presenter\n @raise CanCan::AccessDenied if the document is not found or the user doesn't have access to it.", "Only returns unsuppressed documents the user has read access to", "Add uploaded_files to the parameters received by the actor.", "Build a rendering hash\n\n @return [Hash] rendering", "For use with javascript user selector that allows for searching for an existing user\n and granting them permission to an object.\n @param [User] user to select\n @param [String] role granting the user permission (e.g. 'Manager' | 'Depositor' | 'Viewer')", "For use with javascript collection selector that allows for searching for an existing collection from works relationship tab.\n Adds the collection and validates that the collection is listed in the Collection Relationship table once added.\n @param [Collection] collection to select", "For use with javascript collection selector that allows for searching for an existing collection from add to collection modal.\n Does not save the selection. The calling test is expected to click Save and validate the collection membership was added to the work.\n @param [Collection] collection to select", "Creates a display image only where FileSet is an image.\n\n @return [IIIFManifest::DisplayImage] the display image required by the manifest builder.", "Retrieve or generate the fixity check for a specific version of a file\n @param [String] file_id used to find the file within its parent object (usually \"original_file\")\n @param [String] version_uri the version to be fixity checked (or the file uri for non-versioned files)", "Check if time since the last fixity check is greater than the maximum days allowed between fixity checks\n @param [ChecksumAuditLog] latest_fixity_check the most recent fixity check", "Removes a single embargo", "Updates a batch of embargos", "Write the workflow roles and state so one can see where the document moves to next\n @param [Hash] solr_document the solr document to add the field to", "Give workflow responsibilites to the provided agents for the given role\n @param [Sipity::Role] role\n @param [Array] agents", "Find any workflow_responsibilities held by agents not in the allowed_agents\n and remove them\n @param [Sipity::Role] role\n @param [Array] allowed_agents", "Present the attribute as an HTML table row or dl row.\n\n @param [Hash] options\n @option options [Symbol] :render_as use an alternate renderer\n (e.g., :linked or :linked_attribute to use LinkedAttributeRenderer)\n @option options [String] :search_field If the method_name of the attribute is different than\n how the attribute name should appear on the search URL,\n you can explicitly set the URL's search field name\n @option options [String] :label The default label for the field if no translation is found\n @option options [TrueClass, FalseClass] :include_empty should we display a row if there are no values?\n @option options [String] :work_type name of work type class (e.g., \"GenericWork\")", "We're overiding the default indexer in order to index the RDF labels. In order\n for this to be called, you must specify at least one default indexer on the property.\n @param [Hash] solr_doc\n @param [String] solr_field_key\n @param [Hash] field_info\n @param [ActiveTriples::Resource, String] val", "Grab the labels for controlled properties from the remote sources", "Use this method to append a string value from a controlled vocabulary field\n to the solr document. It just puts a copy into the corresponding label field\n @param [Hash] solr_doc\n @param [String] solr_field_key\n @param [Hash] field_info\n @param [String] val", "includes the depositor_facet to get information on deposits.\n use caution when combining this with other searches as it sets the rows to\n zero to just get the facet information\n @param solr_parameters the current solr parameters", "Display user profile", "Query solr using POST so that the query doesn't get too large for a URI", "Adds a value to the end of a list identified by key", "Roll up messages for an operation and all of its children", "Mark this operation as a FAILURE. If this is a child operation, roll up to\n the parent any failures.\n\n @param [String, nil] message record any failure message\n @see Hyrax::Operation::FAILURE\n @see #rollup_status\n @note This will run any registered :failure callbacks\n @todo Where are these callbacks defined? Document this", "Sets the operation status to PENDING\n @param [#class, #job_id] job - The job associated with this operation\n @see Hyrax::Operation::PENDING", "Renders a JSON response with a list of files in this admin set.\n This is used by the edit form to populate the thumbnail_id dropdown", "In the context of a Valkyrie resource, prefer to use the id if it\n is provided and fallback to the first of the alternate_ids. If all else fails\n then the id hasn't been minted and shouldn't yet be set.\n @return [String]", "Add attributes from resource which aren't AF properties into af_object", "For the Managed Collections tab, determine the label to use for the level of access the user has for this admin set.\n Checks from most permissive to most restrictive.\n @return String the access label (e.g. Manage, Deposit, View)", "Return the Global Identifier for this collection type.\n @return [String] Global Identifier (gid) for this collection_type (e.g. gid://internal/hyrax-collectiontype/3)", "Override release_date getter to return a dynamically calculated date of release\n based one release requirements. Returns embargo date when release_max_embargo?==true.\n Returns today's date when release_no_delay?==true.\n @see Hyrax::AdminSetService for usage", "Grant all users with read or edit access permission to download", "We check based on the depositor, because the depositor may not have edit\n access to the work if it went through a mediated deposit workflow that\n removes edit access for the depositor.", "Returns true if the current user is the depositor of the specified work\n @param document_id [String] the id of the document.", "Returns an array of characterization values truncated to 250 characters limited\n to the maximum number of configured values.\n @param [Symbol] term found in the characterization_metadata hash\n @return [Array] of truncated values", "Returns an array of characterization values truncated to 250 characters that are in\n excess of the maximum number of configured values.\n @param [Symbol] term found in the characterization_metadata hash\n @return [Array] of truncated values", "Retrieve search results of the given object type\n\n Permissions: (for people search only) r_network\n\n @note People Search API is a part of the Vetted API Access Program. You\n must apply and get approval before using this API\n\n @see http://developer.linkedin.com/documents/people-search-api People Search\n @see http://developer.linkedin.com/documents/job-search-api Job Search\n @see http://developer.linkedin.com/documents/company-search Company Search\n\n @param [Hash] options search input fields\n @param [String] type type of object to return ('people', 'job' or 'company')\n @return [LinkedIn::Mash]", "Convert the 'timestamp' field from a string to a Time object\n\n @return [Time]", "this skips manifests sometimes because it doesn't look at file\n contents and can't establish from only regexes that the thing\n is a manifest. We exclude rather than include ambiguous filenames\n because this API is used by libraries.io and we don't want to\n download all .xml files from GitHub.", "Returns the object in the form of hash\n @return [Hash] Returns the object in the form of hash", "Outputs non-array value in the form of hash\n For object, use to_hash. Otherwise, just return the value\n @param [Object] value Any valid value\n @return [Hash] Returns the value in the form of hash", "Extract batch_token from Link header if present\n @param [Hash] headers hash with response headers\n @return [String] batch_token or nil if no token is present", "ListCashDrawerShifts\n Provides the details for all of a location's cash drawer shifts during a date range. The date range you specify cannot exceed 90 days.\n @param location_id The ID of the location to list cash drawer shifts for.\n @param [Hash] opts the optional parameters\n @option opts [String] :order The order in which cash drawer shifts are listed in the response, based on their created_at field. Default value: ASC\n @option opts [String] :begin_time The beginning of the requested reporting period, in ISO 8601 format. Default value: The current time minus 90 days.\n @option opts [String] :end_time The beginning of the requested reporting period, in ISO 8601 format. Default value: The current time.\n @return [Array]", "RetrieveCashDrawerShift\n Provides the details for a single cash drawer shift, including all events that occurred during the shift.\n @param location_id The ID of the location to list cash drawer shifts for.\n @param shift_id The shift's ID.\n @param [Hash] opts the optional parameters\n @return [V1CashDrawerShift]", "RetrieveEmployee\n Provides the details for a single employee.\n @param employee_id The employee's ID.\n @param [Hash] opts the optional parameters\n @return [V1Employee]", "RetrieveEmployeeRole\n Provides the details for a single employee role.\n @param role_id The role's ID.\n @param [Hash] opts the optional parameters\n @return [V1EmployeeRole]", "UpdateEmployeeRole\n Modifies the details of an employee role.\n @param role_id The ID of the role to modify.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1EmployeeRole]", "UpdateTimecard\n Modifies the details of a timecard with an `API_EDIT` event for the timecard. Updating an active timecard with a `clockout_time` clocks the employee out.\n @param timecard_id TThe ID of the timecard to modify.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Timecard]", "CreateCustomerCard\n Adds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call. Cards on file are automatically updated on a monthly basis to confirm they are still valid and can be charged.\n @param customer_id The ID of the customer to link the card on file to.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [CreateCustomerCardResponse]", "DeleteCustomer\n Deletes a customer from a business, along with any linked cards on file. When two profiles are merged into a single profile, that profile is assigned a new `customer_id`. You must use the new `customer_id` to delete merged profiles.\n @param customer_id The ID of the customer to delete.\n @param [Hash] opts the optional parameters\n @return [DeleteCustomerResponse]", "DeleteCustomerCard\n Removes a card on file from a customer.\n @param customer_id The ID of the customer that the card on file belongs to.\n @param card_id The ID of the card on file to delete.\n @param [Hash] opts the optional parameters\n @return [DeleteCustomerCardResponse]", "RetrieveCustomer\n Returns details for a single customer.\n @param customer_id The ID of the customer to retrieve.\n @param [Hash] opts the optional parameters\n @return [RetrieveCustomerResponse]", "SearchCustomers\n Searches the customer profiles associated with a Square account. Calling SearchCustomers without an explicit query parameter returns all customer profiles ordered alphabetically based on `given_name` and `family_name`.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [SearchCustomersResponse]", "AdjustInventory\n Adjusts an item variation's current available inventory.\n @param location_id The ID of the item's associated location.\n @param variation_id The ID of the variation to adjust inventory information for.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1InventoryEntry]", "ApplyFee\n Associates a fee with an item, meaning the fee is automatically applied to the item in Square Register.\n @param location_id The ID of the fee's associated location.\n @param item_id The ID of the item to add the fee to.\n @param fee_id The ID of the fee to apply.\n @param [Hash] opts the optional parameters\n @return [V1Item]", "ApplyModifierList\n Associates a modifier list with an item, meaning modifier options from the list can be applied to the item.\n @param location_id The ID of the item's associated location.\n @param modifier_list_id The ID of the modifier list to apply.\n @param item_id The ID of the item to add the modifier list to.\n @param [Hash] opts the optional parameters\n @return [V1Item]", "CreateCategory\n Creates an item category.\n @param location_id The ID of the location to create an item for.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Category]", "CreateDiscount\n Creates a discount.\n @param location_id The ID of the location to create an item for.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Discount]", "CreateItem\n Creates an item and at least one variation for it. Item-related entities include fields you can use to associate them with entities in a non-Square system. When you create an item-related entity, you can optionally specify its `id`. This value must be unique among all IDs ever specified for the account, including those specified by other applications. You can never reuse an entity ID. If you do not specify an ID, Square generates one for the entity. Item variations have a `user_data` string that lets you associate arbitrary metadata with the variation. The string cannot exceed 255 characters.\n @param location_id The ID of the location to create an item for.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Item]", "CreateModifierList\n Creates an item modifier list and at least one modifier option for it.\n @param location_id The ID of the location to create a modifier list for.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1ModifierList]", "CreateModifierOption\n Creates an item modifier option and adds it to a modifier list.\n @param location_id The ID of the item's associated location.\n @param modifier_list_id The ID of the modifier list to edit.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1ModifierOption]", "CreatePage\n Creates a Favorites page in Square Register.\n @param location_id The ID of the location to create an item for.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Page]", "CreateVariation\n Creates an item variation for an existing item.\n @param location_id The ID of the item's associated location.\n @param item_id The item's ID.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Variation]", "ListCategories\n Lists all of a location's item categories.\n @param location_id The ID of the location to list categories for.\n @param [Hash] opts the optional parameters\n @return [Array]", "ListDiscounts\n Lists all of a location's discounts.\n @param location_id The ID of the location to list categories for.\n @param [Hash] opts the optional parameters\n @return [Array]", "ListInventory\n Provides inventory information for all of a merchant's inventory-enabled item variations.\n @param location_id The ID of the item's associated location.\n @param [Hash] opts the optional parameters\n @option opts [Integer] :limit The maximum number of inventory entries to return in a single response. This value cannot exceed 1000.\n @option opts [String] :batch_token A pagination cursor to retrieve the next set of results for your original query to the endpoint.\n @return [Array]", "ListItems\n Provides summary information for all of a location's items.\n @param location_id The ID of the location to list items for.\n @param [Hash] opts the optional parameters\n @option opts [String] :batch_token A pagination cursor to retrieve the next set of results for your original query to the endpoint.\n @return [Array]", "ListModifierLists\n Lists all of a location's modifier lists.\n @param location_id The ID of the location to list modifier lists for.\n @param [Hash] opts the optional parameters\n @return [Array]", "ListPages\n Lists all of a location's Favorites pages in Square Register.\n @param location_id The ID of the location to list Favorites pages for.\n @param [Hash] opts the optional parameters\n @return [Array]", "RemoveFee\n Removes a fee assocation from an item, meaning the fee is no longer automatically applied to the item in Square Register.\n @param location_id The ID of the fee's associated location.\n @param item_id The ID of the item to add the fee to.\n @param fee_id The ID of the fee to apply.\n @param [Hash] opts the optional parameters\n @return [V1Item]", "RemoveModifierList\n Removes a modifier list association from an item, meaning modifier options from the list can no longer be applied to the item.\n @param location_id The ID of the item's associated location.\n @param modifier_list_id The ID of the modifier list to remove.\n @param item_id The ID of the item to remove the modifier list from.\n @param [Hash] opts the optional parameters\n @return [V1Item]", "RetrieveItem\n Provides the details for a single item, including associated modifier lists and fees.\n @param location_id The ID of the item's associated location.\n @param item_id The item's ID.\n @param [Hash] opts the optional parameters\n @return [V1Item]", "RetrieveModifierList\n Provides the details for a single modifier list.\n @param location_id The ID of the item's associated location.\n @param modifier_list_id The modifier list's ID.\n @param [Hash] opts the optional parameters\n @return [V1ModifierList]", "UpdateCategory\n Modifies the details of an existing item category.\n @param location_id The ID of the category's associated location.\n @param category_id The ID of the category to edit.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Category]", "UpdateDiscount\n Modifies the details of an existing discount.\n @param location_id The ID of the category's associated location.\n @param discount_id The ID of the discount to edit.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Discount]", "UpdateItem\n Modifies the core details of an existing item.\n @param location_id The ID of the item's associated location.\n @param item_id The ID of the item to modify.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Item]", "UpdateModifierList\n Modifies the details of an existing item modifier list.\n @param location_id The ID of the item's associated location.\n @param modifier_list_id The ID of the modifier list to edit.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1ModifierList]", "UpdateModifierOption\n Modifies the details of an existing item modifier option.\n @param location_id The ID of the item's associated location.\n @param modifier_list_id The ID of the modifier list to edit.\n @param modifier_option_id The ID of the modifier list to edit.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1ModifierOption]", "UpdatePage\n Modifies the details of a Favorites page in Square Register.\n @param location_id The ID of the Favorites page's associated location\n @param page_id The ID of the page to modify.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Page]", "UpdatePageCell\n Modifies a cell of a Favorites page in Square Register.\n @param location_id The ID of the Favorites page's associated location.\n @param page_id The ID of the page the cell belongs to.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Page]", "UpdateVariation\n Modifies the details of an existing item variation.\n @param location_id The ID of the item's associated location.\n @param item_id The ID of the item to modify.\n @param variation_id The ID of the variation to modify.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [V1Variation]", "DeleteBreakType\n Deletes an existing `BreakType`. A `BreakType` can be deleted even if it is referenced from a `Shift`.\n @param id UUID for the `BreakType` being deleted.\n @param [Hash] opts the optional parameters\n @return [DeleteBreakTypeResponse]", "DeleteShift\n Deletes a `Shift`.\n @param id UUID for the `Shift` being deleted.\n @param [Hash] opts the optional parameters\n @return [DeleteShiftResponse]", "GetBreakType\n Returns a single `BreakType` specified by id.\n @param id UUID for the `BreakType` being retrieved.\n @param [Hash] opts the optional parameters\n @return [GetBreakTypeResponse]", "GetEmployeeWage\n Returns a single `EmployeeWage` specified by id.\n @param id UUID for the `EmployeeWage` being retrieved.\n @param [Hash] opts the optional parameters\n @return [GetEmployeeWageResponse]", "GetShift\n Returns a single `Shift` specified by id.\n @param id UUID for the `Shift` being retrieved.\n @param [Hash] opts the optional parameters\n @return [GetShiftResponse]", "UpdateBreakType\n Updates an existing `BreakType`.\n @param id UUID for the `BreakType` being updated.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [UpdateBreakTypeResponse]", "UpdateShift\n Updates an existing `Shift`. When adding a `Break` to a `Shift`, any earlier `Breaks` in the `Shift` have the `end_at` property set to a valid RFC-3339 datetime string. When closing a `Shift`, all `Break` instances in the shift must be complete with `end_at` set on each `Break`.\n @param id ID of the object being updated.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [UpdateShiftResponse]", "UpdateWorkweekConfig\n Updates a `WorkweekConfig`.\n @param id UUID for the `WorkweekConfig` object being updated.\n @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.\n @param [Hash] opts the optional parameters\n @return [UpdateWorkweekConfigResponse]", "RetrieveTransaction\n Retrieves details for a single transaction.\n @param location_id The ID of the transaction's associated location.\n @param transaction_id The ID of the transaction to retrieve.\n @param [Hash] opts the optional parameters\n @return [RetrieveTransactionResponse]", "ListBankAccounts\n Provides non-confidential details for all of a location's associated bank accounts. This endpoint does not provide full bank account numbers, and there is no way to obtain a full bank account number with the Connect API.\n @param location_id The ID of the location to list bank accounts for.\n @param [Hash] opts the optional parameters\n @return [Array]", "ListOrders\n Provides summary information for a merchant's online store orders.\n @param location_id The ID of the location to list online store orders for.\n @param [Hash] opts the optional parameters\n @option opts [String] :order TThe order in which payments are listed in the response.\n @option opts [Integer] :limit The maximum number of payments to return in a single response. This value cannot exceed 200.\n @option opts [String] :batch_token A pagination cursor to retrieve the next set of results for your original query to the endpoint.\n @return [Array]", "RetrieveBankAccount\n Provides non-confidential details for a merchant's associated bank account. This endpoint does not provide full bank account numbers, and there is no way to obtain a full bank account number with the Connect API.\n @param location_id The ID of the bank account's associated location.\n @param bank_account_id The bank account's Square-issued ID. You obtain this value from Settlement objects returned.\n @param [Hash] opts the optional parameters\n @return [V1BankAccount]", "RetrieveOrder\n Provides comprehensive information for a single online store order, including the order's history.\n @param location_id The ID of the order's associated location.\n @param order_id The order's Square-issued ID. You obtain this value from Order objects returned by the List Orders endpoint\n @param [Hash] opts the optional parameters\n @return [V1Order]", "RetrievePayment\n Provides comprehensive information for a single payment.\n @param location_id The ID of the payment's associated location.\n @param payment_id The Square-issued payment ID. payment_id comes from Payment objects returned by the List Payments endpoint, Settlement objects returned by the List Settlements endpoint, or Refund objects returned by the List Refunds endpoint.\n @param [Hash] opts the optional parameters\n @return [V1Payment]", "View helper for rendering many activities", "Adds or redefines a parameter\n @param [Symbol] name\n @param [#call, nil] type (nil)\n @option opts [Proc] :default\n @option opts [Boolean] :optional\n @option opts [Symbol] :as\n @option opts [true, false, :protected, :public, :private] :reader\n @return [self] itself", "Human-readable representation of configured params and options\n @return [String]", "Returns a version of the module with custom settings\n @option settings [Boolean] :undefined\n If unassigned params and options should be treated different from nil\n @return [Dry::Initializer]", "Returns mixin module to be included to target class by hand\n @return [Module]\n @yield proc defining params and options", "class AndroidElements\n Android only.\n Returns a string containing interesting elements.\n The text, content description, and id are returned.\n @param class_name [String] the class name to filter on.\n if false (default) then all classes will be inspected\n @return [String]", "Intended for use with console.\n Inspects and prints the current page.\n Will return XHTML for Web contexts because of a quirk with Nokogiri.\n @option class [Symbol] the class name to filter on. case insensitive include match.\n if nil (default) then all classes will be inspected\n @return [void]", "Find the element of type class_name at matching index.\n @param class_name [String] the class name to find\n @param index [Integer] the index\n @return [Element] the found element of type class_name", "Returns a hash of the driver attributes", "Returns the server's version info\n\n @example\n {\n \"build\" => {\n \"version\" => \"0.18.1\",\n \"revision\" => \"d242ebcfd92046a974347ccc3a28f0e898595198\"\n }\n }\n\n @return [Hash]", "Creates a new global driver and quits the old one if it exists.\n You can customise http_client as the following\n\n Read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device to understand more what the driver\n can call instance methods.\n\n @example\n\n require 'rubygems'\n require 'appium_lib'\n\n # platformName takes a string or a symbol.\n # Start iOS driver\n opts = {\n caps: {\n platformName: :ios,\n app: '/path/to/MyiOS.app'\n },\n appium_lib: {\n wait_timeout: 30\n }\n }\n appium_driver = Appium::Driver.new(opts) #=> return an Appium::Driver instance\n appium_driver.start_driver #=> return an Appium::Core::Base::Driver\n\n @option http_client_ops [Hash] :http_client Custom HTTP Client\n @option http_client_ops [Hash] :open_timeout Custom open timeout for http client.\n @option http_client_ops [Hash] :read_timeout Custom read timeout for http client.\n @return [Selenium::WebDriver] the new global driver", "To ignore error for Espresso Driver", "Returns existence of element.\n\n Example:\n\n exists { button('sign in') } ? puts('true') : puts('false')\n\n @param [Integer] pre_check The amount in seconds to set the\n wait to before checking existence\n @param [Integer] post_check The amount in seconds to set the\n wait to after checking existence\n @yield The block to call\n @return [Boolean]", "Find the last TextField.\n @return [TextField]", "Converts pixel values to window relative values\n\n @example\n\n px_to_window_rel x: 50, y: 150 #=> #", "Search strings.xml's values for target.\n @param target [String] the target to search for in strings.xml values\n @return [Array]", "Search strings.xml's keys for target.\n @param target [String] the target to search for in strings.xml keys\n @return [Array]", "backward compatibility\n Find the first button that contains value or by index.\n @param value [String, Integer] the value to exactly match.\n If int then the button at that index is returned.\n @return [BUTTON]", "Find the last button.\n @return [BUTTON]", "Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index.\n @param value [String, Integer] the value to find.\n If int then the UIAStaticText|XCUIElementTypeStaticText at that index is returned.\n @return [UIA_STATIC_TEXT|XCUIELEMENT_TYPE_STATIC_TEXT]", "Scroll to the first element containing target text or description.\n @param text [String] the text or resourceId to search for in the text value and content description\n @param scrollable_index [Integer] the index for scrollable views.\n @return [Element] the element scrolled to", "Prints a string of interesting elements to the console.\n\n @example\n ```ruby\n page class: :UIAButton # filter on buttons\n page class: :UIAButton, window: 1\n ```\n\n @option visible [Symbol] visible value to filter on\n @option class [Symbol] class name to filter on\n\n @return [void]", "Get the element of type class_name at matching index.\n @param class_name [String] the class name to find\n @param index [Integer] the index\n @return [Element]", "predicate - the predicate to evaluate on the main app\n\n visible - if true, only visible elements are returned. default true", "Check every interval seconds to see if yield returns a truthy value.\n Note this isn't a strict boolean true, any truthy value is accepted.\n false and nil are considered failures.\n Give up after timeout seconds.\n\n Wait code from the selenium Ruby gem\n https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f0c20/rb/lib/selenium/webdriver/common/wait.rb\n\n If only a number is provided then it's treated as the timeout value.\n\n @param [Hash|Numeric] opts Options. If the value is _Numeric_, the value is set as `{ timeout: value }`\n @option opts [Numeric] :timeout Seconds to wait before timing out. Set default by `appium_wait_timeout` (30).\n @option opts [Numeric] :interval Seconds to sleep between polls. Set default by `appium_wait_interval` (0.5).\n @option opts [String] :message Exception message if timed out.\n @option opts [Array, Exception] :ignore Exceptions to ignore while polling (default: Exception)\n\n @example\n\n wait_true(timeout: 20, interval: 0.2, message: 'custom message') { button_exact('Back') }.click\n wait_true(20) { button_exact('Back') }.click", "Find the first EditText that contains value or by index.\n @param value [String, Integer] the text to match exactly.\n If int then the EditText at that index is returned.\n @return [EDIT_TEXT]", "Find the first TextView that contains value or by index.\n @param value [String, Integer] the value to find.\n If int then the TextView at that index is returned.\n @return [TextView]", "Find the first UIAButton|XCUIElementTypeButton that contains value or by index.\n @param value [String, Integer] the value to exactly match.\n If int then the UIAButton|XCUIElementTypeButton at that index is returned.\n @return [UIA_BUTTON|XCUIELEMENT_TYPE_BUTTON]", "Handles extracting elements from the entry", "specifically handles extracting the preconditions for the population criteria", "extracts out any measure observation definitons, creating from them the proper criteria to generate a precondition", "generates the value given in an expression based on the number of criteria it references.", "Get the conjunction code, ALL_TRUE or AT_LEAST_ONE_TRUE\n @return [String] conjunction code", "Check whether the temporal reference should be marked as inclusive", "Check whether the length of stay should be inclusive.", "Check if are only AnyValue elements for low and high", "If a precondition references a population, remove it", "Extracts the measure observations, will return true if one exists", "Builds populations based an a predfined set of expected populations", "Generate the stratifications of populations, if any exist", "Method to generate the criteria defining a population", "if the data criteria is derived from another criteria, then we want to grab the properties from the derived criteria\n this is typically the case with Occurrence A, Occurrence B type data criteria", "source are things like exceptions or exclusions, target are IPP, or denom\n we want to find any denoms or IPPs that do not have exceptions or exclusions", "create a copy of each submeasre adding on the new values of the given type\n skip the unpaired values. Unpaired values are denominators without exclusions or populations without exceptions", "Handles setup of the base values of the document, defined here as ones that are either\n obtained from the xml directly or with limited parsing", "Extracts the code used by a particular attribute", "Extracts the value used by a particular attribute", "For specific occurrence data criteria, make sure the source data criteria reference points\n to the correct source data criteria.", "Set the value and code_list_xpath using the template mapping held in the ValueSetHelper class", "Apply some elements from the reference_criteria to the derived specific occurrence", "grouping data criteria are used to allow a single reference off of a temporal reference or subset operator\n grouping data criteria can reference either regular data criteria as children, or other grouping data criteria", "pull the children data criteria out of a set of preconditions", "this method creates V1 data criteria for the measurement period. These data criteria can be\n referenced properly within the restrictions", "Generate a list of child criterias", "Extracts all subset operators contained in the entry xml", "Preconditions can have nil conjunctions as part of a DATEDIFF, we want to remove these and warn", "Get the source data criteria that are specific occurrences\n @return [Array] an array of HQMF::DataCriteria describing the data elements used by the measure that are specific occurrences", "Get specific attributes by code.\n @param [String] code the attribute code\n @param [String] code_system the attribute code system\n @return [Array#Attribute] the matching attributes, raises an Exception if not found", "patient characteristics data criteria such as GENDER require looking at the codes to determine if the\n measure is interested in Males or Females. This process is awkward, and thus is done as a separate\n step after the document has been converted.", "Given a template id, modify the variables inside this data criteria to reflect the template", "Extracts information from a reference for a specific", "Apply additional information to a specific occurrence's elements from the criteria it references.", "If there is no entry type, extract the entry type from what it references, and extract additional information for\n specific occurrences. If there are no outbound references, print an error and mark it as variable.", "Create grouper data criteria for encapsulating variable data criteria\n and update document data criteria list and references map", "Check elements that do not already exist; else, if they do, check if those elements are the same\n in a different, potentially matching, data criteria", "Handle setting the specific and source instance variables with a given occurrence identifier", "Handles elments that can be extracted directly from the xml. Utilises the \"BaseExtractions\" class.", "Duplicates information from a child element to this data criteria if none exits.\n If the duplication requires that come values should be overwritten, do so only in the function calling this.", "Generate the models of the field values", "Generate the title and description used when producing the model", "class << self", "The URL for this Chef Zero server. If the given host is an IPV6 address,\n it is escaped in brackets according to RFC-2732.\n\n @see http://www.ietf.org/rfc/rfc2732.txt RFC-2732\n\n @return [String]", "Start a Chef Zero server in a forked process. This method returns the PID\n to the forked process.\n\n @param [Fixnum] wait\n the number of seconds to wait for the server to start\n\n @return [Thread]\n the thread the background process is running in", "Gracefully stop the Chef Zero server.\n\n @param [Fixnum] wait\n the number of seconds to wait before raising force-terminating the\n server", "Serializes `data` to JSON and returns an Array with the\n response code, HTTP headers and JSON body.\n\n @param [Fixnum] response_code HTTP response code\n @param [Hash] data The data for the response body as a Hash\n @param [Hash] options\n @option options [Hash] :headers (see #already_json_response)\n @option options [Boolean] :pretty (true) Pretty-format the JSON\n @option options [Fixnum] :request_version (see #already_json_response)\n @option options [Fixnum] :response_version (see #already_json_response)\n\n @return (see #already_json_response)", "Returns an Array with the response code, HTTP headers, and JSON body.\n\n @param [Fixnum] response_code The HTTP response code\n @param [String] json_text The JSON body for the response\n @param [Hash] options\n @option options [Hash] :headers ({}) HTTP headers (may override default headers)\n @option options [Fixnum] :request_version (0) Request API version\n @option options [Fixnum] :response_version (0) Response API version\n\n @return [Array(Fixnum, Hash{String => String}, String)]", "To be called from inside rest endpoints", "Processes SASL connection params and returns a hash with symbol keys or a nil", "Map states to symbols", "Async fetch results from an async execute", "Pull rows from the query result", "Raises an exception if given operation result is a failure", "this will clean up when we officially deprecate", "produces a printf formatter line for an array of items\n if an individual line item is an array, it will create columns\n that are lined-up\n\n line_formatter([\"foo\", \"barbaz\"]) # => \"%-6s\"\n line_formatter([\"foo\", \"barbaz\"], [\"bar\", \"qux\"]) # => \"%-3s %-6s\"", "creates a new StrVal object\n @option options [Array] :data\n @option options [String] :tag_name\n Creates the val objects for this data set. I am not overly confident this is going to play nicely with time and data types.\n @param [Array] values An array of cells or values.", "The relationships for this pivot table.\n @return [Relationships]", "Sets the color for the data bars.\n @param [Color|String] v The color object, or rgb string value to apply", "Serialize this object to an xml string\n @param [String] str\n @return [String]", "Serialize your workbook to disk as an xlsx document.\n\n @param [String] output The name of the file you want to serialize your package to\n @param [Boolean] confirm_valid Validate the package prior to serialization.\n @return [Boolean] False if confirm_valid and validation errors exist. True if the package was serialized\n @note A tremendous amount of effort has gone into ensuring that you cannot create invalid xlsx documents.\n confirm_valid should be used in the rare case that you cannot open the serialized file.\n @see Package#validate\n @example\n # This is how easy it is to create a valid xlsx file. Of course you might want to add a sheet or two, and maybe some data, styles and charts.\n # Take a look at the README for an example of how to do it!\n\n #serialize to a file\n p = Axlsx::Package.new\n # ......add cool stuff to your workbook......\n p.serialize(\"example.xlsx\")\n\n # Serialize to a stream\n s = p.to_stream()\n File.open('example_streamed.xlsx', 'w') { |f| f.write(s.read) }", "Serialize your workbook to a StringIO instance\n @param [Boolean] confirm_valid Validate the package prior to serialization.\n @return [StringIO|Boolean] False if confirm_valid and validation errors exist. rewound string IO if not.", "Writes the package parts to a zip archive.\n @param [Zip::OutputStream] zip\n @return [Zip::OutputStream]", "The parts of a package\n @return [Array] An array of hashes that define the entry, document and schema for each part of the package.\n @private", "Performs xsd validation for a signle document\n\n @param [String] schema path to the xsd schema to be used in validation.\n @param [String] doc The xml text to be validated\n @return [Array] An array of all validation errors encountered.\n @private", "Appends override objects for drawings, charts, and sheets as they exist in your workbook to the default content types.\n @return [ContentType]\n @private", "Creates the minimum content types for generating a valid xlsx document.\n @return [ContentType]\n @private", "Creates the relationships required for a valid xlsx document\n @return [Relationships]\n @private", "sets or updates a hyperlink for this image.\n @param [String] v The href value for the hyper link\n @option options @see Hyperlink#initialize All options available to the Hyperlink class apply - however href will be overridden with the v parameter value.", "noop if not using a two cell anchor\n @param [Integer] x The column\n @param [Integer] y The row\n @return [Marker]", "Changes the anchor to a one cell anchor.", "changes the anchor type to a two cell anchor", "refactoring of swapping code, law of demeter be damned!", "creates a new ColorScale object.\n @see Cfvo\n @see Color\n @example\n color_scale = Axlsx::ColorScale.new({:type => :num, :val => 0.55, :color => 'fff7696c'})\n adds a new cfvo / color pair to the color scale and returns a hash containing\n a reference to the newly created cfvo and color objects so you can alter the default properties.\n @return [Hash] a hash with :cfvo and :color keys referencing the newly added objects.\n @param [Hash] options options for the new cfvo and color objects\n @option [Symbol] type The type of cfvo you to add\n @option [Any] val The value of the cfvo to add\n @option [String] The rgb color for the cfvo", "Serialize this color_scale object data to an xml string\n @param [String] str\n @return [String]", "There has got to be cleaner way of merging these arrays.", "Adds an axis to the collection\n @param [Symbol] name The name of the axis\n @param [Axis] axis_class The axis class to generate", "Creates a new Shared Strings Table agains an array of cells\n @param [Array] cells This is an array of all of the cells in the workbook\n @param [Symbol] xml_space The xml:space behavior for the shared string table.\n Serializes the object\n @param [String] str\n @return [String]", "Interate over all of the cells in the array.\n if our unique cells array does not contain a sharable cell,\n add the cell to our unique cells array and set the ssti attribute on the index of this cell in the shared strings table\n if a sharable cell already exists in our unique_cells array, set the ssti attribute of the cell and move on.\n @return [Array] unique cells", "seralize the collection of hyperlinks\n @return [String]", "A quick helper to retrive a worksheet by name\n @param [String] name The name of the sheet you are looking for\n @return [Worksheet] The sheet found, or nil", "inserts a worksheet into this workbook at the position specified.\n It the index specified is out of range, the worksheet will be added to the end of the\n worksheets collection\n @return [Worksheet]\n @param index The zero based position to insert the newly created worksheet\n @param [Hash] options Options to pass into the worksheed during initialization.\n @option options [String] name The name of the worksheet\n @option options [Hash] page_margins The page margins for the worksheet", "The workbook relationships. This is managed automatically by the workbook\n @return [Relationships]", "returns a range of cells in a worksheet\n @param [String] cell_def The excel style reference defining the worksheet and cells. The range must specify the sheet to\n retrieve the cells from. e.g. range('Sheet1!A1:B2') will return an array of four cells [A1, A2, B1, B2] while range('Sheet1!A1') will return a single Cell.\n @return [Cell, Array]", "Serialize the workbook\n @param [String] str\n @return [String]", "Set some or all margins at once.\n @param [Hash] margins the margins to set (possible keys are :left, :right, :top, :bottom, :header and :footer).", "shortcut to set the column, row position for this marker\n @param col the column for the marker, a Cell object or a string reference like \"B7\"\n or an Array.\n @param row the row of the marker. This is ignored if the col parameter is a Cell or\n String or Array.", "handles multiple inputs for setting the position of a marker\n @see Chart#start_at", "Creates a new Comments object\n @param [Worksheet] worksheet The sheet that these comments belong to.\n Adds a new comment to the worksheet that owns these comments.\n @note the author, text and ref options are required\n @option options [String] author The name of the author for this comment\n @option options [String] text The text for this comment\n @option options [Stirng|Cell] ref The cell that this comment is attached to.", "Tries to work out the width of the longest line in the run\n @param [Array] widtharray this array is populated with the widths of each line in the run.\n @return [Array]", "Serializes the RichTextRun\n @param [String] str\n @return [String]", "Returns the width of a string according to the current style\n This is still not perfect...\n - scaling is not linear as font sizes increase", "we scale the font size if bold style is applied to either the style font or\n the cell itself. Yes, it is a bit of a hack, but it is much better than using\n imagemagick and loading metrics for every character.", "validates that the value provided is between 0.0 and 1.0", "Serialize the contenty type to xml", "serialize the conditional formattings", "Initalize the simple typed list of value objects\n I am keeping this private for now as I am not sure what impact changes to the required two cfvo objects will do.", "Creates a byte string for this storage\n @return [String]", "Sets the col_id attribute for this filter column.\n @param [Integer | Cell] column_index The zero based index of the column to which this filter applies.\n When you specify a cell, the column index will be read off the cell\n @return [Integer]", "Apply the filters for this column\n @param [Array] row A row from a worksheet that needs to be\n filtered.", "Serialize the sheet data\n @param [String] str the string this objects serializaton will be concacted to.\n @return [String]", "creates the DefinedNames object\n Serialize to xml\n @param [String] str\n @return [String]", "Add a ConditionalFormattingRule. If a hash of options is passed\n in create a rule on the fly.\n @param [ConditionalFormattingRule|Hash] rule A rule to use, or the options necessary to create one.\n @see ConditionalFormattingRule#initialize", "Serializes the conditional formatting element\n @example Conditional Formatting XML looks like:\n \n \n 0.5\n \n \n @param [String] str\n @return [String]", "Specify the degree of label rotation to apply to labels\n default true", "The title object for the chart.\n @param [String, Cell] v\n @return [Title]", "Initalizes page margin, setup and print options\n @param [Hash] options Options passed in from the initializer", "Add conditional formatting to this worksheet.\n\n @param [String] cells The range to apply the formatting to\n @param [Array|Hash] rules An array of hashes (or just one) to create Conditional formatting rules from.\n @example This would format column A whenever it is FALSE.\n # for a longer example, see examples/example_conditional_formatting.rb (link below)\n worksheet.add_conditional_formatting( \"A1:A1048576\", { :type => :cellIs, :operator => :equal, :formula => \"FALSE\", :dxfId => 1, :priority => 1 }\n\n @see ConditionalFormattingRule#initialize\n @see file:examples/example_conditional_formatting.rb", "Add data validation to this worksheet.\n\n @param [String] cells The cells the validation will apply to.\n @param [hash] data_validation options defining the validation to apply.\n @see examples/data_validation.rb for an example", "Adds a chart to this worksheets drawing. This is the recommended way to create charts for your worksheet. This method wraps the complexity of dealing with ooxml drawing, anchors, markers graphic frames chart objects and all the other dirty details.\n @param [Class] chart_type\n @option options [Array] start_at\n @option options [Array] end_at\n @option options [Cell, String] title\n @option options [Boolean] show_legend\n @option options [Integer] style\n @note each chart type also specifies additional options\n @see Chart\n @see Pie3DChart\n @see Bar3DChart\n @see Line3DChart\n @see README for examples", "This is a helper method that Lets you specify a fixed width for multiple columns in a worksheet in one go.\n Note that you must call column_widths AFTER adding data, otherwise the width will not be set successfully.\n Setting a fixed column width to nil will revert the behaviour back to calculating the width for you on the next call to add_row.\n @example This would set the first and third column widhts but leave the second column in autofit state.\n ws.column_widths 7.2, nil, 3\n @note For updating only a single column it is probably easier to just set the width of the ws.column_info[col_index].width directly\n @param [Integer|Float|nil] widths", "Set the style for cells in a specific column\n @param [Integer] index the index of the column\n @param [Integer] style the cellXfs index\n @param [Hash] options\n @option [Integer] :row_offset only cells after this column will be updated.\n @note You can also specify the style for specific columns in the call to add_row by using an array for the :styles option\n @see Worksheet#add_row\n @see README.md for an example", "Set the style for cells in a specific row\n @param [Integer] index or range of indexes in the table\n @param [Integer] style the cellXfs index\n @param [Hash] options the options used when applying the style\n @option [Integer] :col_offset only cells after this column will be updated.\n @note You can also specify the style in the add_row call\n @see Worksheet#add_row\n @see README.md for an example", "Returns a sheet node serialization for this sheet in the workbook.", "Serializes the worksheet object to an xml string\n This intentionally does not use nokogiri for performance reasons\n @return [String]", "The worksheet relationships. This is managed automatically by the worksheet\n @return [Relationships]", "returns the column and row index for a named based cell\n @param [String] name The cell or cell range to return. \"A1\" will return the first cell of the first row.\n @return [Cell]", "shortcut level to specify the outline level for a series of rows\n Oulining is what lets you add collapse and expand to a data set.\n @param [Integer] start_index The zero based index of the first row of outlining.\n @param [Integer] end_index The zero based index of the last row to be outlined\n @param [integer] level The level of outline to apply\n @param [Integer] collapsed The initial collapsed state of the outline group", "shortcut level to specify the outline level for a series of columns\n Oulining is what lets you add collapse and expand to a data set.\n @param [Integer] start_index The zero based index of the first column of outlining.\n @param [Integer] end_index The zero based index of the last column to be outlined\n @param [integer] level The level of outline to apply\n @param [Integer] collapsed The initial collapsed state of the outline group", "Serializes the row\n @param [Integer] r_index The row index, 0 based.\n @param [String] str The string this rows xml will be appended to.\n @return [String]", "Adds a single cell to the row based on the data provided and updates the worksheet's autofit data.\n @return [Cell]", "sets the color for every cell in this row", "sets the style for every cell in this row", "Converts values, types, and style options into cells and associates them with this row.\n A new cell is created for each item in the values array.\n If value option is defined and is a symbol it is applied to all the cells created.\n If the value option is an array, cell types are applied by index for each cell\n If the style option is defined and is an Integer, it is applied to all cells created.\n If the style option is an array, style is applied by index for each cell.\n @option options [Array] values\n @option options [Array, Symbol] types\n @option options [Array, Integer] style", "Creates a new Drawing object\n @param [Worksheet] worksheet The worksheet that owns this drawing\n Adds an image to the chart If th end_at option is specified we create a two cell anchor. By default we use a one cell anchor.\n @note The recommended way to manage images is to use Worksheet.add_image. Please refer to that method for documentation.\n @see Worksheet#add_image\n @return [Pic]", "Adds a chart to the drawing.\n @note The recommended way to manage charts is to use Worksheet.add_chart. Please refer to that method for documentation.\n @see Worksheet#add_chart", "An array of charts that are associated with this drawing's anchors\n @return [Array]", "An array of hyperlink objects associated with this drawings images\n @return [Array]", "An array of image objects that are associated with this drawing's anchors\n @return [Array]", "The drawing's relationships.\n @return [Relationships]", "Serialize the object\n @param [String] str serialized output will be appended to this object if provided.\n @return [String]", "Creates a new pie chart object\n @param [GraphicFrame] frame The workbook that owns this chart.\n @option options [Cell, String] title\n @option options [Boolean] show_legend\n @option options [Symbol] grouping\n @option options [String] gap_depth\n @option options [Integer] rot_x\n @option options [String] h_percent\n @option options [Integer] rot_y\n @option options [String] depth_percent\n @option options [Boolean] r_ang_ax\n @option options [Integer] perspective\n @see Chart\n @see View3D\n Serializes the object\n @param [String] str\n @return [String]", "creates the book views object\n Serialize to xml\n @param [String] str\n @return [String]", "updates the width for this col based on the cells autowidth and\n an optionally specified fixed width\n @param [Cell] cell The cell to use in updating this col's width\n @param [Integer] fixed_width If this is specified the width is set\n to this value and the cell's attributes are ignored.\n @param [Boolean] use_autowidth If this is false, the cell's\n autowidth value will be ignored.", "parse convert and assign node text to symbol", "parse, convert and assign note text to integer", "parse, convert and assign node text to float", "return node text based on xpath", "adds a chart to the drawing object\n @param [Class] chart_type The type of chart to add\n @param [Hash] options Options to pass on to the drawing and chart\n @see Worksheet#add_chart", "Adds a protected range\n @param [Array|String] cells A string range reference or array of cells that will be protected", "Serializes the protected ranges\n @param [String] str\n @return [String]", "Adds a filter column. This is the recommended way to create and manage filter columns for your autofilter.\n In addition to the require id and type parameters, options will be passed to the filter column during instantiation.\n @param [String] col_id Zero-based index indicating the AutoFilter column to which this filter information applies.\n @param [Symbol] filter_type A symbol representing one of the supported filter types.\n @param [Hash] options a hash of options to pass into the generated filter\n @return [FilterColumn]", "actually performs the filtering of rows who's cells do not\n match the filter.", "delete the item from the list\n @param [Any] v The item to be deleted.\n @raise [ArgumentError] if the item's index is protected by locking\n @return [Any] The item deleted", "positional assignment. Adds the item at the index specified\n @param [Integer] index\n @param [Any] v\n @raise [ArgumentError] if the index is protected by locking\n @raise [ArgumentError] if the item is not one of the allowed types", "creates a XML tag with serialized attributes\n @see SerializedAttributes#serialized_attributes", "serializes the instance values of the defining object based on the\n list of serializable attributes.\n @param [String] str The string instance to append this\n serialization to.\n @param [Hash] additional_attributes An option key value hash for\n defining values that are not serializable attributes list.", "A hash of instance variables that have been declared with\n seraialized_attributes and are not nil.\n This requires ruby 1.9.3 or higher", "serialized instance values at text nodes on a camelized element of the\n attribute name. You may pass in a block for evaluation against non nil\n values. We use an array for element attributes becuase misordering will\n break the xml and 1.8.7 does not support ordered hashes.\n @param [String] str The string instance to which serialized data is appended\n @param [Array] additional_attributes An array of additional attribute names.\n @return [String] The serialized output.", "serializes the data labels\n @return [String]", "The node name to use in serialization. As LineChart is used as the\n base class for Liine3DChart we need to be sure to serialize the\n chart based on the actual class type and not a fixed node name.\n @return [String]", "Serialize the app.xml document\n @return [String]", "Merges all the cells in a range created between this cell and the cell or string name for a cell provided\n @see worksheet.merge_cells\n @param [Cell, String] target The last cell, or str ref for the cell in the merge range", "Attempts to determine the correct width for this cell's content\n @return [Float]", "Determines the cell type based on the cell value.\n @note This is only used when a cell is created but no :type option is specified, the following rules apply:\n 1. If the value is an instance of Date, the type is set to :date\n 2. If the value is an instance of Time, the type is set to :time\n 3. If the value is an instance of TrueClass or FalseClass, the type is set to :boolean\n 4. :float and :integer types are determined by regular expression matching.\n 5. Anything that does not meet either of the above is determined to be :string.\n @return [Symbol] The determined type", "Cast the value into this cells data type.\n @note\n About Time - Time in OOXML is *different* from what you might expect. The history as to why is interesting, but you can safely assume that if you are generating docs on a mac, you will want to specify Workbook.1904 as true when using time typed values.\n @see Axlsx#date1904", "Tells us if the row of the cell provided should be filterd as it\n does not meet any of the specified filter_items or\n date_group_items restrictions.\n @param [Cell] cell The cell to test against items\n TODO implement this for date filters as well!", "Serialize the object to xml", "Date group items are date group filter items where you specify the\n date_group and a value for that option as part of the auto_filter\n @note This can be specified, but will not be applied to the date\n values in your workbook at this time.", "Creates a password hash for a given password\n @return [String]", "Creates the val objects for this data set. I am not overly confident this is going to play nicely with time and data types.\n @param [Array] values An array of cells or values.", "The name of the Table.\n @param [String, Cell] v\n @return [Title]", "Serializes the conditional formatting rule\n @param [String] str\n @return [String]", "Sets the cell location of this hyperlink in the worksheet\n @param [String|Cell] cell_reference The string reference or cell that defines where this hyperlink shows in the worksheet.", "serializes the core.xml document\n @return [String]", "creates a new MergedCells object\n @param [Worksheet] worksheet\n adds cells to the merged cells collection\n @param [Array||String] cells The cells to add to the merged cells\n collection. This can be an array of actual cells or a string style\n range like 'A1:C1'", "SEARCH GEOCODING PARAMS \n\n :q => required, full text search param)\n :limit => force limit number of results returned by raw API\n (default = 5) note : only first result is taken\n in account in geocoder\n\n :autocomplete => pass 0 to disable autocomplete treatment of :q\n (default = 1)\n\n :lat => force filter results around specific lat/lon\n\n :lon => force filter results around specific lat/lon\n\n :type => force filter the returned result type\n (check results for a list of accepted types)\n\n :postcode => force filter results on a specific city post code\n\n :citycode => force filter results on a specific city UUID INSEE code\n\n For up to date doc (in french only) : https://adresse.data.gouv.fr/api/", "REVERSE GEOCODING PARAMS \n\n :lat => required\n\n :lon => required\n\n :type => force returned results type\n (check results for a list of accepted types)", "Convert an \"underscore\" version of a name into a \"class\" version.", "Return the name of the configured service, or raise an exception.", "Read from the Cache.", "Write to the Cache.", "Return the error but also considering its name. This is used\n when errors for a hidden field need to be shown.\n\n == Examples\n\n f.full_error :token #=> Token is invalid", "Extract the model names from the object_name mess, ignoring numeric and\n explicit child indexes.\n\n Example:\n\n route[blocks_attributes][0][blocks_learning_object_attributes][1][foo_attributes]\n [\"route\", \"blocks\", \"blocks_learning_object\", \"foo\"]", "The action to be used in lookup.", "Find an input based on the attribute name.", "Checks if the file of given path is a valid ELF file.\n\n @param [String] path Path to target file.\n @return [Boolean] If the file is an ELF or not.\n @example\n Helper.valid_elf_file?('/etc/passwd')\n #=> false\n Helper.valid_elf_file?('/lib64/ld-linux-x86-64.so.2')\n #=> true", "Get the Build ID of target ELF.\n @param [String] path Absolute file path.\n @return [String] Target build id.\n @example\n Helper.build_id_of('/lib/x86_64-linux-gnu/libc-2.23.so')\n #=> '60131540dadc6796cab33388349e6e4e68692053'", "Wrap string with color codes for pretty inspect.\n @param [String] str Contents to colorize.\n @param [Symbol] sev Specify which kind of color to use, valid symbols are defined in {.COLOR_CODE}.\n @return [String] String wrapped with color codes.", "Get request.\n @param [String] url The url.\n @return [String]\n The request response body.\n If the response is +302 Found+, returns the location in header.", "Fetch the ELF archiecture of +file+.\n @param [String] file The target ELF filename.\n @return [Symbol]\n Currently supports amd64, i386, arm, aarch64, and mips.\n @example\n Helper.architecture('/bin/cat')\n #=> :amd64", "Find objdump that supports architecture +arch+.\n @param [String] arch\n @return [String?]\n @example\n Helper.find_objdump(:amd64)\n #=> '/usr/bin/objdump'\n Helper.find_objdump(:aarch64)\n #=> '/usr/bin/aarch64-linux-gnu-objdump'", "Checks if the register is a stack-related pointer.\n @param [String] reg\n Register's name.\n @return [Boolean]", "Show the message of ask user to update gem.\n @return [void]", "Main method of CLI.\n @param [Array] argv\n Command line arguments.\n @return [Boolean]\n Whether the command execute successfully.\n @example\n CLI.work(%w[--help])\n # usage message\n #=> true\n CLI.work(%w[--version])\n # version message\n #=> true\n @example\n CLI.work([])\n # usage message\n #=> false\n @example\n CLI.work(%w[-b b417c0ba7cc5cf06d1d1bed6652cedb9253c60d0 -r])\n # 324293 324386 1090444\n #=> true", "Decides how to display fetched gadgets according to options.\n @param [Array] gadgets\n @param [String] libc_file\n @return [Boolean]", "Displays libc information given BuildID.\n @param [String] id\n @return [Boolean]\n +false+ is returned if no information found.\n @example\n CLI.info_build_id('b417c')\n # [OneGadget] Information of b417c:\n # spec/data/libc-2.27-b417c0ba7cc5cf06d1d1bed6652cedb9253c60d0.so\n \n # Advanced Micro Devices X86-64\n \n # GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1) stable release version 2.27.\n # Copyright (C) 2018 Free Software Foundation, Inc.\n # This is free software; see the source for copying conditions.\n # There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n # PARTICULAR PURPOSE.\n # Compiled by GNU CC version 7.3.0.\n # libc ABIs: UNIQUE IFUNC\n # For bug reporting instructions, please see:\n # .\n #=> true", "The option parser.\n @return [OptionParser]", "Writes gadgets to stdout.\n @param [Array] gadgets\n @param [Boolean] raw\n In raw mode, only the offset of gadgets are printed.\n @return [true]", "Turns on logging\n\n class Foo\n include HTTParty\n logger Logger.new('http_logger'), :info, :apache\n end", "Allows setting http proxy information to be used\n\n class Foo\n include HTTParty\n http_proxy 'http://foo.com', 80, 'user', 'pass'\n end", "Allows setting default parameters to be appended to each request.\n Great for api keys and such.\n\n class Foo\n include HTTParty\n default_params api_key: 'secret', another: 'foo'\n end", "Allows setting HTTP headers to be used for each request.\n\n class Foo\n include HTTParty\n headers 'Accept' => 'text/html'\n end", "Allows setting a custom connection_adapter for the http connections\n\n @example\n class Foo\n include HTTParty\n connection_adapter Proc.new {|uri, options| ... }\n end\n\n @example provide optional configuration for your connection_adapter\n class Foo\n include HTTParty\n connection_adapter Proc.new {|uri, options| ... }, {foo: :bar}\n end\n\n @see HTTParty::ConnectionAdapter", "Allows making a get request to a url.\n\n class Foo\n include HTTParty\n end\n\n # Simple get with full url\n Foo.get('http://foo.com/resource.json')\n\n # Simple get with full url and query parameters\n # ie: http://foo.com/resource.json?limit=10\n Foo.get('http://foo.com/resource.json', query: {limit: 10})", "Allows making a post request to a url.\n\n class Foo\n include HTTParty\n end\n\n # Simple post with full url and setting the body\n Foo.post('http://foo.com/resources', body: {bar: 'baz'})\n\n # Simple post with full url using :query option,\n # which appends the parameters to the URI.\n Foo.post('http://foo.com/resources', query: {bar: 'baz'})", "Perform a PATCH request to a path", "Perform a PUT request to a path", "Perform a DELETE request to a path", "Perform a MOVE request to a path", "Perform a COPY request to a path", "Perform a HEAD request to a path", "Perform an OPTIONS request to a path", "Perform a MKCOL request to a path", "Returns a new array with the concatenated results of running block once for every element in enumerable.\n If no block is given, an enumerator is returned instead.\n\n @param enumerable [Enumerable]\n @return [Array, Enumerator]", "Returns a new array with the results of running block once for every element in enumerable.\n If no block is given, an enumerator is returned instead.\n\n @param enumerable [Enumerable]\n @return [Array, Enumerator]", "Converts query string to a hash\n\n @param query_string [String] The query string of a URL.\n @return [Hash] The query string converted to a hash (with symbol keys).\n @example Convert query string to a hash\n query_string_to_hash(\"foo=bar&baz=qux\") #=> {:foo=>\"bar\", :baz=>\"qux\"}", "Time when the object was created on Twitter\n\n @return [Time]", "JSON representation of the Access Token instance.\n\n @return [Hash] hash with token data", "Check whether the given plain text secret matches our stored secret\n\n @param input [#to_s] Plain secret provided by user\n (any object that responds to `#to_s`)\n\n @return [true] Whether the given secret matches the stored secret\n of this application.", "Determine whether +reuse_access_token+ and a non-restorable\n +token_secret_strategy+ have both been activated.\n\n In that case, disable reuse_access_token value and warn the user.", "Allow SSL context to be configured via settings, for Ruby >= 1.9\n Just returns openssl verify mode for Ruby 1.8.x", "Returns the attachment by filename or at index.\n\n mail.attachments['test.png'] = File.read('test.png')\n mail.attachments['test.jpg'] = File.read('test.jpg')\n\n mail.attachments['test.png'].filename #=> 'test.png'\n mail.attachments[1].filename #=> 'test.jpg'", "Find emails in a POP3 mailbox. Without any options, the 5 last received emails are returned.\n\n Possible options:\n what: last or first emails. The default is :first.\n order: order of emails returned. Possible values are :asc or :desc. Default value is :asc.\n count: number of emails to retrieve. The default value is 10. A value of 1 returns an\n instance of Message, not an array of Message instances.\n delete_after_find: flag for whether to delete each retreived email after find. Default\n is false. Use #find_and_delete if you would like this to default to true.", "Delete all emails from a POP3 server", "Returns the address string of all the addresses in the address list", "Returns the formatted string of all the addresses in the address list", "Returns the display name of all the addresses in the address list", "Returns a list of decoded group addresses", "Returns a list of encoded group addresses", "Send the message via SMTP.\n The from and to attributes are optional. If not set, they are retrieve from the Message.", "Various special cases from random emails found that I am not going to change\n the parser for", "If the string supplied has PHRASE unsafe characters in it, will return the string quoted\n in double quotes, otherwise returns the string unmodified", "If the string supplied has TOKEN unsafe characters in it, will return the string quoted\n in double quotes, otherwise returns the string unmodified", "Capitalizes a string that is joined by hyphens correctly.\n\n Example:\n\n string = 'resent-from-field'\n capitalize_field( string ) #=> 'Resent-From-Field'", "Takes an underscored word and turns it into a class name\n\n Example:\n\n constantize(\"hello\") #=> \"Hello\"\n constantize(\"hello-there\") #=> \"HelloThere\"\n constantize(\"hello-there-mate\") #=> \"HelloThereMate\"", "Returns true if the object is considered blank.\n A blank includes things like '', ' ', nil,\n and arrays and hashes that have nothing in them.\n\n This logic is mostly shared with ActiveSupport's blank?", "Find emails in a IMAP mailbox. Without any options, the 10 last received emails are returned.\n\n Possible options:\n mailbox: mailbox to search the email(s) in. The default is 'INBOX'.\n what: last or first emails. The default is :first.\n order: order of emails returned. Possible values are :asc or :desc. Default value is :asc.\n count: number of emails to retrieve. The default value is 10. A value of 1 returns an\n instance of Message, not an array of Message instances.\n read_only: will ensure that no writes are made to the inbox during the session. Specifically, if this is\n set to true, the code will use the EXAMINE command to retrieve the mail. If set to false, which\n is the default, a SELECT command will be used to retrieve the mail\n This is helpful when you don't want your messages to be set to read automatically. Default is false.\n delete_after_find: flag for whether to delete each retreived email after find. Default\n is false. Use #find_and_delete if you would like this to default to true.\n keys: are passed as criteria to the SEARCH command. They can either be a string holding the entire search string,\n or a single-dimension array of search keywords and arguments. Refer to [IMAP] section 6.4.4 for a full list\n The default is 'ALL'\n search_charset: charset to pass to IMAP server search. Omitted by default. Example: 'UTF-8' or 'ASCII'.", "Delete all emails from a IMAP mailbox", "Start an IMAP session and ensures that it will be closed in any case.", "3.6. Field definitions\n\n It is important to note that the header fields are not guaranteed to\n be in a particular order. They may appear in any order, and they\n have been known to be reordered occasionally when transported over\n the Internet. However, for the purposes of this standard, header\n fields SHOULD NOT be reordered when a message is transported or\n transformed. More importantly, the trace header fields and resent\n header fields MUST NOT be reordered, and SHOULD be kept in blocks\n prepended to the message. See sections 3.6.6 and 3.6.7 for more\n information.\n\n Populates the fields container with Field objects in the order it\n receives them in.\n\n Acceps an array of field string values, for example:\n\n h = Header.new\n h.fields = ['From: mikel@me.com', 'To: bob@you.com']", "Sets the FIRST matching field in the header to passed value, or deletes\n the FIRST field matched from the header if passed nil\n\n Example:\n\n h = Header.new\n h.fields = ['To: mikel@me.com', 'X-Mail-SPAM: 15', 'X-Mail-SPAM: 20']\n h['To'] = 'bob@you.com'\n h['To'] #=> 'bob@you.com'\n h['X-Mail-SPAM'] = '10000'\n h['X-Mail-SPAM'] # => ['15', '20', '10000']\n h['X-Mail-SPAM'] = nil\n h['X-Mail-SPAM'] # => nil", "Returns the default value of the field requested as a symbol.\n\n Each header field has a :default method which returns the most common use case for\n that field, for example, the date field types will return a DateTime object when\n sent :default, the subject, or unstructured fields will return a decoded string of\n their value, the address field types will return a single addr_spec or an array of\n addr_specs if there is more than one.", "Allows you to add an arbitrary header\n\n Example:\n\n mail['foo'] = '1234'\n mail['foo'].to_s #=> '1234'", "Method Missing in this implementation allows you to set any of the\n standard fields directly as you would the \"to\", \"subject\" etc.\n\n Those fields used most often (to, subject et al) are given their\n own method for ease of documentation and also to avoid the hook\n call to method missing.\n\n This will only catch the known fields listed in:\n\n Mail::Field::KNOWN_FIELDS\n\n as per RFC 2822, any ruby string or method name could pretty much\n be a field name, so we don't want to just catch ANYTHING sent to\n a message object and interpret it as a header.\n\n This method provides all three types of header call to set, read\n and explicitly set with the = operator\n\n Examples:\n\n mail.comments = 'These are some comments'\n mail.comments #=> 'These are some comments'\n\n mail.comments 'These are other comments'\n mail.comments #=> 'These are other comments'\n\n\n mail.date = 'Tue, 1 Jul 2003 10:52:37 +0200'\n mail.date.to_s #=> 'Tue, 1 Jul 2003 10:52:37 +0200'\n\n mail.date 'Tue, 1 Jul 2003 10:52:37 +0200'\n mail.date.to_s #=> 'Tue, 1 Jul 2003 10:52:37 +0200'\n\n\n mail.resent_msg_id = '<1234@resent_msg_id.lindsaar.net>'\n mail.resent_msg_id #=> '<1234@resent_msg_id.lindsaar.net>'\n\n mail.resent_msg_id '<4567@resent_msg_id.lindsaar.net>'\n mail.resent_msg_id #=> '<4567@resent_msg_id.lindsaar.net>'", "Adds a content type and charset if the body is US-ASCII\n\n Otherwise raises a warning", "Adds a part to the parts list or creates the part list", "Allows you to add a part in block form to an existing mail message object\n\n Example:\n\n mail = Mail.new do\n part :content_type => \"multipart/alternative\", :content_disposition => \"inline\" do |p|\n p.part :content_type => \"text/plain\", :body => \"test text\\nline #2\"\n p.part :content_type => \"text/html\", :body => \"test HTML
\\nline #2\"\n end\n end", "Adds a file to the message. You have two options with this method, you can\n just pass in the absolute path to the file you want and Mail will read the file,\n get the filename from the path you pass in and guess the MIME media type, or you\n can pass in the filename as a string, and pass in the file content as a blob.\n\n Example:\n\n m = Mail.new\n m.add_file('/path/to/filename.png')\n\n m = Mail.new\n m.add_file(:filename => 'filename.png', :content => File.read('/path/to/file.jpg'))\n\n Note also that if you add a file to an existing message, Mail will convert that message\n to a MIME multipart email, moving whatever plain text body you had into its own text\n plain part.\n\n Example:\n\n m = Mail.new do\n body 'this is some text'\n end\n m.multipart? #=> false\n m.add_file('/path/to/filename.png')\n m.multipart? #=> true\n m.parts.first.content_type.content_type #=> 'text/plain'\n m.parts.last.content_type.content_type #=> 'image/png'\n\n See also #attachments", "Encodes the message, calls encode on all its parts, gets an email message\n ready to send", "Outputs an encoded string representation of the mail message including\n all headers, attachments, etc. This is an encoded email in US-ASCII,\n so it is able to be directly sent to an email server.", "see comments to body=. We take data and process it lazily", "Returns an array of comments that are in the email, or nil if there\n are no comments\n\n a = Address.new('Mikel Lindsaar (My email address) ')\n a.comments #=> ['My email address']\n\n b = Address.new('Mikel Lindsaar ')\n b.comments #=> nil", "Get all emails.\n\n Possible options:\n order: order of emails returned. Possible values are :asc or :desc. Default value is :asc.", "Find emails in the mailbox, and then deletes them. Without any options, the\n five last received emails are returned.\n\n Possible options:\n what: last or first emails. The default is :first.\n order: order of emails returned. Possible values are :asc or :desc. Default value is :asc.\n count: number of emails to retrieve. The default value is 10. A value of 1 returns an\n instance of Message, not an array of Message instances.\n delete_after_find: flag for whether to delete each retreived email after find. Default\n is true. Call #find if you would like this to default to false.", "Insert the field in sorted order.\n\n Heavily based on bisect.insort from Python, which is:\n Copyright (C) 2001-2013 Python Software Foundation.\n Licensed under \n From ", "Updates all of the template catalogs and returns their filepaths.\n If there is a Rambafile in the current directory, it also updates all of the catalogs specified there.\n\n @return [Array] An array of filepaths to downloaded catalogs", "Clones a template catalog from a remote repository\n\n @param name [String] The name of the template catalog\n @param url [String] The url of the repository\n\n @return [Pathname] A filepath to the downloaded catalog", "Provides the appropriate strategy for a given template type", "Browses a given catalog and returns a template path\n\n @param catalog_path [Pathname] A path to a catalog\n @param template_name [String] A name of the template\n\n @return [Pathname] A path to a template, if found", "This method parses Rambafile, serializes templates hashes into model objects and install them", "Clears all of the currently installed templates", "Clones remote template catalogs to the local directory", "Create a XCScheme either from scratch or using an existing file\n\n @param [String] file_path\n The path of the existing .xcscheme file. If nil will create an empty scheme\n\n Convenience method to quickly add app and test targets to a new scheme.\n\n It will add the runnable_target to the Build, Launch and Profile actions\n and the test_target to the Build and Test actions\n\n @param [Xcodeproj::Project::Object::PBXAbstractTarget] runnable_target\n The target to use for the 'Run', 'Profile' and 'Analyze' actions\n\n @param [Xcodeproj::Project::Object::PBXAbstractTarget] test_target\n The target to use for the 'Test' action\n\n @param [Boolean] launch_target\n Determines if the runnable_target is launchable.", "Sets a runnable target to be the target of the launch action of the scheme.\n\n @param [Xcodeproj::Project::Object::AbstractTarget] build_target\n A target used by scheme in the launch step.", "Serializes the current state of the object to a \".xcscheme\" file.\n\n @param [String, Pathname] project_path\n The path where the \".xcscheme\" file should be stored.\n\n @param [String] name\n The name of the scheme, to have \".xcscheme\" appended.\n\n @param [Boolean] shared\n true => if the scheme must be a shared scheme (default value)\n false => if the scheme must be a user scheme\n\n @return [void]\n\n @example Saving a scheme\n scheme.save_as('path/to/Project.xcodeproj') #=> true", "Initializes the instance with the project stored in the `path` attribute.", "Converts the objects tree to a hash substituting the hash\n of the referenced to their UUID reference. As a consequence the hash of\n an object might appear multiple times and the information about their\n uniqueness is lost.\n\n This method is designed to work in conjunction with {Hash#recursive_diff}\n to provide a complete, yet readable, diff of two projects *not* affected\n by differences in UUIDs.\n\n @return [Hash] a hash representation of the project different from the\n plist one.", "Pre-generates the given number of UUIDs. Useful for optimizing\n performance when the rough number of objects that will be created is\n known in advance.\n\n @param [Integer] count\n the number of UUIDs that should be generated.\n\n @note This method might generated a minor number of uniques UUIDs than\n the given count, because some might be duplicated a thus will be\n discarded.\n\n @return [void]", "Returns the file reference for the given absolute path.\n\n @param [#to_s] absolute_path\n The absolute path of the file whose reference is needed.\n\n @return [PBXFileReference] The file reference.\n @return [Nil] If no file reference could be found.", "Checks the native target for any targets in the project\n that are dependent on the native target and would be\n embedded in it at build time\n\n @param [PBXNativeTarget] native target to check for\n embedded targets\n\n\n @return [Array] A list of all targets that\n are embedded in the passed in target", "Returns the native targets, in which the embedded target is\n embedded. This works by traversing the targets to find those\n where the target is a dependency.\n\n @param [PBXNativeTarget] native target that might be embedded\n in another target\n\n @return [Array] the native targets that host the\n embedded target", "Creates a new resource bundles target and adds it to the project.\n\n The target is configured for the given platform and its file reference it\n is added to the {products_group}.\n\n The target is pre-populated with common build settings\n\n @param [String] name\n the name of the resources bundle.\n\n @param [Symbol] platform\n the platform of the resources bundle. Can be `:ios` or `:osx`.\n\n @return [PBXNativeTarget] the target.", "Adds a new build configuration to the project and populates its with\n default settings according to the provided type.\n\n @param [String] name\n The name of the build configuration.\n\n @param [Symbol] type\n The type of the build configuration used to populate the build\n settings, must be :debug or :release.\n\n @return [XCBuildConfiguration] The new build configuration.", "Writes the serialized representation of the internal data to the given\n path.\n\n @param [Pathname] pathname\n The file where the data should be written to.\n\n @return [void]", "Returns a hash from the string representation of an Xcconfig file.\n\n @param [String] string\n The string representation of an xcconfig file.\n\n @return [Hash] the hash containing the xcconfig data.", "Merges the given attributes hash while ensuring values are not duplicated.\n\n @param [Hash] attributes\n The attributes hash to merge into @attributes.\n\n @return [void]", "Returns the key and the value described by the given line of an xcconfig.\n\n @param [String] line\n the line to process.\n\n @return [Array] A tuple where the first entry is the key and the second\n entry is the value.", "Generates test cases to compare two settings hashes.\n\n @param [Hash{String => String}] produced\n the produced build settings.\n\n @param [Hash{String => String}] expected\n the expected build settings.\n\n @param [#to_s] params\n the parameters used to construct the produced build settings.", "Load settings from fixtures\n\n @param [String] path\n the directory, where the fixture set is located.\n\n @param [Symbol] type\n the type, where the specific\n\n @param [Hash{String => String}]\n the build settings", "Saves the workspace at the given `xcworkspace` path.\n\n @param [String] path\n the path where to save the project.\n\n @return [void]", "Load all schemes from project\n\n @param [String] project_full_path\n project full path\n\n @return [void]", "Return container content.", "Return own toc content.", "called from strategy", "Take YAML +file+ and update parameter hash.", "Update parameters by merging from new parameter hash +config+.", "Write mimetype file to IO object +wobj+.", "Write opf file to IO object +wobj+.", "Write ncx file to IO object +wobj+. +indentarray+ defines prefix\n string for each level.", "Write container file to IO object +wobj+.", "Write colophon file to IO object +wobj+.", "Write own toc file to IO object +wobj+.", "Return ncx content. +indentarray+ has prefix marks for each level.", "Produce EPUB file +epubfile+.\n +basedir+ points the directory has contents.\n +tmpdir+ defines temporary directory.", "index -> italic", "load YAML files\n\n `inherit: [3.yml, 6.yml]` in 7.yml; `inherit: [1.yml, 2.yml]` in 3.yml; `inherit: [4.yml, 5.yml]` in 6.yml\n => 7.yml > 6.yml > 5.yml > 4.yml > 3.yml > 2.yml > 1.yml", "Complement other parameters by using file parameter.", "Choose an alternative, add a participant, and save the alternative choice on the user. This\n method is guaranteed to only run once, and will skip the alternative choosing process if run\n a second time.", "Set default program_name in performance_schema.session_connect_attrs\n and performance_schema.session_account_connect_attrs", "In MySQL 5.5+ error messages are always constructed server-side as UTF-8\n then returned in the encoding set by the `character_set_results` system\n variable.\n\n See http://dev.mysql.com/doc/refman/5.5/en/charset-errors.html for\n more context.\n\n Before MySQL 5.5 error message template strings are in whatever encoding\n is associated with the error message language.\n See http://dev.mysql.com/doc/refman/5.1/en/error-message-language.html\n for more information.\n\n The issue is that the user-data inserted in the message could potentially\n be in any encoding MySQL supports and is insert into the latin1, euckr or\n koi8r string raw. Meaning there's a high probability the string will be\n corrupt encoding-wise.\n\n See http://dev.mysql.com/doc/refman/5.1/en/charset-errors.html for\n more information.\n\n So in an attempt to make sure the error message string is always in a valid\n encoding, we'll assume UTF-8 and clean the string of anything that's not a\n valid UTF-8 character.\n\n Returns a valid UTF-8 string.", "Custom describe block that sets metadata to enable the rest of RAD\n\n resource \"Orders\", :meta => :data do\n # ...\n end\n\n Params:\n +args+:: Glob of RSpec's `describe` arguments\n +block+:: Block to pass into describe", "Defines a new sub configuration\n\n Automatically sets the `filter` to the group name, and the `docs_dir` to\n a subfolder of the parent's `doc_dir` named the group name.\n\n RspecApiDocumentation.configure do |config|\n config.docs_dir = \"doc/api\"\n config.define_group(:public) do |config|\n # Default values\n config.docs_dir = \"doc/api/public\"\n config.filter = :public\n end\n end\n\n Params:\n +name+:: String name of the group\n +block+:: Block configuration block", "Must be called after the backtrace cleaner.", "Rails relies on backtrace cleaner to set the application root directory\n filter. The problem is that the backtrace cleaner is initialized before\n this gem. This ensures that the value of `root` used by the filter\n is correct.", "Mass assigns attributes on the model.\n\n This is a version of +update_attributes+ that takes some extra options\n for internal use.\n\n ==== Attributes\n\n * +values+ - Hash of values to use to update the current attributes of\n the object.\n * +opts+ - Options for +StripeObject+ like an API key that will be reused\n on subsequent API calls.\n\n ==== Options\n\n * +:dirty+ - Whether values should be initiated as \"dirty\" (unsaved) and\n which applies only to new StripeObjects being initiated under this\n StripeObject. Defaults to true.", "Returns a hash of empty values for all the values that are in the given\n StripeObject.", "Iterates through each resource in all pages, making additional fetches to\n the API as necessary.\n\n Note that this method will make as many API calls as necessary to fetch\n all resources. For more granular control, please see +each+ and\n +next_page+.", "Formats a plugin \"app info\" hash into a string that we can tack onto the\n end of a User-Agent string where it'll be fairly prominent in places like\n the Dashboard. Note that this formatting has been implemented to match\n other libraries, and shouldn't be changed without universal consensus.", "Attempts to look at a response's error code and return an OAuth error if\n one matches. Will return `nil` if the code isn't recognized.", "Format ActiveRecord instance object.\n\n NOTE: by default only instance attributes (i.e. columns) are shown. To format\n ActiveRecord instance as regular object showing its instance variables and\n accessors use :raw => true option:\n\n ap record, :raw => true\n\n------------------------------------------------------------------------------", "Format Ripple instance object.\n\n NOTE: by default only instance attributes are shown. To format a Ripple document instance\n as a regular object showing its instance variables and accessors use :raw => true option:\n\n ap document, :raw => true\n\n------------------------------------------------------------------------------", "Format MongoMapper instance object.\n\n NOTE: by default only instance attributes (i.e. keys) are shown. To format\n MongoMapper instance as regular object showing its instance variables and\n accessors use :raw => true option:\n\n ap record, :raw => true\n\n------------------------------------------------------------------------------", "Use HTML colors and add default \"debug_dump\" class to the resulting HTML.", "Returns list of ancestors, starting from parent until root.\n\n subchild1.ancestors # => [child1, root]", "Returns all children and children of children", "if passed nil will use default seed classes", "Writing to the seed file. Takes in file handler and array of hashes with\n `header` and `content` keys", "Collecting fragment data and writing attachment files to disk", "Importing translations for given page. They look like `content.locale.html`", "Constructing frag attributes hash that can be assigned to page or translation\n also returning list of frag identifiers so we can destroy old ones", "Preparing fragment attachments. Returns hashes with file data for\n ActiveStorage and a list of ids of old attachements to destroy", "Same as cms_fragment_content but with cms tags expanded and rendered. Use\n it only if you know you got more stuff in the fragment content other than\n text because this is a potentially expensive call.", "Same as cms_snippet_content but cms tags will be expanded. Note that there\n is no page context, so snippet cannot contain fragment tags.", "Wrapper to deal with Kaminari vs WillPaginate", "HTTP methods with a body", "Checks if method_name is set in the attributes hash\n and returns true when found, otherwise proxies the\n call to the superclass.", "Overrides method_missing to check the attribute hash\n for resources matching method_name and proxies the call\n to the superclass if no match is found.", "Fetches the attributes for the specified resource from JIRA unless\n the resource is already expanded and the optional force reload flag\n is not set", "Sets the attributes hash from a HTTPResponse object from JIRA if it is\n not nil or is not a json response.", "Set the current attributes from a hash. If clobber is true, any existing\n hash values will be clobbered by the new hash, otherwise the hash will\n be deeply merged into attrs. The target paramater is for internal use only\n and should not be used.", "Note that we delegate almost all methods to the result of the que_target\n method, which could be one of a few things, depending on the circumstance.\n Run the job with error handling and cleanup logic. Optionally support\n overriding the args, because it's necessary when jobs are invoked from\n ActiveJob.", "To be overridden in subclasses.", "Explicitly check for the job id in these helpers, because it won't exist\n if we're running synchronously.", "Since we use a mutex, which is not reentrant, we have to be a little\n careful to not call a method that locks the mutex when we've already\n locked it. So, as a general rule, public methods handle locking the mutex\n when necessary, while private methods handle the actual underlying data\n changes. This lets us reuse those private methods without running into\n locking issues.", "Get ips for given name\n\n First the local resolver is used. On POSIX-systems /etc/hosts is used. On\n Windows C:\\Windows\\System32\\drivers\\etc\\hosts is used.\n\n @param [String] name\n The name which should be resolved.", "Add a new mime-type for a specific extension\n\n @param [Symbol] type File extension\n @param [String] value Mime type\n @return [void]", "Activate an extension, optionally passing in options.\n This method is typically used from a project's `config.rb`.\n\n @example Activate an extension with no options\n activate :lorem\n\n @example Activate an extension, with options\n activate :minify_javascript, inline: true\n\n @example Use a block to configure extension options\n activate :minify_javascript do |opts|\n opts.ignore += ['*-test.js']\n end\n\n @param [Symbol] ext_name The name of thed extension to activate\n @param [Hash] options Options to pass to the extension\n @yield [Middleman::Configuration::ConfigurationManager] Extension options that can be modified before the extension is initialized.\n @return [void]", "Initialize the Middleman project", "Clean up missing Tilt exts", "The extension task", "Extensions are instantiated when they are activated.\n @param [Middleman::Application] app The Middleman::Application instance\n @param [Hash] options_hash The raw options hash. Subclasses should not manipulate this directly - it will be turned into {#options}.\n @yield An optional block that can be used to customize options before the extension is activated.\n @yieldparam [Middleman::Configuration::ConfigurationManager] options Extension options\n @!method before_configuration\n Respond to the `before_configuration` event.\n If a `before_configuration` method is implemented, that method will be run before `config.rb` is run.\n @note Because most extensions are activated from within `config.rb`, they *will not run* any `before_configuration` hook.\n @!method after_configuration\n Respond to the `after_configuration` event.\n If an `after_configuration` method is implemented, that method will be run before `config.rb` is run.\n @!method before_build\n Respond to the `before_build` event.\n If an `before_build` method is implemented, that method will be run before the builder runs.\n @!method after_build\n Respond to the `after_build` event.\n If an `after_build` method is implemented, that method will be run after the builder runs.\n @!method ready\n Respond to the `ready` event.\n If an `ready` method is implemented, that method will be run after the app has finished booting up.\n @!method manipulate_resource_list(resources)\n Manipulate the resource list by transforming or adding {Sitemap::Resource}s.\n Sitemap manipulation is a powerful way of interacting with a project, since it can modify each {Sitemap::Resource} or generate new {Sitemap::Resources}. This method is used in a pipeline where each sitemap manipulator is run in turn, with each one being fed the output of the previous manipulator. See the source of built-in Middleman extensions like {Middleman::Extensions::DirectoryIndexes} and {Middleman::Extensions::AssetHash} for examples of how to use this.\n @note This method *must* return the full set of resources, because its return value will be used as the new sitemap.\n @see http://middlemanapp.com/advanced/sitemap/ Sitemap Documentation\n @see Sitemap::Store\n @see Sitemap::Resource\n @param [Array] resources A list of all the resources known to the sitemap.\n @return [Array] The transformed list of resources.", "The init task", "Copied from Bundler", "Core build Thor command\n @return [void]", "Handles incoming events from the builder.\n @param [Symbol] event_type The type of event.\n @param [String] target The event contents.\n @param [String] extra The extra information.\n @return [void]", "Find empty directories in the build folder and remove them.\n @return [Boolean]", "Core response method. We process the request, check with\n the sitemap, and return the correct file, response or status\n message.\n\n @param env\n @param [Rack::Request] req\n @param [Rack::Response] res", "Halt request and return 404", "Immediately send static file", "Start the server", "Allow layouts to be wrapped in the contents of other layouts.\n\n @param [String, Symbol] layout_name\n @return [void]", "Render a path with locs, opts and contents block.\n\n @api private\n @param [Middleman::SourceFile] file The file.\n @param [Hash] locs Template locals.\n @param [Hash] opts Template options.\n @param [Proc] block A block will be evaluated to return internal contents.\n @return [String] The resulting content string.\n Contract IsA['Middleman::SourceFile'], Hash, Hash, Maybe[Proc] => String", "Glob a directory and try to keep path encoding consistent.\n\n @param [String] path The glob path.\n @return [Array]", "Recursively builds entity instances\n out of all hashes in the response object", "Decrypts a value for the attribute specified using options evaluated in the current object's scope\n\n Example\n\n class User\n attr_accessor :secret_key\n attr_encrypted :email, key: :secret_key\n\n def initialize(secret_key)\n self.secret_key = secret_key\n end\n end\n\n @user = User.new('some-secret-key')\n @user.decrypt(:email, 'SOME_ENCRYPTED_EMAIL_STRING')", "Encrypts a value for the attribute specified using options evaluated in the current object's scope\n\n Example\n\n class User\n attr_accessor :secret_key\n attr_encrypted :email, key: :secret_key\n\n def initialize(secret_key)\n self.secret_key = secret_key\n end\n end\n\n @user = User.new('some-secret-key')\n @user.encrypt(:email, 'test@example.com')", "Copies the class level hash of encrypted attributes with virtual attribute names as keys\n and their corresponding options as values to the instance", "Change color of string\n\n Examples:\n\n puts \"This is blue\".colorize(:blue)\n puts \"This is light blue\".colorize(:light_blue)\n puts \"This is also blue\".colorize(:color => :blue)\n puts \"This is light blue with red background\".colorize(:color => :light_blue, :background => :red)\n puts \"This is light blue with red background\".colorize(:light_blue ).colorize( :background => :red)\n puts \"This is blue text on red\".blue.on_red\n puts \"This is red on blue\".colorize(:red).on_blue\n puts \"This is red on blue and underline\".colorize(:red).on_blue.underline\n puts \"This is blue text on red\".blue.on_red.blink\n puts \"This is uncolorized\".blue.on_red.uncolorize", "Return true if string is colorized", "Set color from params", "Set colors from params hash", "Generate color and on_color methods", "User Code Block", "consuming a terminal may set off a series of reduces before the terminal\n is shifted", "Sequence of state transitions which would be taken when starting\n from 'state', then following the RHS of 'rule' right to the end", "traverse a directed graph\n each entry in 'bitmap' corresponds to a graph node\n after the traversal, the bitmap for each node will be the union of its\n original value, and ALL the values for all the nodes which are reachable\n from it", "Like `transition_graph`, but rather than vectors labeled with NTs, we\n have vectors labeled with the shortest series of terminals and reduce\n operations which could take us through the same transition", "sometimes a Rule is instantiated before the target is actually known\n it may be given a \"placeholder\" target first, which is later replaced\n with the real one", "If an instance of this NT comes next, then what rules could we be\n starting?", "Generates an image tag for the given attachment, adding appropriate\n classes and optionally falling back to the given fallback image if there\n is no file attached.\n\n Returns `nil` if there is no file attached and no fallback specified.\n\n @param [String] fallback The path to an image asset to be used as a fallback\n @param [Hash] options Additional options for the image tag\n @see #attachment_url\n @return [ActiveSupport::SafeBuffer, nil] The generated image tag", "Generates a hidden form field which tracks the id of the file in the cache\n before it is permanently stored.\n\n @param object_name The name of the object to generate a field for\n @param method The name of the field\n @param [Hash] options\n @option options [Object] object Set by the form builder\n @return [ActiveSupport::SafeBuffer] The generated hidden form field", "Macro which generates accessors in pure Ruby classes for assigning\n multiple attachments at once. This is primarily useful together with\n multiple file uploads. There is also an Active Record version of\n this macro.\n\n The name of the generated accessors will be the name of the association\n (represented by an attribute accessor) and the name of the attachment in\n the associated class. So if a `Post` accepts attachments for `images`, and\n the attachment in the `Image` class is named `file`, then the accessors will\n be named `images_files`.\n\n @example in associated class\n class Document\n extend Refile::Attachment\n attr_accessor :file_id\n\n attachment :file\n\n def initialize(attributes = {})\n self.file = attributes[:file]\n end\n end\n\n @example in class\n class Post\n extend Refile::Attachment\n include ActiveModel::Model\n\n attr_accessor :documents\n\n accepts_attachments_for :documents, accessor_prefix: 'documents_files', collection_class: Document\n\n def initialize(attributes = {})\n @documents = attributes[:documents] || []\n end\n end\n\n @example in form\n <%= form_for @post do |form| %>\n <%= form.attachment_field :documents_files, multiple: true %>\n <% end %>\n\n @param [Symbol] collection_name Name of the association\n @param [Class] collection_class Associated class\n @param [String] accessor_prefix Name of the generated accessors\n @param [Symbol] attachment Name of the attachment in the associated class\n @param [Boolean] append If true, new files are appended instead of replacing the entire list of associated classes.\n @return [void]", "Downloads the file to a Tempfile on disk and returns this tempfile.\n\n @example\n file = backend.upload(StringIO.new(\"hello\"))\n tempfile = file.download\n File.read(tempfile.path) # => \"hello\"\n\n @return [Tempfile] a tempfile with the file's content", "Builds a serializable hash from the response data.\n\n @return [Hash] hash that represents this response\n and can be easily serialized.\n @see Response.from_hash", "Adds a callback that will be executed around each HTTP request.\n\n @example\n VCR.configure do |c|\n c.around_http_request(lambda {|r| r.uri =~ /api.geocoder.com/}) do |request|\n # extract an address like \"1700 E Pine St, Seattle, WA\"\n # from a query like \"address=1700+E+Pine+St%2C+Seattle%2C+WA\"\n address = CGI.unescape(URI(request.uri).query.split('=').last)\n VCR.use_cassette(\"geocoding/#{address}\", &request)\n end\n end\n\n @yield the callback\n @yieldparam request [VCR::Request::FiberAware] the request that is being made\n @raise [VCR::Errors::NotSupportedError] if the fiber library cannot be loaded.\n @param filters [optional splat of #to_proc] one or more filters to apply.\n The objects provided will be converted to procs using `#to_proc`. If provided,\n the callback will only be invoked if these procs all return `true`.\n @note This method can only be used on ruby interpreters that support\n fibers (i.e. 1.9+). On 1.8 you can use separate `before_http_request` and\n `after_http_request` hooks.\n @note You _must_ call `request.proceed` or pass the request as a proc on to a\n method that yields to a block (i.e. `some_method(&request)`).\n @see #before_http_request\n @see #after_http_request", "Define a country's rules.\n\n Use the other DSL methods to define the country's rules.\n\n @param [String] country_code The country code of the country.\n @param [Phony::CountryCodes] definition Rules for this country.\n\n @return Undefined.\n\n @example Add a country with country code 27.\n country '27', # CC, followed by rules, for example fixed(2) >> ...", "National matcher & splitters.\n\n By default, a fixed length NDC\n uses a zero prefix when formatted\n with format :national.\n\n @param [Fixnum] length The length of the fixed length NDC.\n @param [Hash] options An options hash (set zero: false to not add a zero on format :national).\n\n @return NationalSplitters::Fixed A fixed length national splitter.\n\n @example France. Uses a fixed NDC of size 1.\n country '33', fixed(1) >> split(2,2,2,2)", "Add the given country to the mapping under the\n given country code.", "Splits this number into cc, ndc and locally split number parts.", "Format the number.", "Is this number plausible?", "Is the given number a vanity number?", "Split off the country and the cc, and also return the national number part.", "A number is split with the code handlers as given in the initializer.\n\n Note: If the ndc is nil, it will not return it.\n\n @return [Trunk, String (ndc), Array (national pieces)]", "Format the number, given the national part of it.", "Removes 0s from partially normalized numbers\n such as 410443643533.\n\n Example:\n 410443643533 -> 41443643533\n\n In some cases it doesn't, like Italy.", "Tests for plausibility of this national number.", "Merge the other criteria into this one.\n\n @example Merge another criteria into this criteria.\n criteria.merge(Person.where(name: \"bob\"))\n\n @param [ Criteria ] other The criteria to merge in.\n\n @return [ Criteria ] The merged criteria.\n\n @since 3.0.0", "Overriden to include _type in the fields.\n\n @example Limit the fields returned from the database.\n Band.only(:name)\n\n @param [ Array ] args The names of the fields.\n\n @return [ Criteria ] The cloned criteria.\n\n @since 1.0.0", "Set the read preference for the criteria.\n\n @example Set the read preference.\n criteria.read(mode: :primary_preferred)\n\n @param [ Hash ] value The mode preference.\n\n @return [ Criteria ] The cloned criteria.\n\n @since 5.0.0", "Returns true if criteria responds to the given method.\n\n @example Does the criteria respond to the method?\n crtiteria.respond_to?(:each)\n\n @param [ Symbol ] name The name of the class method on the +Document+.\n @param [ true, false ] include_private Whether to include privates.\n\n @return [ true, false ] If the criteria responds to the method.", "Are documents in the query missing, and are we configured to raise an\n error?\n\n @api private\n\n @example Check for missing documents.\n criteria.check_for_missing_documents!([], [ 1 ])\n\n @param [ Array ] result The result.\n @param [ Array ] ids The ids.\n\n @raise [ Errors::DocumentNotFound ] If none are found and raising an\n error.\n\n @since 3.0.0", "Clone or dup the current +Criteria+. This will return a new criteria with\n the selector, options, klass, embedded options, etc intact.\n\n @api private\n\n @example Clone a criteria.\n criteria.clone\n\n @example Dup a criteria.\n criteria.dup\n\n @param [ Criteria ] other The criteria getting cloned.\n\n @return [ nil ] nil.\n\n @since 1.0.0", "Get the selector for type selection.\n\n @api private\n\n @example Get a type selection hash.\n criteria.type_selection\n\n @return [ Hash ] The type selection.\n\n @since 3.0.3", "Takes the provided selector and atomic operations and replaces the\n indexes of the embedded documents with the positional operator when\n needed.\n\n @note The only time we can accurately know when to use the positional\n operator is at the exact time we are going to persist something. So\n we can tell by the selector that we are sending if it is actually\n possible to use the positional operator at all. For example, if the\n selector is: { \"_id\" => 1 }, then we could not use the positional\n operator for updating embedded documents since there would never be a\n match - we base whether we can based on the number of levels deep the\n selector goes, and if the id values are not nil.\n\n @example Process the operations.\n positionally(\n { \"_id\" => 1, \"addresses._id\" => 2 },\n { \"$set\" => { \"addresses.0.street\" => \"hobrecht\" }}\n )\n\n @param [ Hash ] selector The selector.\n @param [ Hash ] operations The update operations.\n @param [ Hash ] processed The processed update operations.\n\n @return [ Hash ] The new operations.\n\n @since 3.1.0", "Add the association to the touchable associations if the touch option was\n provided.\n\n @example Add the touchable.\n Model.define_touchable!(assoc)\n\n @param [ Association ] association The association metadata.\n\n @return [ Class ] The model class.\n\n @since 3.0.0", "Gets the default Mongoid logger - stdout.\n\n @api private\n\n @example Get the default logger.\n Loggable.default_logger\n\n @return [ Logger ] The default logger.\n\n @since 3.0.0", "When cloning, if the document has localized fields we need to ensure they\n are properly processed in the clone.\n\n @api private\n\n @example Process localized attributes.\n model.process_localized_attributes(attributes)\n\n @param [ Hash ] attrs The attributes.\n\n @since 3.0.20", "Get the document selector with the defined shard keys.\n\n @example Get the selector for the shard keys.\n person.shard_key_selector\n\n @return [ Hash ] The shard key selector.\n\n @since 2.0.0", "Reloads the +Document+ attributes from the database. If the document has\n not been saved then an error will get raised if the configuration option\n was set. This can reload root documents or embedded documents.\n\n @example Reload the document.\n person.reload\n\n @raise [ Errors::DocumentNotFound ] If the document was deleted.\n\n @return [ Document ] The document, reloaded.\n\n @since 1.0.0", "Reload the root document.\n\n @example Reload the document.\n document.reload_root_document\n\n @return [ Hash ] The reloaded attributes.\n\n @since 2.3.2", "Reload the embedded document.\n\n @example Reload the document.\n document.reload_embedded_document\n\n @return [ Hash ] The reloaded attributes.\n\n @since 2.3.2", "Extract only the desired embedded document from the attributes.\n\n @example Extract the embedded document.\n document.extract_embedded_attributes(attributes)\n\n @param [ Hash ] attributes The document in the db.\n\n @return [ Hash ] The document's extracted attributes.\n\n @since 2.3.2", "Determine if an attribute is present.\n\n @example Is the attribute present?\n person.attribute_present?(\"title\")\n\n @param [ String, Symbol ] name The name of the attribute.\n\n @return [ true, false ] True if present, false if not.\n\n @since 1.0.0", "Read a value from the document attributes. If the value does not exist\n it will return nil.\n\n @example Read an attribute.\n person.read_attribute(:title)\n\n @example Read an attribute (alternate syntax.)\n person[:title]\n\n @param [ String, Symbol ] name The name of the attribute to get.\n\n @return [ Object ] The value of the attribute.\n\n @since 1.0.0", "Read a value from the attributes before type cast. If the value has not\n yet been assigned then this will return the attribute's existing value\n using read_raw_attribute.\n\n @example Read an attribute before type cast.\n person.read_attribute_before_type_cast(:price)\n\n @param [ String, Symbol ] name The name of the attribute to get.\n\n @return [ Object ] The value of the attribute before type cast, if\n available. Otherwise, the value of the attribute.\n\n @since 3.1.0", "Remove a value from the +Document+ attributes. If the value does not exist\n it will fail gracefully.\n\n @example Remove the attribute.\n person.remove_attribute(:title)\n\n @param [ String, Symbol ] name The name of the attribute to remove.\n\n @raise [ Errors::ReadonlyAttribute ] If the field cannot be removed due\n to being flagged as reaodnly.\n\n @since 1.0.0", "Write a single attribute to the document attribute hash. This will\n also fire the before and after update callbacks, and perform any\n necessary typecasting.\n\n @example Write the attribute.\n person.write_attribute(:title, \"Mr.\")\n\n @example Write the attribute (alternate syntax.)\n person[:title] = \"Mr.\"\n\n @param [ String, Symbol ] name The name of the attribute to update.\n @param [ Object ] value The value to set for the attribute.\n\n @since 1.0.0", "Determine if the attribute is missing from the document, due to loading\n it from the database with missing fields.\n\n @example Is the attribute missing?\n document.attribute_missing?(\"test\")\n\n @param [ String ] name The name of the attribute.\n\n @return [ true, false ] If the attribute is missing.\n\n @since 4.0.0", "Return the typecasted value for a field.\n\n @example Get the value typecasted.\n person.typed_value_for(:title, :sir)\n\n @param [ String, Symbol ] key The field name.\n @param [ Object ] value The uncast value.\n\n @return [ Object ] The cast value.\n\n @since 1.0.0", "Validates an attribute value. This provides validation checking if\n the value is valid for given a field.\n For now, only Hash and Array fields are validated.\n\n @param [ String, Symbol ] access The name of the attribute to validate.\n @param [ Object ] value The to be validated.\n\n @since 3.0.10", "Builds a new +Document+ from the supplied attributes.\n\n @example Build the document.\n Mongoid::Factory.build(Person, { \"name\" => \"Durran\" })\n\n @param [ Class ] klass The class to instantiate from if _type is not present.\n @param [ Hash ] attributes The document attributes.\n\n @return [ Document ] The instantiated document.", "Builds a new +Document+ from the supplied attributes loaded from the\n database.\n\n If a criteria object is given, it is used in two ways:\n 1. If the criteria has a list of fields specified via #only,\n only those fields are populated in the returned document.\n 2. If the criteria has a referencing association (i.e., this document\n is being instantiated as an association of another document),\n the other document is also populated in the returned document's\n reverse association, if one exists.\n\n @example Build the document.\n Mongoid::Factory.from_db(Person, { \"name\" => \"Durran\" })\n\n @param [ Class ] klass The class to instantiate from if _type is not present.\n @param [ Hash ] attributes The document attributes.\n @param [ Criteria ] criteria Optional criteria object.\n @param [ Hash ] selected_fields Fields which were retrieved via\n #only. If selected_fields are specified, fields not listed in it\n will not be accessible in the returned document.\n\n @return [ Document ] The instantiated document.", "Add the document as an atomic pull.\n\n @example Add the atomic pull.\n person.add_atomic_pull(address)\n\n @param [ Document ] document The embedded document to pull.\n\n @since 2.2.0", "Add an atomic unset for the document.\n\n @example Add an atomic unset.\n document.add_atomic_unset(doc)\n\n @param [ Document ] document The child document.\n\n @return [ Array ] The children.\n\n @since 3.0.0", "Get all the atomic updates that need to happen for the current\n +Document+. This includes all changes that need to happen in the\n entire hierarchy that exists below where the save call was made.\n\n @note MongoDB does not allow \"conflicting modifications\" to be\n performed in a single operation. Conflicting modifications are\n detected by the 'haveConflictingMod' function in MongoDB.\n Examination of the code suggests that two modifications (a $set\n and a $push with $each, for example) conflict if:\n (1) the key paths being modified are equal.\n (2) one key path is a prefix of the other.\n So a $set of 'addresses.0.street' will conflict with a $push and $each\n to 'addresses', and we will need to split our update into two\n pieces. We do not, however, attempt to match MongoDB's logic\n exactly. Instead, we assume that two updates conflict if the\n first component of the two key paths matches.\n\n @example Get the updates that need to occur.\n person.atomic_updates(children)\n\n @return [ Hash ] The updates and their modifiers.\n\n @since 2.1.0", "Get all the attributes that need to be pulled.\n\n @example Get the pulls.\n person.atomic_pulls\n\n @return [ Array ] The $pullAll operations.\n\n @since 2.2.0", "Get all the attributes that need to be unset.\n\n @example Get the unsets.\n person.atomic_unsets\n\n @return [ Array ] The $unset operations.\n\n @since 2.2.0", "Generates the atomic updates in the correct order.\n\n @example Generate the updates.\n model.generate_atomic_updates(mods, doc)\n\n @param [ Modifiers ] mods The atomic modifications.\n @param [ Document ] doc The document to update for.\n\n @since 2.2.0", "Initialize the persistence context object.\n\n @example Create a new persistence context.\n PersistenceContext.new(model, collection: 'other')\n\n @param [ Object ] object The class or model instance for which a persistence context\n should be created.\n @param [ Hash ] opts The persistence context options.\n\n @since 6.0.0\n Get the collection for this persistence context.\n\n @example Get the collection for this persistence context.\n context.collection\n\n @param [ Object ] parent The parent object whose collection name is used\n instead of this persistence context's collection name.\n\n @return [ Mongo::Collection ] The collection for this persistence\n context.\n\n @since 6.0.0", "Get the client for this persistence context.\n\n @example Get the client for this persistence context.\n context.client\n\n @return [ Mongo::Client ] The client for this persistence\n context.\n\n @since 6.0.0", "Get all the changes for the document.\n\n @example Get all the changes.\n model.changes\n\n @return [ Hash ] The changes.\n\n @since 2.4.0", "Call this method after save, so the changes can be properly switched.\n\n This will unset the memoized children array, set new record to\n false, set the document as validated, and move the dirty changes.\n\n @example Move the changes to previous.\n person.move_changes\n\n @since 2.1.0", "Get the old and new value for the provided attribute.\n\n @example Get the attribute change.\n model.attribute_change(\"name\")\n\n @param [ String ] attr The name of the attribute.\n\n @return [ Array ] The old and new values.\n\n @since 2.1.0", "Determine if a specific attribute has changed.\n\n @example Has the attribute changed?\n model.attribute_changed?(\"name\")\n\n @param [ String ] attr The name of the attribute.\n\n @return [ true, false ] Whether the attribute has changed.\n\n @since 2.1.6", "Get whether or not the field has a different value from the default.\n\n @example Is the field different from the default?\n model.attribute_changed_from_default?\n\n @param [ String ] attr The name of the attribute.\n\n @return [ true, false ] If the attribute differs.\n\n @since 3.0.0", "Get the previous value for the attribute.\n\n @example Get the previous value.\n model.attribute_was(\"name\")\n\n @param [ String ] attr The attribute name.\n\n @since 2.4.0", "Flag an attribute as going to change.\n\n @example Flag the attribute.\n model.attribute_will_change!(\"name\")\n\n @param [ String ] attr The name of the attribute.\n\n @return [ Object ] The old value.\n\n @since 2.3.0", "Set the attribute back to its old value.\n\n @example Reset the attribute.\n model.reset_attribute!(\"name\")\n\n @param [ String ] attr The name of the attribute.\n\n @return [ Object ] The old value.\n\n @since 2.4.0", "Use the application configuration to get every model and require it, so\n that indexing and inheritance work in both development and production\n with the same results.\n\n @example Load all the application models.\n Rails::Mongoid.load_models(app)\n\n @param [ Application ] app The rails application.", "I don't want to mock out kernel for unit testing purposes, so added this\n method as a convenience.\n\n @example Load the model.\n Mongoid.load_model(\"/mongoid/behavior\")\n\n @param [ String ] file The base filename.\n\n @since 2.0.0.rc.3", "Applies a single default value for the given name.\n\n @example Apply a single default.\n model.apply_default(\"name\")\n\n @param [ String ] name The name of the field.\n\n @since 2.4.0", "Post process the persistence operation.\n\n @api private\n\n @example Post process the persistence operation.\n document.post_process_persist(true)\n\n @param [ Object ] result The result of the operation.\n @param [ Hash ] options The options.\n\n @return [ true ] true.\n\n @since 4.0.0", "Process the atomic operations - this handles the common behavior of\n iterating through each op, getting the aliased field name, and removing\n appropriate dirty changes.\n\n @api private\n\n @example Process the atomic operations.\n document.process_atomic_operations(pulls) do |field, value|\n ...\n end\n\n @param [ Hash ] operations The atomic operations.\n\n @return [ Hash ] The operations.\n\n @since 4.0.0", "If we are in an atomically block, add the operations to the delayed group,\n otherwise persist immediately.\n\n @api private\n\n @example Persist immediately or delay the operations.\n document.persist_or_delay_atomic_operation(ops)\n\n @param [ Hash ] operation The operation.\n\n @since 4.0.0", "Persist the atomic operations.\n\n @api private\n\n @example Persist the atomic operations.\n persist_atomic_operations(ops)\n\n @param [ Hash ] operations The atomic operations.\n\n @since 4.0.0", "Gets the document as a serializable hash, used by ActiveModel's JSON\n serializer.\n\n @example Get the serializable hash.\n document.serializable_hash\n\n @example Get the serializable hash with options.\n document.serializable_hash(:include => :addresses)\n\n @param [ Hash ] options The options to pass.\n\n @option options [ Symbol ] :include What associations to include.\n @option options [ Symbol ] :only Limit the fields to only these.\n @option options [ Symbol ] :except Dont include these fields.\n @option options [ Symbol ] :methods What methods to include.\n\n @return [ Hash ] The document, ready to be serialized.\n\n @since 2.0.0.rc.6", "Get the names of all fields that will be serialized.\n\n @api private\n\n @example Get all the field names.\n document.send(:field_names)\n\n @return [ Array ] The names of the fields.\n\n @since 3.0.0", "Serialize a single attribute. Handles associations, fields, and dynamic\n attributes.\n\n @api private\n\n @example Serialize the attribute.\n document.serialize_attribute({}, \"id\" , [ \"id\" ])\n\n @param [ Hash ] attrs The attributes.\n @param [ String ] name The attribute name.\n @param [ Array ] names The names of all attributes.\n @param [ Hash ] options The options.\n\n @return [ Object ] The attribute.\n\n @since 3.0.0", "For each of the provided include options, get the association needed and\n provide it in the hash.\n\n @example Serialize the included associations.\n document.serialize_relations({}, :include => :addresses)\n\n @param [ Hash ] attributes The attributes to serialize.\n @param [ Hash ] options The serialization options.\n\n @option options [ Symbol ] :include What associations to include\n @option options [ Symbol ] :only Limit the fields to only these.\n @option options [ Symbol ] :except Dont include these fields.\n\n @since 2.0.0.rc.6", "Since the inclusions can be a hash, symbol, or array of symbols, this is\n provided as a convenience to parse out the names.\n\n @example Get the association names.\n document.relation_names(:include => [ :addresses ])\n\n @param [ Hash, Symbol, Array ] inclusions The inclusions.\n\n @return [ Array ] The names of the included associations.\n\n @since 2.0.0.rc.6", "Since the inclusions can be a hash, symbol, or array of symbols, this is\n provided as a convenience to parse out the options.\n\n @example Get the association options.\n document.relation_names(:include => [ :addresses ])\n\n @param [ Hash, Symbol, Array ] inclusions The inclusions.\n @param [ Hash ] options The options.\n @param [ Symbol ] name The name of the association.\n\n @return [ Hash ] The options for the association.\n\n @since 2.0.0.rc.6", "Get the current Mongoid scope.\n\n @example Get the scope.\n Threaded.current_scope(klass)\n Threaded.current_scope\n\n @param [ Klass ] klass The class type of the scope.\n\n @return [ Criteria ] The scope.\n\n @since 5.0.0", "Set the current Mongoid scope. Safe for multi-model scope chaining.\n\n @example Set the scope.\n Threaded.current_scope(scope, klass)\n\n @param [ Criteria ] scope The current scope.\n @param [ Class ] klass The current model class.\n\n @return [ Criteria ] The scope.\n\n @since 5.0.1", "Apply the default scoping to the attributes of the document, as long as\n they are not complex queries.\n\n @api private\n\n @example Apply the default scoping.\n document.apply_default_scoping\n\n @return [ true, false ] If default scoping was applied.\n\n @since 4.0.0", "Overrides the default ActiveModel behavior since we need to handle\n validations of associations slightly different than just calling the\n getter.\n\n @example Read the value.\n person.read_attribute_for_validation(:addresses)\n\n @param [ Symbol ] attr The name of the field or association.\n\n @return [ Object ] The value of the field or the association.\n\n @since 2.0.0.rc.1", "Collect all the children of this document.\n\n @example Collect all the children.\n document.collect_children\n\n @return [ Array ] The children.\n\n @since 2.4.0", "Remove a child document from this parent. If an embeds one then set to\n nil, otherwise remove from the embeds many.\n\n This is called from the +RemoveEmbedded+ persistence command.\n\n @example Remove the child.\n document.remove_child(child)\n\n @param [ Document ] child The child (embedded) document to remove.\n\n @since 2.0.0.beta.1", "After children are persisted we can call this to move all their changes\n and flag them as persisted in one call.\n\n @example Reset the children.\n document.reset_persisted_children\n\n @return [ Array ] The children.\n\n @since 2.1.0", "Returns an instance of the specified class with the attributes,\n errors, and embedded documents of the current document.\n\n @example Return a subclass document as a superclass instance.\n manager.becomes(Person)\n\n @raise [ ArgumentError ] If the class doesn't include Mongoid::Document\n\n @param [ Class ] klass The class to become.\n\n @return [ Document ] An instance of the specified class.\n\n @since 2.0.0", "Convenience method for iterating through the loaded associations and\n reloading them.\n\n @example Reload the associations.\n document.reload_relations\n\n @return [ Hash ] The association metadata.\n\n @since 2.1.6", "Get an array of inspected fields for the document.\n\n @api private\n\n @example Inspect the defined fields.\n document.inspect_fields\n\n @return [ String ] An array of pretty printed field values.\n\n @since 1.0.0", "Run the callbacks for the document. This overrides active support's\n functionality to cascade callbacks to embedded documents that have been\n flagged as such.\n\n @example Run the callbacks.\n run_callbacks :save do\n save!\n end\n\n @param [ Symbol ] kind The type of callback to execute.\n @param [ Array ] args Any options.\n\n @return [ Document ] The document\n\n @since 2.3.0", "Get all the child embedded documents that are flagged as cascadable.\n\n @example Get all the cascading children.\n document.cascadable_children(:update)\n\n @param [ Symbol ] kind The type of callback.\n\n @return [ Array ] The children.\n\n @since 2.3.0", "Determine if the child should fire the callback.\n\n @example Should the child fire the callback?\n document.cascadable_child?(:update, doc)\n\n @param [ Symbol ] kind The type of callback.\n @param [ Document ] child The child document.\n\n @return [ true, false ] If the child should fire the callback.\n\n @since 2.3.0", "Connect to the provided database name on the default client.\n\n @note Use only in development or test environments for convenience.\n\n @example Set the database to connect to.\n config.connect_to(\"mongoid_test\")\n\n @param [ String ] name The database name.\n\n @since 3.0.0", "Load the settings from a compliant mongoid.yml file. This can be used for\n easy setup with frameworks other than Rails.\n\n @example Configure Mongoid.\n Mongoid.load!(\"/path/to/mongoid.yml\")\n\n @param [ String ] path The path to the file.\n @param [ String, Symbol ] environment The environment to load.\n\n @since 2.0.1", "Register a model in the application with Mongoid.\n\n @example Register a model.\n config.register_model(Band)\n\n @param [ Class ] klass The model to register.\n\n @since 3.1.0", "From a hash of settings, load all the configuration.\n\n @example Load the configuration.\n config.load_configuration(settings)\n\n @param [ Hash ] settings The configuration settings.\n\n @since 3.1.0", "Truncate all data in all collections, but not the indexes.\n\n @example Truncate all collection data.\n Mongoid::Config.truncate!\n\n @note This will be slower than purge!\n\n @return [ true ] true.\n\n @since 2.0.2", "Set the configuration options. Will validate each one individually.\n\n @example Set the options.\n config.options = { raise_not_found_error: true }\n\n @param [ Hash ] options The configuration options.\n\n @since 3.0.0", "Responds to unauthorized requests in a manner fitting the request format.\n `js`, `json`, and `xml` requests will receive a 401 with no body. All\n other formats will be redirected appropriately and can optionally have the\n flash message set.\n\n When redirecting, the originally requested url will be stored in the\n session (`session[:return_to]`), allowing it to be used as a redirect url\n once the user has successfully signed in.\n\n If there is a signed in user, the request will be redirected according to\n the value returned from {#url_after_denied_access_when_signed_in}.\n\n If there is no signed in user, the request will be redirected according to\n the value returned from {#url_after_denied_access_when_signed_out}.\n For the exact redirect behavior, see {#redirect_request}.\n\n @param [String] flash_message", "Reads previously existing sessions from a cookie and maintains the cookie\n on each response.", "Send the user a file.\n @param file [File] The file to send to the user\n @param caption [String] The caption of the file being sent\n @param filename [String] Overrides the filename of the uploaded file\n @param spoiler [true, false] Whether or not this file should appear as a spoiler.\n @return [Message] the message sent to this user.\n @example Send a file from disk\n user.send_file(File.open('rubytaco.png', 'r'))", "Set the user's presence data\n @note for internal use only\n @!visibility private", "Checks whether this user can do the particular action, regardless of whether it has the permission defined,\n through for example being the server owner or having the Manage Roles permission\n @param action [Symbol] The permission that should be checked. See also {Permissions::FLAGS} for a list.\n @param channel [Channel, nil] If channel overrides should be checked too, this channel specifies where the overrides should be checked.\n @example Check if the bot can send messages to a specific channel in a server.\n bot_profile = bot.profile.on(event.server)\n can_send_messages = bot_profile.permission?(:send_messages, channel)\n @return [true, false] whether or not this user has the permission.", "Sets this channels parent category\n @param channel [Channel, #resolve_id] the target category channel\n @raise [ArgumentError] if the target channel isn't a category", "Sorts this channel's position to follow another channel.\n @param other [Channel, #resolve_id, nil] The channel below which this channel should be sorted. If the given\n channel is a category, this channel will be sorted at the top of that category. If it is `nil`, the channel will\n be sorted at the top of the channel list.\n @param lock_permissions [true, false] Whether the channel's permissions should be synced to the category's", "Sets whether this channel is NSFW\n @param nsfw [true, false]\n @raise [ArguementError] if value isn't one of true, false", "Sends a temporary message to this channel.\n @param content [String] The content to send. Should not be longer than 2000 characters or it will result in an error.\n @param timeout [Float] The amount of time in seconds after which the message sent will be deleted.\n @param tts [true, false] Whether or not this message should be sent using Discord text-to-speech.\n @param embed [Hash, Discordrb::Webhooks::Embed, nil] The rich embed to append to this message.", "Convenience method to send a message with an embed.\n @example Send a message with an embed\n channel.send_embed do |embed|\n embed.title = 'The Ruby logo'\n embed.image = Discordrb::Webhooks::EmbedImage.new(url: 'https://www.ruby-lang.org/images/header-ruby-logo.png')\n end\n @param message [String] The message that should be sent along with the embed. If this is the empty string, only the embed will be shown.\n @param embed [Discordrb::Webhooks::Embed, nil] The embed to start the building process with, or nil if one should be created anew.\n @yield [embed] Yields the embed to allow for easy building inside a block.\n @yieldparam embed [Discordrb::Webhooks::Embed] The embed from the parameters, or a new one.\n @return [Message] The resulting message.", "Sends a file to this channel. If it is an image, it will be embedded.\n @param file [File] The file to send. There's no clear size limit for this, you'll have to attempt it for yourself (most non-image files are fine, large images may fail to embed)\n @param caption [string] The caption for the file.\n @param tts [true, false] Whether or not this file's caption should be sent using Discord text-to-speech.\n @param filename [String] Overrides the filename of the uploaded file\n @param spoiler [true, false] Whether or not this file should appear as a spoiler.\n @example Send a file from disk\n channel.send_file(File.open('rubytaco.png', 'r'))", "Deletes a permission overwrite for this channel\n @param target [Member, User, Role, Profile, Recipient, #resolve_id] What permission overwrite to delete\n @param reason [String] The reason the for the overwrite deletion.", "Updates the cached data from another channel.\n @note For internal use only\n @!visibility private", "The list of users currently in this channel. For a voice channel, it will return all the members currently\n in that channel. For a text channel, it will return all online members that have permission to read it.\n @return [Array] the users in this channel", "Retrieves some of this channel's message history.\n @param amount [Integer] How many messages to retrieve. This must be less than or equal to 100, if it is higher\n than 100 it will be treated as 100 on Discord's side.\n @param before_id [Integer] The ID of the most recent message the retrieval should start at, or nil if it should\n start at the current message.\n @param after_id [Integer] The ID of the oldest message the retrieval should start at, or nil if it should start\n as soon as possible with the specified amount.\n @param around_id [Integer] The ID of the message retrieval should start from, reading in both directions\n @example Count the number of messages in the last 50 messages that contain the letter 'e'.\n message_count = channel.history(50).count {|message| message.content.include? \"e\"}\n @example Get the last 10 messages before the provided message.\n last_ten_messages = channel.history(10, message.id)\n @return [Array] the retrieved messages.", "Retrieves message history, but only message IDs for use with prune.\n @note For internal use only\n @!visibility private", "Returns a single message from this channel's history by ID.\n @param message_id [Integer] The ID of the message to retrieve.\n @return [Message, nil] the retrieved message, or `nil` if it couldn't be found.", "Requests all pinned messages in a channel.\n @return [Array] the received messages.", "Delete the last N messages on this channel.\n @param amount [Integer] The amount of message history to consider for pruning. Must be a value between 2 and 100 (Discord limitation)\n @param strict [true, false] Whether an error should be raised when a message is reached that is too old to be bulk\n deleted. If this is false only a warning message will be output to the console.\n @raise [ArgumentError] if the amount of messages is not a value between 2 and 100\n @yield [message] Yields each message in this channels history for filtering the messages to delete\n @example Pruning messages from a specific user ID\n channel.prune(100) { |m| m.author.id == 83283213010599936 }\n @return [Integer] The amount of messages that were successfully deleted", "Deletes a collection of messages\n @param messages [Array] the messages (or message IDs) to delete. Total must be an amount between 2 and 100 (Discord limitation)\n @param strict [true, false] Whether an error should be raised when a message is reached that is too old to be bulk\n deleted. If this is false only a warning message will be output to the console.\n @raise [ArgumentError] if the amount of messages is not a value between 2 and 100\n @return [Integer] The amount of messages that were successfully deleted", "Creates a new invite to this channel.\n @param max_age [Integer] How many seconds this invite should last.\n @param max_uses [Integer] How many times this invite should be able to be used.\n @param temporary [true, false] Whether membership should be temporary (kicked after going offline).\n @param unique [true, false] If true, Discord will always send a unique invite instead of possibly re-using a similar one\n @param reason [String] The reason the for the creation of this invite.\n @return [Invite] the created invite.", "Creates a Group channel\n @param user_ids [Array] Array of user IDs to add to the new group channel (Excluding\n the recipient of the PM channel).\n @return [Channel] the created channel.", "Adds a user to a group channel.\n @param user_ids [Array<#resolve_id>, #resolve_id] User ID or array of user IDs to add to the group channel.\n @return [Channel] the group channel.", "Removes a user from a group channel.\n @param user_ids [Array<#resolve_id>, #resolve_id] User ID or array of user IDs to remove from the group channel.\n @return [Channel] the group channel.", "Requests a list of Webhooks on the channel.\n @return [Array] webhooks on the channel.", "Requests a list of Invites to the channel.\n @return [Array] invites to the channel.", "Adds a recipient to a group channel.\n @param recipient [Recipient] the recipient to add to the group\n @raise [ArgumentError] if tried to add a non-recipient\n @note For internal use only\n @!visibility private", "Removes a recipient from a group channel.\n @param recipient [Recipient] the recipient to remove from the group\n @raise [ArgumentError] if tried to remove a non-recipient\n @note For internal use only\n @!visibility private", "Deletes a list of messages on this channel using bulk delete.", "Adds all event handlers from another container into this one. Existing event handlers will be overwritten.\n @param container [Module] A module that `extend`s {EventContainer} from which the handlers will be added.", "Updates the webhook if you need to edit more than 1 attribute.\n @param data [Hash] the data to update.\n @option data [String, #read, nil] :avatar The new avatar, in base64-encoded JPG format, or nil to delete the avatar.\n @option data [Channel, String, Integer, #resolve_id] :channel The channel the webhook should use.\n @option data [String] :name The webhook's new name.\n @option data [String] :reason The reason for the webhook changes.", "Deletes the webhook.\n @param reason [String] The reason the invite is being deleted.", "Sets the colour of the bar to the side of the embed to something new.\n @param value [Integer, String, {Integer, Integer, Integer}, #to_i, nil] The colour in decimal, hexadecimal, R/G/B decimal, or nil to clear the embeds colour\n form.", "Convenience method to add a field to the embed without having to create one manually.\n @see EmbedField\n @example Add a field to an embed, conveniently\n embed.add_field(name: 'A field', value: \"The field's content\")\n @param name [String] The field's name\n @param value [String] The field's value\n @param inline [true, false] Whether the field should be inlined", "Create a new LightBot. This does no networking yet, all networking is done by the methods on this class.\n @param token [String] The token that should be used to authenticate to Discord. Can be an OAuth token or a regular\n user account token.\n @return [LightProfile] the details of the user this bot is connected to.", "Gets the connections associated with this account.\n @return [Array] this account's connections.", "Finds an emoji by its name.\n @param name [String] The emoji name that should be resolved.\n @return [GlobalEmoji, nil] the emoji identified by the name, or `nil` if it couldn't be found.", "The bot's OAuth application.\n @return [Application, nil] The bot's application info. Returns `nil` if bot is not a bot account.", "Makes the bot join an invite to a server.\n @param invite [String, Invite] The invite to join. For possible formats see {#resolve_invite_code}.", "Sends a text message to a channel given its ID and the message's content.\n @param channel [Channel, Integer, #resolve_id] The channel to send something to.\n @param content [String] The text that should be sent as a message. It is limited to 2000 characters (Discord imposed).\n @param tts [true, false] Whether or not this message should be sent using Discord text-to-speech.\n @param embed [Hash, Discordrb::Webhooks::Embed, nil] The rich embed to append to this message.\n @return [Message] The message that was sent.", "Sends a text message to a channel given its ID and the message's content,\n then deletes it after the specified timeout in seconds.\n @param channel [Channel, Integer, #resolve_id] The channel to send something to.\n @param content [String] The text that should be sent as a message. It is limited to 2000 characters (Discord imposed).\n @param timeout [Float] The amount of time in seconds after which the message sent will be deleted.\n @param tts [true, false] Whether or not this message should be sent using Discord text-to-speech.\n @param embed [Hash, Discordrb::Webhooks::Embed, nil] The rich embed to append to this message.", "Sends a file to a channel. If it is an image, it will automatically be embedded.\n @note This executes in a blocking way, so if you're sending long files, be wary of delays.\n @param channel [Channel, Integer, #resolve_id] The channel to send something to.\n @param file [File] The file that should be sent.\n @param caption [string] The caption for the file.\n @param tts [true, false] Whether or not this file's caption should be sent using Discord text-to-speech.\n @param filename [String] Overrides the filename of the uploaded file\n @param spoiler [true, false] Whether or not this file should appear as a spoiler.\n @example Send a file from disk\n bot.send_file(83281822225530880, File.open('rubytaco.png', 'r'))", "Creates a server on Discord with a specified name and a region.\n @note Discord's API doesn't directly return the server when creating it, so this method\n waits until the data has been received via the websocket. This may make the execution take a while.\n @param name [String] The name the new server should have. Doesn't have to be alphanumeric.\n @param region [Symbol] The region where the server should be created, for example 'eu-central' or 'hongkong'.\n @return [Server] The server that was created.", "Changes information about your OAuth application\n @param name [String] What your application should be called.\n @param redirect_uris [Array] URIs that Discord should redirect your users to after authorizing.\n @param description [String] A string that describes what your application does.\n @param icon [String, nil] A data URI for your icon image (for example a base 64 encoded image), or nil if no icon\n should be set or changed.", "Gets the users, channels, roles and emoji from a string.\n @param mentions [String] The mentions, which should look like `<@12314873129>`, `<#123456789>`, `<@&123456789>` or `<:name:126328:>`.\n @param server [Server, nil] The server of the associated mentions. (recommended for role parsing, to speed things up)\n @return [Array] The array of users, channels, roles and emoji identified by the mentions, or `nil` if none exists.", "Updates presence status.\n @param status [String] The status the bot should show up as. Can be `online`, `dnd`, `idle`, or `invisible`\n @param activity [String, nil] The name of the activity to be played/watched/listened to/stream name on the stream.\n @param url [String, nil] The Twitch URL to display as a stream. nil for no stream.\n @param since [Integer] When this status was set.\n @param afk [true, false] Whether the bot is AFK.\n @param activity_type [Integer] The type of activity status to display. Can be 0 (Playing), 1 (Streaming), 2 (Listening), 3 (Watching)\n @see Gateway#send_status_update", "Awaits an event, blocking the current thread until a response is received.\n @param type [Class] The event class that should be listened for.\n @option attributes [Numeric] :timeout the amount of time to wait for a response before returning `nil`. Waits forever if omitted.\n @return [Event, nil] The event object that was triggered, or `nil` if a `timeout` was set and no event was raised in time.\n @raise [ArgumentError] if `timeout` is given and is not a positive numeric value", "Makes the bot leave any groups with no recipients remaining", "Internal handler for VOICE_STATE_UPDATE", "Internal handler for VOICE_SERVER_UPDATE", "Internal handler for CHANNEL_CREATE", "Internal handler for CHANNEL_UPDATE", "Internal handler for CHANNEL_DELETE", "Internal handler for CHANNEL_RECIPIENT_ADD", "Internal handler for GUILD_MEMBER_ADD", "Internal handler for GUILD_MEMBER_UPDATE", "Internal handler for GUILD_MEMBER_DELETE", "Internal handler for GUILD_ROLE_UPDATE", "Internal handler for GUILD_ROLE_CREATE", "Internal handler for GUILD_ROLE_DELETE", "Internal handler for GUILD_EMOJIS_UPDATE", "Returns or caches the available voice regions", "Gets a channel given its ID. This queries the internal channel cache, and if the channel doesn't\n exist in there, it will get the data from Discord.\n @param id [Integer] The channel ID for which to search for.\n @param server [Server] The server for which to search the channel for. If this isn't specified, it will be\n inferred using the API\n @return [Channel] The channel identified by the ID.", "Gets a user by its ID.\n @note This can only resolve users known by the bot (i.e. that share a server with the bot).\n @param id [Integer] The user ID that should be resolved.\n @return [User, nil] The user identified by the ID, or `nil` if it couldn't be found.", "Gets a server by its ID.\n @note This can only resolve servers the bot is currently in.\n @param id [Integer] The server ID that should be resolved.\n @return [Server, nil] The server identified by the ID, or `nil` if it couldn't be found.", "Gets a member by both IDs, or `Server` and user ID.\n @param server_or_id [Server, Integer] The `Server` or server ID for which a member should be resolved\n @param user_id [Integer] The ID of the user that should be resolved\n @return [Member, nil] The member identified by the IDs, or `nil` if none could be found", "Ensures a given user object is cached and if not, cache it from the given data hash.\n @param data [Hash] A data hash representing a user.\n @return [User] the user represented by the data hash.", "Ensures a given server object is cached and if not, cache it from the given data hash.\n @param data [Hash] A data hash representing a server.\n @return [Server] the server represented by the data hash.", "Ensures a given channel object is cached and if not, cache it from the given data hash.\n @param data [Hash] A data hash representing a channel.\n @param server [Server, nil] The server the channel is on, if known.\n @return [Channel] the channel represented by the data hash.", "Gets information about an invite.\n @param invite [String, Invite] The invite to join. For possible formats see {#resolve_invite_code}.\n @return [Invite] The invite with information about the given invite URL.", "Finds a channel given its name and optionally the name of the server it is in.\n @param channel_name [String] The channel to search for.\n @param server_name [String] The server to search for, or `nil` if only the channel should be searched for.\n @param type [Integer, nil] The type of channel to search for (0: text, 1: private, 2: voice, 3: group), or `nil` if any type of\n channel should be searched for\n @return [Array] The array of channels that were found. May be empty if none were found.", "Finds a user given its username or username & discriminator.\n @overload find_user(username)\n Find all cached users with a certain username.\n @param username [String] The username to look for.\n @return [Array] The array of users that were found. May be empty if none were found.\n @overload find_user(username, discrim)\n Find a cached user with a certain username and discriminator.\n Find a user by name and discriminator\n @param username [String] The username to look for.\n @param discrim [String] The user's discriminator\n @return [User, nil] The user that was found, or `nil` if none was found\n @note This method only searches through users that have been cached. Users that have not yet been cached\n by the bot but still share a connection with the user (mutual server) will not be found.\n @example Find users by name\n bot.find_user('z64') #=> Array\n @example Find a user by name and discriminator\n bot.find_user('z64', '2639') #=> User", "Edits this message to have the specified content instead.\n You can only edit your own messages.\n @param new_content [String] the new content the message should have.\n @param new_embed [Hash, Discordrb::Webhooks::Embed, nil] The new embed the message should have. If `nil` the message will be changed to have no embed.\n @return [Message] the resulting message.", "Reacts to a message.\n @param reaction [String, #to_reaction] the unicode emoji or {Emoji}", "Returns the list of users who reacted with a certain reaction.\n @param reaction [String, #to_reaction] the unicode emoji or {Emoji}\n @param limit [Integer] the limit of how many users to retrieve. `nil` will return all users\n @example Get all the users that reacted with a thumbsup.\n thumbs_up_reactions = message.reacted_with(\"\\u{1F44D}\")\n @return [Array] the users who used this reaction", "Deletes a reaction made by a user on this message.\n @param user [User, #resolve_id] the user who used this reaction\n @param reaction [String, #to_reaction] the reaction to remove", "Deletes this client's reaction on this message.\n @param reaction [String, #to_reaction] the reaction to remove", "Process user objects given by the request\n @note For internal use only\n @!visibility private", "Process webhook objects given by the request\n @note For internal use only\n @!visibility private", "Divides the command chain into chain arguments and command chain, then executes them both.\n @param event [CommandEvent] The event to execute the command with.\n @return [String] the result of the command chain execution.", "Updates the data cache from another Role object\n @note For internal use only\n @!visibility private", "Updates the data cache from a hash containing data\n @note For internal use only\n @!visibility private", "Changes this role's permissions to a fixed bitfield. This allows setting multiple permissions at once with just\n one API call.\n\n Information on how this bitfield is structured can be found at\n https://discordapp.com/developers/docs/topics/permissions.\n @example Remove all permissions from a role\n role.packed = 0\n @param packed [Integer] A bitfield with the desired permissions value.\n @param update_perms [true, false] Whether the internal data should also be updated. This should always be true\n when calling externally.", "Moves this role above another role in the list.\n @param other [Role, #resolve_id, nil] The role above which this role should be moved. If it is `nil`,\n the role will be moved above the @everyone role.\n @return [Integer] the new position of this role", "Bulk sets a member's roles.\n @param role [Role, Array] The role(s) to set.\n @param reason [String] The reason the user's roles are being changed.", "Adds and removes roles from a member.\n @param add [Role, Array] The role(s) to add.\n @param remove [Role, Array] The role(s) to remove.\n @param reason [String] The reason the user's roles are being changed.\n @example Remove the 'Member' role from a user, and add the 'Muted' role to them.\n to_add = server.roles.find {|role| role.name == 'Muted'}\n to_remove = server.roles.find {|role| role.name == 'Member'}\n member.modify_roles(to_add, to_remove)", "Adds one or more roles to this member.\n @param role [Role, Array, #resolve_id] The role(s) to add.\n @param reason [String] The reason the user's roles are being changed.", "Removes one or more roles from this member.\n @param role [Role, Array] The role(s) to remove.\n @param reason [String] The reason the user's roles are being changed.", "Sets or resets this member's nickname. Requires the Change Nickname permission for the bot itself and Manage\n Nicknames for other users.\n @param nick [String, nil] The string to set the nickname to, or nil if it should be reset.\n @param reason [String] The reason the user's nickname is being changed.", "Update this member's roles\n @note For internal use only.\n @!visibility private", "Executes a particular command on the bot. Mostly useful for internal stuff, but one can never know.\n @param name [Symbol] The command to execute.\n @param event [CommandEvent] The event to pass to the command.\n @param arguments [Array] The arguments to pass to the command.\n @param chained [true, false] Whether or not it should be executed as part of a command chain. If this is false,\n commands that have chain_usable set to false will not work.\n @param check_permissions [true, false] Whether permission parameters such as `required_permission` or\n `permission_level` should be checked.\n @return [String, nil] the command's result, if there is any.", "Executes a command in a simple manner, without command chains or permissions.\n @param chain [String] The command with its arguments separated by spaces.\n @param event [CommandEvent] The event to pass to the command.\n @return [String, nil] the command's result, if there is any.", "Check if a user has permission to do something\n @param user [User] The user to check\n @param level [Integer] The minimum permission level the user should have (inclusive)\n @param server [Server] The server on which to check\n @return [true, false] whether or not the user has the given permission", "Internal handler for MESSAGE_CREATE that is overwritten to allow for command handling", "Check whether a message should trigger command execution, and if it does, return the raw chain", "Stops the current playback entirely.\n @param wait_for_confirmation [true, false] Whether the method should wait for confirmation from the playback\n method that the playback has actually stopped.", "Plays a stream of audio data in the DCA format. This format has the advantage that no recoding has to be\n done - the file contains the data exactly as Discord needs it.\n @note DCA playback will not be affected by the volume modifier ({#volume}) because the modifier operates on raw\n PCM, not opus data. Modifying the volume of DCA data would involve decoding it, multiplying the samples and\n re-encoding it, which defeats its entire purpose (no recoding).\n @see https://github.com/bwmarrin/dca\n @see #play", "Plays the data from the @io stream as Discord requires it", "Create a new webhook\n @param url [String] The URL to post messages to.\n @param id [Integer] The webhook's ID. Will only be used if `url` is not\n set.\n @param token [String] The webhook's authorisation token. Will only be used\n if `url` is not set.\n Executes the webhook this client points to with the given data.\n @param builder [Builder, nil] The builder to start out with, or nil if one should be created anew.\n @param wait [true, false] Whether Discord should wait for the message to be successfully received by clients, or\n whether it should return immediately after sending the message.\n @yield [builder] Gives the builder to the block to add additional steps, or to do the entire building process.\n @yieldparam builder [Builder] The builder given as a parameter which is used as the initial step to start from.\n @example Execute the webhook with an already existing builder\n builder = Discordrb::Webhooks::Builder.new # ...\n client.execute(builder)\n @example Execute the webhook by building a new message\n client.execute do |builder|\n builder.content = 'Testing'\n builder.username = 'discordrb'\n builder.add_embed do |embed|\n embed.timestamp = Time.now\n embed.title = 'Testing'\n embed.image = Discordrb::Webhooks::EmbedImage.new(url: 'https://i.imgur.com/PcMltU7.jpg')\n end\n end\n @return [RestClient::Response] the response returned by Discord.", "Makes a new await. For internal use only.\n @!visibility private\n Checks whether the await can be triggered by the given event, and if it can, execute the block\n and return its result along with this await's key.\n @param event [Event] An event to check for.\n @return [Array] This await's key and whether or not it should be deleted. If there was no match, both are nil.", "Drains the currently saved message into a result string. This prepends it before that string, clears the saved\n message and returns the concatenation.\n @param result [String] The result string to drain into.\n @return [String] a string formed by concatenating the saved message and the argument.", "Attaches a file to the message event and converts the message into\n a caption.\n @param file [File] The file to be attached\n @param filename [String] Overrides the filename of the uploaded file\n @param spoiler [true, false] Whether or not this file should appear as a spoiler.", "Gets a role on this server based on its ID.\n @param id [Integer, String, #resolve_id] The role ID to look for.", "Gets a member on this server based on user ID\n @param id [Integer] The user ID to look for\n @param request [true, false] Whether the member should be requested from Discord if it's not cached", "Returns the amount of members that are candidates for pruning\n @param days [Integer] the number of days to consider for inactivity\n @return [Integer] number of members to be removed\n @raise [ArgumentError] if days is not between 1 and 30 (inclusive)", "Removes a role from the role cache\n @note For internal use only\n @!visibility private", "Updates the positions of all roles on the server\n @note For internal use only\n @!visibility private", "Updates a member's voice state\n @note For internal use only\n @!visibility private", "Creates a role on this server which can then be modified. It will be initialized\n with the regular role defaults the client uses unless specified, i.e. name is \"new role\",\n permissions are the default, colour is the default etc.\n @param name [String] Name of the role to create\n @param colour [Integer, ColourRGB, #combined] The roles colour\n @param hoist [true, false]\n @param mentionable [true, false]\n @param permissions [Integer, Array, Permissions, #bits] The permissions to write to the new role.\n @param reason [String] The reason the for the creation of this role.\n @return [Role] the created role.", "Adds a new custom emoji on this server.\n @param name [String] The name of emoji to create.\n @param image [String, #read] A base64 encoded string with the image data, or an object that responds to `#read`, such as `File`.\n @param roles [Array] An array of roles, or role IDs to be whitelisted for this emoji.\n @param reason [String] The reason the for the creation of this emoji.\n @return [Emoji] The emoji that has been added.", "Delete a custom emoji on this server\n @param emoji [Emoji, Integer, String] The emoji or emoji ID to be deleted.\n @param reason [String] The reason the for the deletion of this emoji.", "Bans a user from this server.\n @param user [User, #resolve_id] The user to ban.\n @param message_days [Integer] How many days worth of messages sent by the user should be deleted.\n @param reason [String] The reason the user is being banned.", "Unbans a previously banned user from this server.\n @param user [User, #resolve_id] The user to unban.\n @param reason [String] The reason the user is being unbanned.", "Kicks a user from this server.\n @param user [User, #resolve_id] The user to kick.\n @param reason [String] The reason the user is being kicked.", "Forcibly moves a user into a different voice channel. Only works if the bot has the permission needed.\n @param user [User, #resolve_id] The user to move.\n @param channel [Channel, #resolve_id] The voice channel to move into.", "Sets the server's icon.\n @param icon [String, #read] The new icon, in base64-encoded JPG format.", "Sets the verification level of the server\n @param level [Integer, Symbol] The verification level from 0-4 or Symbol (see {VERIFICATION_LEVELS})", "Sets the default message notification level\n @param notification_level [Integer, Symbol] The default message notificiation 0-1 or Symbol (see {NOTIFICATION_LEVELS})", "Sets the server content filter.\n @param filter_level [Integer, Symbol] The content filter from 0-2 or Symbol (see {FILTER_LEVELS})", "Requests a list of Webhooks on the server.\n @return [Array] webhooks on the server.", "Requests a list of Invites to the server.\n @return [Array] invites to the server.", "Processes a GUILD_MEMBERS_CHUNK packet, specifically the members field\n @note For internal use only\n @!visibility private", "Adjusts the volume of a given buffer of s16le PCM data.\n @param buf [String] An unencoded PCM (s16le) buffer.\n @param mult [Float] The volume multiplier, 1 for same volume.\n @return [String] The buffer with adjusted volume, s16le again", "Adds a new command to the container.\n @param name [Symbol, Array] The name of the command to add, or an array of multiple names for the command\n @param attributes [Hash] The attributes to initialize the command with.\n @option attributes [Integer] :permission_level The minimum permission level that can use this command, inclusive.\n See {CommandBot#set_user_permission} and {CommandBot#set_role_permission}.\n @option attributes [String, false] :permission_message Message to display when a user does not have sufficient\n permissions to execute a command. %name% in the message will be replaced with the name of the command. Disable\n the message by setting this option to false.\n @option attributes [Array] :required_permissions Discord action permissions (e.g. `:kick_members`) that\n should be required to use this command. See {Discordrb::Permissions::FLAGS} for a list.\n @option attributes [Array, Array<#resolve_id>] :required_roles Roles that user must have to use this command\n (user must have all of them).\n @option attributes [Array, Array<#resolve_id>] :allowed_roles Roles that user should have to use this command\n (user should have at least one of them).\n @option attributes [Array] :channels The channels that this command can be used on. An\n empty array indicates it can be used on any channel. Supersedes the command bot attribute.\n @option attributes [true, false] :chain_usable Whether this command is able to be used inside of a command chain\n or sub-chain. Typically used for administrative commands that shouldn't be done carelessly.\n @option attributes [true, false] :help_available Whether this command is visible in the help command. See the\n :help_command attribute of {CommandBot#initialize}.\n @option attributes [String] :description A short description of what this command does. Will be shown in the help\n command if the user asks for it.\n @option attributes [String] :usage A short description of how this command should be used. Will be displayed in\n the help command or if the user uses it wrong.\n @option attributes [Array] :arg_types An array of argument classes which will be used for type-checking.\n Hard-coded for some native classes, but can be used with any class that implements static\n method `from_argument`.\n @option attributes [Integer] :min_args The minimum number of arguments this command should have. If a user\n attempts to call the command with fewer arguments, the usage information will be displayed, if it exists.\n @option attributes [Integer] :max_args The maximum number of arguments the command should have.\n @option attributes [String] :rate_limit_message The message that should be displayed if the command hits a rate\n limit. None if unspecified or nil. %time% in the message will be replaced with the time in seconds when the\n command will be available again.\n @option attributes [Symbol] :bucket The rate limit bucket that should be used for rate limiting. No rate limiting\n will be done if unspecified or nil.\n @option attributes [String, #call] :rescue A string to respond with, or a block to be called in the event an exception\n is raised internally. If given a String, `%exception%` will be substituted with the exception's `#message`. If given\n a `Proc`, it will be passed the `CommandEvent` along with the `Exception`.\n @yield The block is executed when the command is executed.\n @yieldparam event [CommandEvent] The event of the message that contained the command.\n @note `LocalJumpError`s are rescued from internally, giving bots the opportunity to use `return` or `break` in\n their blocks without propagating an exception.\n @return [Command] The command that was added.\n @deprecated The command name argument will no longer support arrays in the next release.\n Use the `aliases` attribute instead.", "Changes the bot's avatar.\n @param avatar [String, #read] A JPG file to be used as the avatar, either\n something readable (e.g. File Object) or as a data URL.", "Creates a new UDP connection. Only creates a socket as the discovery reply may come before the data is\n initialized.\n Initializes the UDP socket with data obtained from opcode 2.\n @param endpoint [String] The voice endpoint to connect to.\n @param port [Integer] The port to connect to.\n @param ssrc [Integer] The Super Secret Relay Code (SSRC). Discord uses this to identify different voice users\n on the same endpoint.", "Waits for a UDP discovery reply, and returns the sent data.\n @return [Array(String, Integer)] the IP and port received from the discovery reply.", "Makes an audio packet from a buffer and sends it to Discord.\n @param buf [String] The audio data to send, must be exactly one Opus frame\n @param sequence [Integer] The packet sequence number, incremented by one for subsequent packets\n @param time [Integer] When this packet should be played back, in no particular unit (essentially just the\n sequence number multiplied by 960)", "Encrypts audio data using RbNaCl\n @param header [String] The header of the packet, to be used as the nonce\n @param buf [String] The encoded audio data to be encrypted\n @return [String] the audio data, encrypted", "Performs a rate limit request.\n @param key [Symbol] Which bucket to perform the request for.\n @param thing [#resolve_id, Integer, Symbol] What should be rate-limited.\n @param increment (see Bucket#rate_limited?)\n @see Bucket#rate_limited?\n @return [Integer, false] How much time to wait or false if the request succeeded.", "Makes a new bucket\n @param limit [Integer, nil] How many requests the user may perform in the given time_span, or nil if there should be no limit.\n @param time_span [Integer, nil] The time span after which the request count is reset, in seconds, or nil if the bucket should never be reset. (If this is nil, limit should be nil too)\n @param delay [Integer, nil] The delay for which the user has to wait after performing a request, in seconds, or nil if the user shouldn't have to wait.\n Cleans the bucket, removing all elements that aren't necessary anymore\n @param rate_limit_time [Time] The time to base the cleaning on, only useful for testing.", "Performs a rate limiting request\n @param thing [#resolve_id, Integer, Symbol] The particular thing that should be rate-limited (usually a user/channel, but you can also choose arbitrary integers or symbols)\n @param rate_limit_time [Time] The time to base the rate limiting on, only useful for testing.\n @param increment [Integer] How much to increment the rate-limit counter. Default is 1.\n @return [Integer, false] the waiting time until the next request, in seconds, or false if the request succeeded", "Connect to the gateway server in a separate thread", "Sends a custom packet over the connection. This can be useful to implement future yet unimplemented functionality\n or for testing. You probably shouldn't use this unless you know what you're doing.\n @param opcode [Integer] The opcode the packet should be sent as. Can be one of {Opcodes} or a custom value if\n necessary.\n @param packet [Object] Some arbitrary JSON-serialisable data that should be sent as the `d` field.", "Create and connect a socket using a URI", "Gets the target schema of a link. This is normally just the standard\n response schema, but we allow some legacy behavior for hyper-schema links\n tagged with rel=instances to instead use the schema of their parent\n resource.", "A single name according to gender parameter", "Mobile prefixes are in the 015x, 016x, 017x ranges", "Runs `identify` on the current image, and raises an error if it doesn't\n pass.\n\n @raise [MiniMagick::Invalid]", "This is used to change the format of the image. That is, from \"tiff to\n jpg\" or something like that. Once you run it, the instance is pointing to\n a new file with a new extension!\n\n *DANGER*: This renames the file that the instance is pointing to. So, if\n you manually opened the file with Image.new(file_path)... Then that file\n is DELETED! If you used Image.open(file) then you are OK. The original\n file will still be there. But, any changes to it might not be...\n\n Formatting an animation into a non-animated type will result in\n ImageMagick creating multiple pages (starting with 0). You can choose\n which page you want to manipulate. We default to the first page.\n\n If you would like to convert between animated formats, pass nil as your\n page and ImageMagick will copy all of the pages.\n\n @param format [String] The target format... Like 'jpg', 'gif', 'tiff' etc.\n @param page [Integer] If this is an animated gif, say which 'page' you\n want with an integer. Default 0 will convert only the first page; 'nil'\n will convert all pages.\n @param read_opts [Hash] Any read options to be passed to ImageMagick\n for example: image.format('jpg', page, {density: '300'})\n @yield [MiniMagick::Tool::Convert] It optionally yields the command,\n if you want to add something.\n @return [self]", "Runs `identify` on itself. Accepts an optional block for adding more\n options to `identify`.\n\n @example\n image = MiniMagick::Image.open(\"image.jpg\")\n image.identify do |b|\n b.verbose\n end # runs `identify -verbose image.jpg`\n @return [String] Output from `identify`\n @yield [MiniMagick::Tool::Identify]", "Redact sensitive info from provided data", "Splits a header value +str+ according to HTTP specification.", "Escapes HTTP reserved and unwise characters in +str+", "Unescapes HTTP reserved and unwise characters in +str+", "Unescape form encoded values in +str+", "Sends the supplied request to the destination host.\n @yield [chunk] @see Response#self.parse\n @param [Hash] params One or more optional params, override defaults set in Connection.new\n @option params [String] :body text to be sent over a socket\n @option params [Hash] :headers The default headers to supply in a request\n @option params [String] :path appears after 'scheme://host:port/'\n @option params [Hash] :query appended to the 'scheme://host:port/path/' in the form of '?key=value'", "Sends the supplied requests to the destination host using pipelining.\n @pipeline_params [Array] pipeline_params An array of one or more optional params, override defaults set in Connection.new, see #request for details", "Sends the supplied requests to the destination host using pipelining in\n batches of @limit [Numeric] requests. This is your soft file descriptor\n limit by default, typically 256.\n @pipeline_params [Array] pipeline_params An array of one or more optional params, override defaults set in Connection.new, see #request for details", "Start the aruba console\n\n rubocop:disable Metrics/MethodLength", "Make deep dup copy of configuration", "Define or run before-hook\n\n @param [Symbol, String] name\n The name of the hook\n\n @param [Proc] context\n The context a hook should run in. This is a runtime only option.\n\n @param [Array] args\n Arguments for the run of hook. This is a runtime only option.\n\n @yield\n The code block which should be run. This is a configure time only option", "Broadcast an event\n\n @param [Object] event\n An object of registered event class. This object is passed to the event\n handler.", "The path to the directory which contains fixtures\n You might want to overwrite this method to place your data else where.\n\n @return [ArubaPath]\n The directory to where your fixtures are stored", "Create files etc.", "Create store\n Add new hook\n\n @param [String, Symbol] label\n The name of the hook\n\n @param [Proc] block\n The block which should be run for the hook", "Find all files for which the block yields.", "Find unique keys in redis\n\n @param [String] pattern a pattern to scan for in redis\n @param [Integer] count the maximum number of keys to delete\n @return [Array] an array with active unique keys", "Find unique keys with ttl\n @param [String] pattern a pattern to scan for in redis\n @param [Integer] count the maximum number of keys to delete\n @return [Hash] a hash with active unique keys and corresponding ttl", "Deletes unique keys from redis\n\n @param [String] pattern a pattern to scan for in redis\n @param [Integer] count the maximum number of keys to delete\n @return [Integer] the number of keys deleted", "Unlocks a job.\n @param [Hash] item a Sidekiq job hash", "Deletes a lock regardless of if it was locked or not.\n\n This is good for situations when a job is locked by another item\n @param [Hash] item a Sidekiq job hash", "Call a lua script with the provided file_name\n\n @note this method is recursive if we need to load a lua script\n that wasn't previously loaded.\n\n @param [Symbol] file_name the name of the lua script\n @param [Sidekiq::RedisConnection, ConnectionPool] redis_pool the redis connection\n @param [Hash] options arguments to pass to the script file\n @option options [Array] :keys the array of keys to pass to the script\n @option options [Array] :argv the array of arguments to pass to the script\n\n @return value from script", "Execute the script file\n\n @param [Symbol] file_name the name of the lua script\n @param [Sidekiq::RedisConnection, ConnectionPool] redis_pool the redis connection\n @param [Hash] options arguments to pass to the script file\n @option options [Array] :keys the array of keys to pass to the script\n @option options [Array] :argv the array of arguments to pass to the script\n\n @return value from script (evalsha)", "Return sha of already loaded lua script or load it and return the sha\n\n @param [Sidekiq::RedisConnection] conn the redis connection\n @param [Symbol] file_name the name of the lua script\n @return [String] sha of the script file\n\n @return [String] the sha of the script", "Handle errors to allow retrying errors that need retrying\n\n @param [Redis::CommandError] ex exception to handle\n @param [Symbol] file_name the name of the lua script\n\n @return [void]\n\n @yieldreturn [void] yields back to the caller when NOSCRIPT is raised", "Deletes the lock regardless of if it has a ttl set", "Create a lock for the item\n\n @param [Integer] timeout the number of seconds to wait for a lock.\n\n @return [String] the Sidekiq job_id (jid)", "Removes the lock keys from Redis\n\n @param [String] token the token to unlock (defaults to jid)\n\n @return [false] unless locked?\n @return [String] Sidekiq job_id (jid) if successful", "Creates a connection to redis\n @return [Sidekiq::RedisConnection, ConnectionPool] a connection to redis", "Return unique digests matching pattern\n\n @param [String] pattern a pattern to match with\n @param [Integer] count the maximum number to match\n @return [Array] with unique digests", "Paginate unique digests\n\n @param [String] pattern a pattern to match with\n @param [Integer] cursor the maximum number to match\n @param [Integer] page_size the current cursor position\n\n @return [Array] with unique digests", "Deletes unique digest either by a digest or pattern\n\n @param [String] digest the full digest to delete\n @param [String] pattern a key pattern to match with\n @param [Integer] count the maximum number\n @raise [ArgumentError] when both pattern and digest are nil\n @return [Array] with unique digests", "Deletes unique digests by pattern\n\n @param [String] pattern a key pattern to match with\n @param [Integer] count the maximum number\n @return [Array] with unique digests", "Get a total count of unique digests\n\n @param [String] digest a key pattern to match with", "Attempt to constantize a string worker_class argument, always\n failing back to the original argument when the constant can't be found\n\n @return [Sidekiq::Worker]", "Adds a lock type to the configuration. It will raise if the lock exists already\n\n @param [String] name the name of the lock\n @param [Class] klass the class describing the lock", "Adds an on_conflict strategy to the configuration.\n It will raise if the strategy exists already\n\n @param [String] name the name of the custom strategy\n @param [Class] klass the class describing the strategy", "Filter a hash to use for digest\n @return [Hash] to use for digest", "Filters unique arguments by proc or symbol\n @param [Array] args the arguments passed to the sidekiq worker\n @return [Array] {#filter_by_proc} when {#unique_args_method} is a Proc\n @return [Array] {#filter_by_symbol} when {#unique_args_method} is a Symbol\n @return [Array] args unfiltered when neither of the above", "Filters unique arguments by method configured in the sidekiq worker\n @param [Array] args the arguments passed to the sidekiq worker\n @return [Array] unfiltered unless {#worker_method_defined?}\n @return [Array] with the filtered arguments", "used to capture only the \"RequestLimitExceeded\" error from an aws\n client api call. In the case of matching it we want to try again,\n backing off successively each time, until the backoff_limit is reached or\n exceeded, in which case, the error will be re-raised and it should fail\n as expected.", "Return diff from the initial state to specified time or version.\n Optional `data` paramater can be used as initial diff state.", "Return diff object representing changes since specified time or version.\n\n @example\n\n diff_from(time: 2.days.ago)\n #=> { \"id\" => 1, \"changes\" => { \"title\" => { \"old\" => \"Hello!\", \"new\" => \"World\" } } }\n rubocop:disable Metrics/AbcSize", "Return true iff time corresponds to current version", "Return a dirty copy of specified version of record", "Return diff object representing changes since specified time.\n\n @example\n\n post.diff_from(time: 2.days.ago) # or post.diff_from(version: 2)\n #=> { \"id\" => 1, \"changes\" => { \"title\" => { \"old\" => \"Hello!\", \"new\" => \"World\" } } }", "Restore record to the previous version.\n Return false if no previous version found, otherwise return updated record.", "Restore record to the specified version.\n Return false if version is unknown.", "Find all elements of a given type, returning their options hash. The\n options hash has most of the useful data about an element and often you\n can just use this in your rules.\n\n # Returns [ { :location => 1, :element_level => 2 }, ... ]\n elements = find_type(:li)\n\n If +nested+ is set to false, this returns only top level elements of a\n given type.", "Find all elements of a given type, returning a list of the element\n objects themselves.\n\n Instead of a single type, a list of types can be provided instead to\n find all types.\n\n If +nested+ is set to false, this returns only top level elements of a\n given type.", "A variation on find_type_elements that allows you to skip drilling down\n into children of specific element types.\n\n Instead of a single type, a list of types can be provided instead to\n find all types.\n\n Unlike find_type_elements, this method will always search for nested\n elements, and skip the element types given to nested_except.", "Returns the line number a given element is located on in the source\n file. You can pass in either an element object or an options hash here.", "Returns line numbers for lines that match the given regular expression", "Extracts the text from an element whose children consist of text\n elements and other things", "Adds a 'level' option to all elements to show how nested they are", "Guess a specific time within the given span.\n\n span - The Chronic::Span object to calcuate a guess from.\n\n Returns a new Time object.", "returns a hash of each word's Definitions", "Handle ordinal this month", "anchors\n Handle repeaters", "narrows\n Handle oridinal repeaters", "Recursively finds repeaters within other repeaters.\n Returns a Span representing the innermost time span\n or nil if no repeater union could be found", "pattern - An Array of patterns to match tokens against.\n handler_method - A Symbol representing the method to be invoked\n when a pattern matches.\n tokens - An Array of tokens to process.\n definitions - A Hash of definitions to check against.\n\n Returns true if a match is found.", "Create a new repository for the authenticated user.\n\n @param [Hash] params\n @option params [String] :name\n Required string\n @option params [String] :description\n Optional string\n @option params [String] :homepage\n Optional string\n @option params [Boolean] :private\n Optional boolean - true to create a private repository,\n false to create a public one.\n @option params [Boolean] :has_issues\n Optional boolean - true to enable issues for this repository,\n false to disable them\n @option params [Boolean] :has_wiki\n Optional boolean - true to enable the wiki for this repository,\n false to disable it. Default is true\n @option params [Boolean] :has_downloads\n Optional boolean - true to enable downloads for this repository\n @option params [String] :org\n Optional string - The organisation in which this\n repository will be created\n @option params [Numeric] :team_id\n Optional number - The id of the team that will be granted\n access to this repository. This is only valid when creating\n a repo in an organization\n @option params [Boolean] :auto_init\n Optional boolean - true to create an initial commit with\n empty README. Default is false.\n @option params [String] :gitignore_template\n Optional string - Desired language or platform .gitignore\n template to apply. Use the name of the template without\n the extension. For example, \u201cHaskell\u201d Ignored if\n auto_init parameter is not provided.\n\n @example\n github = Github.new\n github.repos.create \"name\": 'repo-name'\n \"description\": \"This is your first repo\",\n \"homepage\": \"https://github.com\",\n \"private\": false,\n \"has_issues\": true,\n \"has_wiki\": true,\n \"has_downloads\": true\n\n Create a new repository in this organisation. The authenticated user\n must be a member of this organisation\n\n @example\n github = Github.new oauth_token: '...'\n github.repos.create name: 'repo-name', org: 'organisation-name'\n\n @example", "Get a single unauthenticated user\n\n @example\n github = Github.new\n github.users.get user: 'user-name'\n\n Get the authenticated user\n\n @example\n github = Github.new oauth_token: '...'\n github.users.get\n\n @api public", "Create a pull request review\n\n @param [Hash] params\n @option params [String] :event\n Required string - The review action (event) to perform; can be one of\n APPROVE, REQUEST_CHANGES, or COMMENT. If left blank, the API returns\n HTTP 422 (Unrecognizable entity) and the review is left PENDING\n @option params [String] :body\n Optional string. The text of the review.\n @option params [Array] :comments\n Optional array of draft review comment objects. An array of comments\n part of the review.\n\n @example\n github = Github.new\n github.pull_requests.reviews.create 'user-name', 'repo-name', 'number',\n body: \"Nice change\",\n event: \"APPROVE\",\n comments: [\n {\n path: 'path/to/file/commented/on',\n position: 10,\n body: 'This looks good.'\n }\n ]\n\n @api public", "Update a pull request review\n\n @param [Hash] params\n @option params [String] :state\n Required string - The review action (event) to perform; can be one of\n APPROVE, REQUEST_CHANGES, or COMMENT. If left blank, the API returns\n HTTP 422 (Unrecognizable entity) and the review is left PENDING\n @optoin params [String] :body\n Optional string\n\n @example\n github = Github.new oauth_token: '...'\n github.pull_requests.reviews.update 'user-name', 'repo-name', 'number', 'review-id'\n body: \"Update body\",\n event: \"APPROVE\"\n\n @api public", "Get all the items for a named timeline\n\n @see https://developer.github.com/v3/activity/feeds/#list-feeds\n\n @example\n github = Github.new\n github.activity.feeds.get \"timeline\"\n\n @param [String] name\n the name of the timeline resource\n\n @api public", "List project cards for a column\n\n @example\n github = Github.new\n github.projects.cards.list :column_id\n\n @see https://developer.github.com/v3/projects/cards/#list-project-cards\n\n @api public", "Create a project card for a column\n\n @param [Hash] params\n @option params [String] :note\n The card's note content. Only valid for cards without another type of\n content, so this must be omitted if content_id and content_type are\n specified.\n @option params [Integer] :content_id\n The id of the Issue to associate with this card.\n @option params [String] :content_type\n The type of content to associate with this card. Can only be \"Issue\" at\n this time.\n\n @example\n github = Github.new\n github.projects.cards.create :column_id, note: 'Card Note'\n\n @example\n github = Github.new\n github.projects.cards.create :column_id, content_id: , content_type: 'content-type'\n\n @see https://developer.github.com/v3/projects/cards/#create-a-project-card\n\n @api public", "Update a project card\n\n @param [Hash] params\n @option params [String] :note\n The card's note content. Only valid for cards without another type of\n content, so this cannot be specified if the card already has a\n content_id and content_type.\n\n @example\n github = Github.new\n github.projects.cards.update :card_id, note: 'New card note'\n\n @see https://developer.github.com/v3/projects/cards/#update-a-project-card\n\n @api public", "Delete a project card\n\n @example\n github = Github.new\n github.projects.cards.delete :card_id\n\n @see https://developer.github.com/v3/projects/cards/#delete-a-project-card\n\n @api public", "Move a project card\n\n @param [Hash] params\n @option params [String] :position\n Required. Required. Can be one of 'first', 'last', or\n 'after:', where is the id value of a column in\n the same project.\n\n @example\n github = Github.new\n github.projects.cards.move :card_id, position: 'bottom'\n\n @example\n github = Github.new\n github.projects.cards.move :card_id, position: 'after:', column_id: \n\n @see https://developer.github.com/v3/projects/cards/#move-a-project-card\n\n @api public", "List your issues\n\n List all issues across all the authenticated user\u2019s visible repositories\n including owned repositories, member repositories,\n and organization repositories.\n\n @example\n github = Github.new oauth_token: '...'\n github.issues.list\n\n List all issues across owned and member repositories for the\n authenticated user.\n\n @example\n github = Github.new oauth_token: '...'\n github.issues.list :user\n\n List all issues for a given organization for the authenticated user.\n\n @example\n github = Github.new oauth_token: '...'\n github.issues.list org: 'org-name'\n\n List issues for a repository\n\n @example\n github = Github.new\n github.issues.list user: 'user-name', repo: 'repo-name'\n\n @param [Hash] params\n @option params [String] :filter\n * assigned Issues assigned to you (default)\n * created Issues created by you\n * mentioned Issues mentioning you\n * subscribed Issues you've subscribed to updates for\n * all All issues the user can see\n @option params [String] :milestone\n * Integer Milestone number\n * none for Issues with no Milestone.\n * * for Issues with any Milestone\n @option params [String] :state\n open, closed, default: open\n @option params [String] :labels\n String list of comma separated Label names. Example: bug,ui,@high\n @option params [String] :assignee\n * String User login\n * none for Issues with no assigned User.\n * * for Issues with any assigned User.\n @option params [String] :creator\n String User login\n @option params [String] :mentioned\n String User login\n @option params [String] :sort\n created, updated, comments, default: created\n @option params [String] :direction\n asc, desc, default: desc\n @option params [String] :since\n Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ\n\n @example\n github = Github.new oauth_token: '...'\n github.issues.list since: '2011-04-12T12:12:12Z',\n filter: 'created',\n state: 'open',\n labels: \"bug,ui,bla\",\n sort: 'comments',\n direction: 'asc'\n\n @api public", "Upload a release asset\n\n @param [Hash] params\n @input params [String] :name\n Required string. The file name of the asset\n @input params [String] :content_type\n Required string. The content type of the asset.\n Example: \u201capplication/zip\u201d.\n\n @example\n github = Github.new\n github.repos.releases.assets.upload 'owner', 'repo', 'id', 'file-path'\n name: \"batman.jpg\",\n content_type: \"application/octet-stream\"\n\n @api public", "Infer media type of the asset", "Edit a release asset\n\n Users with push access to the repository can edit a release asset.\n\n @param [Hash] params\n @input params [String] :name\n Required. The file name of the asset.\n @input params [String] :label\n An alternate short description of the asset.\n Used in place of the filename.\n\n @example\n github = Github.new\n github.repos.releases.assets.edit 'owner', 'repo', 'id',\n name: \"foo-1.0.0-osx.zip\",\n label: \"Mac binary\"\n\n @api public", "Render an arbitrary Markdown document\n\n = Parameters\n :text - Required string - The Markdown text to render\n :mode - Optional string - The rendering mode\n * markdown to render a document as plain Markdown, just\n like README files are rendered.\n * gfm to render a document as user-content, e.g. like user\n comments or issues are rendered. In GFM mode, hard line breaks are\n always taken into account, and issue and user mentions are\n linked accordingly.\n :context - Optional string - The repository context, only taken\n into account when rendering as gfm\n\n = Examples\n github = Github.new\n github.markdown.render\n \"text\": \"Hello world github/linguist#1 **cool**, and #1!\",\n \"mode\": \"gfm\",\n \"context\": \"github/gollum\"", "Render a Markdown document in raw mode\n\n = Input\n The raw API it not JSON-based. It takes a Markdown document as plaintext\n text/plain or text/x-markdown and renders it as plain\n Markdown without a repository context (just like a README.md file is\n rendered \u2013 this is the simplest way to preview a readme online)\n\n = Examples\n github = Github.new\n github.markdown.render_raw \"Hello github/linguist#1 **cool**, and #1!\",\n \"accept\": \"text/plain\",", "Create a status\n\n @param [Hash] params\n @input params [String] :state\n Required. The state of the status. Can be one of pending,\n success, error, or failure.\n @input params [String] :target_url\n The target URL to associate with this status. This URL will\n be linked from the GitHub UI to allow users to easily see\n the \u2018source\u2019 of the Status.\n\n For example, if your Continuous Integration system is posting\n build status, you would want to provide the deep link for\n the build output for this specific SHA:\n http://ci.example.com/user/repo/build/sha.\n @input params [String] :description\n A short description of the status\n @input params [String] :context\n A string label to differentiate this status from the\n status of other systems. Default: \"default\"\n\n @example\n github = Github.new\n github.repos.statuses.create 'user-name', 'repo-name', 'sha',\n state: \"success\",\n target_url: \"http://ci.example.com/johndoe/my-repo/builds/sha\",\n description: \"Successful build #3 from origin/master\"\n\n @api public", "Check if you are starring a repository\n\n @see https://developer.github.com/v3/activity/starring/#check-if-you-are-starring-a-repository\n\n @example\n github = Github.new\n github.activity.starring.starring? 'user-name', 'repo-name'\n\n @example\n github.activity.starring.starring? user: 'user-name', repo: 'repo-name'\n\n @return [Boolean]\n Returns true if this repo is starred by you, false otherwise.\n\n @api public", "List all templates available to pass as an option\n when creating a repository.\n\n @see https://developer.github.com/v3/gitignore/#listing-available-templates\n\n @example\n github = Github.new\n github.gitignore.list\n github.gitignore.list { |template| ... }\n\n @api public", "Get a single template\n\n @see https://developer.github.com/v3/gitignore/#get-a-single-template\n\n @example\n github = Github.new\n github.gitignore.get \"template-name\"\n\n Use the raw media type to get the raw contents.\n\n @examples\n github = Github.new\n github.gitignore.get \"template-name\", accept: 'applicatin/vnd.github.raw'\n\n @api public", "Get a single label\n\n @example\n github = Github.new\n github.issues.labels.find 'user-name', 'repo-name', 'label-name'\n\n @example\n github = Github.new user: 'user-name', repo: 'repo-name'\n github.issues.labels.get label_name: 'bug'\n\n @api public", "Create a label\n\n @param [Hash] params\n @option params [String] :name\n Required string\n @option params [String] :color\n Required string - 6 character hex code, without leading \n\n @example\n github = Github.new user: 'user-name', repo: 'repo-name'\n github.issues.labels.create name: 'API', color: 'FFFFFF'\n\n @api public", "Update a label\n\n @param [Hash] params\n @option params [String] :name\n Required string\n @option params [String] :color\n Required string - 6 character hex code, without leading \n\n @example\n github = Github.new\n github.issues.labels.update 'user-name', 'repo-name', 'label-name',\n name: 'API', color: \"FFFFFF\"\n\n @api public", "Remove a label from an issue\n\n @example\n github = Github.new\n github.issues.labels.remove 'user-name', 'repo-name', 'issue-number',\n label_name: 'label-name'\n\n Remove all labels from an issue\n\n @example\n github = Github.new\n github.issues.labels.remove 'user-name', 'repo-name', 'issue-number'\n\n @api public", "Replace all labels for an issue\n\n Sending an empty array ([]) will remove all Labels from the Issue.\n\n @example\n github = Github.new\n github.issues.labels.replace 'user-name', 'repo-name', 'issue-number',\n 'label1', 'label2', ...\n\n @api public", "Extracts query string parameter for given name", "Check what OAuth scopes you have.\n\n @see https://developer.github.com/v3/oauth/#scopes\n\n @example\n github = Github.new oauth_token: 'e72e16c7e42f292c6912e7710c838347ae17'\n github.scopes.all\n\n @example\n github = Github.new\n github.scopes.list 'e72e16c7e42f292c6912e7710c838347ae17'\n\n @example\n github = Github.new\n github.scopes.list token: 'e72e16c7e42f292c6912e7710c838347ae17'\n\n @api public", "List all events that a user has received\n\n @see https://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received\n\n These are events that you\u2019ve received by watching repos\n and following users. If you are authenticated as the given user,\n you will see private events. Otherwise, you\u2019ll only see public events.\n\n @example\n github = Github.new\n github.activity.events.received 'user-name'\n github.activity.events.received 'user-name' { |event| ... }\n\n List all public events that a user has received\n\n @see https://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received\n\n @example\n github = Github.new\n github.activity.events.received 'user-name', public: true\n github.activity.events.received 'user-name', public: true { |event| ... }\n\n @api public", "Iterate over results set pages by automatically calling `next_page`\n until all pages are exhausted. Caution needs to be exercised when\n using this feature - 100 pages iteration will perform 100 API calls.\n By default this is off. You can set it on the client, individual API\n instances or just per given request.", "Get a project columns\n\n @example\n github = Github.new\n github.projects.columns.get :column_id\n\n @see https://developer.github.com/v3/projects/columns/#get-a-project-column\n\n @api public", "Get a tree\n\n @example\n github = Github.new\n github.git_data.trees.get 'user-name', 'repo-name', 'sha'\n github.git_data.trees.get 'user-name', 'repo-name', 'sha' do |file|\n file.path\n end\n\n Get a tree recursively\n\n @example\n github = Github.new\n github.git_data.trees.get 'user-name', 'repo-name', 'sha', recursive: true\n\n @api public", "Create a tree\n\n The tree creation API will take nested entries as well.\n If both a tree and a nested path modifying that tree are specified,\n it will overwrite the contents of that tree with the new path contents\n and write a new tree out.\n\n @param [Hash] params\n @input params [String] :base_tree\n The SHA1 of the tree you want to update with new data\n @input params [Array[Hash]] :tree\n Required. Objects (of path, mode, type, and sha)\n specifying a tree structure\n\n The tree parameter takes the following keys:\n @input tree [String] :path\n The file referenced in the tree\n @input tree [String] :mode\n The file mode; one of 100644 for file (blob), 100755 for\n executable (blob), 040000 for subdirectory (tree), 160000 for\n submodule (commit), or 120000 for a blob that specifies\n the path of a symlink\n @input tree [String] :type\n Either blob, tree, or commit\n @input tree [String] :sha\n The SHA1 checksum ID of the object in the tree\n @input tree [String] :content\n The content you want this file to have - GitHub will write\n this blob out and use the SHA for this entry.\n Use either this or tree.sha\n\n @example\n github = Github.new\n github.git_data.trees.create 'user-name', 'repo-name',\n tree: [\n {\n path: \"file.rb\",\n mode: \"100644\",\n type: \"blob\",\n sha: \"44b4fc6d56897b048c772eb4087f854f46256132\"\n },\n ...\n ]\n\n @api public", "Create a commit\n\n @param [Hash] params\n @input params [String] :message\n The commit message\n @input params [String] :tree\n String of the SHA of the tree object this commit points to\n @input params [Array[String]] :parents\n Array of the SHAs of the commits that were the parents of this commit.\n If omitted or empty, the commit will be written as a root commit.\n For a single parent, an array of one SHA should be provided,\n for a merge commit, an array of more than one should be provided.\n\n Optional Parameters\n\n You can provide an additional commiter parameter, which is a hash\n containing information about the committer. Or, you can provide an author\n parameter, which is a hash containing information about the author.\n\n The committer section is optional and will be filled with the author\n data if omitted. If the author section is omitted, it will be filled\n in with the authenticated users information and the current date.\n\n Both the author and commiter parameters have the same keys:\n\n @input params [String] :name\n String of the name of the author (or commiter) of the commit\n @input params [String] :email\n String of the email of the author (or commiter) of the commit\n @input params [Timestamp] :date\n Indicates when this commit was authored (or committed).\n This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.\n\n @example\n github = Github.new\n github.git_data.commits.create 'user-name', 'repo-name',\n message: \"my commit message\",\n author: {\n name: \"Scott Chacon\",\n email: \"schacon@gmail.com\",\n date: \"2008-07-09T16:13:30+12:00\"\n },\n parents: [\n \"7d1b31e74ee336d15cbd21741bc88a537ed063a0\"\n ],\n tree: \"827efc6d56897b048c772eb4087f854f46256132\"]\n\n @api public", "Remove a assignees from an issue\n\n @example\n github = Github.new\n github.issues.assignees.remove 'user', 'repo', 'issue-number',\n 'hubot', 'other_assignee'\n\n @api public", "Filter callbacks based on kind\n\n @param [Symbol] kind\n one of :before or :after\n\n @return [Array[Hash]]\n\n @api private", "Run all callbacks associated with this action\n\n @apram [Symbol] action_name\n\n @api private", "Set a configuration option for a given namespace\n\n @param [String] option\n @param [Object] value\n @param [Boolean] ignore_setter\n\n @return [self]\n\n @api public", "Set multiple options\n\n @api private", "Define setters and getters\n\n @api private", "Dynamically define a method for setting request option\n\n @api private", "Create a tag object\n\n Note that creating a tag object does not create the reference that\n makes a tag in Git. If you want to create an annotated tag in Git,\n you have to do this call to create the tag object, and then create\n the refs/tags/[tag] reference. If you want to create a lightweight\n tag, you simply have to create the reference -\n this call would be unnecessary.\n\n @param [Hash] params\n @input params [String] :tag\n The tag\n @input params [String] :message\n The tag message\n @input params [String] :object\n The SHA of the git object this is tagging\n @input params [String] :type\n The type of the object we're tagging.\n Normally this is a commit but it can also be a tree or a blob\n @input params [Hash] :tagger\n A hash with information about the individual creating the tag.\n\n The tagger hash contains the following keys:\n @input tagger [String] :name\n The name of the author of the tag\n @input tagger [String] :email\n The email of the author of the tag\n @input tagger [String] :date\n When this object was tagged. This is a timestamp in ISO 8601\n format: YYYY-MM-DDTHH:MM:SSZ.\n\n @xample\n github = Github.new\n github.git_data.tags.create 'user-name', 'repo-name',\n tag: \"v0.0.1\",\n message: \"initial version\\n\",\n type: \"commit\",\n object: \"c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c\",\n tagger: {\n name: \"Scott Chacon\",\n email: \"schacon@gmail.com\",\n date: \"2011-06-17T14:53:3\"\n }\n\n @api public", "List a user's followers\n\n @example\n github = Github.new\n github.users.followers.list 'user-name'\n github.users.followers.list 'user-name' { |user| ... }\n\n List the authenticated user's followers\n\n @example\n github = Github.new oauth_token: '...'\n github.users.followers\n github.users.followers { |user| ... }\n\n @api public", "Check if you are following a user\n\n @example\n github = Github.new oauth_token: '...'\n github.users.followers.following? 'user-name'\n github.users.followers.following? username: 'user-name'\n\n Check if one user follows another\n\n @example\n github = Github.new oauth_token: '...'\n github.users.followers.following? username: 'user-name',\n target_user: 'target-user-name'\n\n @api public", "List repos being watched by a user\n\n @see https://developer.github.com/v3/activity/watching/#list-repositories-being-watched\n\n @example\n github = Github.new\n github.activity.watching.watched user: 'user-name'\n\n List repos being watched by the authenticated user\n\n @example\n github = Github.new oauth_token: '...'\n github.activity.watching.watched\n\n @api public", "Check if user is, publicly or privately, a member of an organization\n\n @example\n github = Github.new\n github.orgs.members.member? 'org-name', 'member-name'\n\n Check if a user is a public member of an organization\n\n @example\n github = Github.new\n github.orgs.members.member? 'org-name', 'member-name', public: true\n\n @api public", "Edit a branch protection\n\n Users with push access to the repository can edit a branch protection.\n\n @param [Hash] params\n @input params [String] :required_status_checks\n Required.\n @input params [String] :enforce_admins\n Required.\n @input params [String] :restrictions\n Required.\n @input params [String] :required_pull_request_reviews\n Required.\n Look to the branch protection API to see how to use these\n https://developer.github.com/v3/repos/branches/#update-branch-protection\n\n @example\n github = Github.new\n github.repos.branches.protections.edit 'user', 'repo', 'branch',\n required_pull_request_reviews: {dismiss_stale_reviews: false}\n\n @api public", "Removes any keys from nested hashes that don't match predefiend keys", "Check if a repository belongs to a team\n\n @see https://developer.github.com/v3/orgs/teams/#get-team-repo\n\n @example\n github = Github.new oauth_token: '...'\n github.orgs.teams.team_repo? 'team-id', 'user-name', 'repo-name'\n\n @api public", "Check if status code requires raising a ServiceError\n\n @api private", "Create a deployment\n\n @param [Hash] params\n @option params [String] :ref\n Required string. The ref to deploy. This can be a branch, tag, or sha.\n @option params [Boolean] :auto_merge\n Optional boolean. Merge the default branch into the requested.\n @option params [Array] :required_contexts\n Optional array of status contexts verified against commit status checks.\n If this parameter is omitted from the parameters then all unique\n contexts will be verified before a deployment is created. To bypass\n checking entirely pass an empty array. Defaults to all unique contexts.\n @option params [String] :payload\n Optional JSON payload with extra information about the deployment.\n Default: \"\"\n @option params [String] :payload\n Optional String. Name for the target deployment environment (e.g.,\n production, staging, qa). Default: \"production\"\n @option params [String] :description\n Optional string. Optional short description.\n\n @example\n github = Github.new\n github.repos.deployments.create 'user-name', 'repo-name', ref: '...'\n github.repos.deployments.create\n 'user-name',\n 'repo-name',\n ref: '...',\n description: 'New deploy',\n force: true\n\n @api public", "List the statuses of a deployment.\n\n @param [Hash] params\n @option params [String] :id\n Required string. Id of the deployment being queried.\n\n @example\n github = Github.new\n github.repos.deployments.statuses 'user-name', 'repo-name', DEPLOYMENT_ID\n github.repos.deployments.statuses 'user-name', 'repo-name', DEPLOYMENT_ID { |status| ... }\n\n @api public", "Create a deployment status\n\n @param [Hash] params\n @option params [String] :id\n Required string. Id of the deployment being referenced.\n @option params [String] :state\n Required string. State of the deployment. Can be one of:\n pending, success, error, or failure.\n @option params [String] :target_url\n Optional string. The URL associated with the status.\n @option params [String] :description\n Optional string. A short description of the status.\n\n @example\n github = Github.new\n github.repos.deployments.create_status 'user-name', 'repo-name', DEPLOYMENT_ID, state: '...'\n\n @api public", "Configuration options from request\n\n @return [Hash]\n\n @api public", "Update hash with default parameters for non existing keys", "Base64 encode string removing newline characters\n\n @api public", "Creates a commit comment\n\n @param [Hash] params\n @option params [String] :body\n Required. The contents of the comment.\n @option params [String] :path\n Required. Relative path of the file to comment on.\n @option params [Number] :position\n Required number - Line index in the diff to comment on.\n @option params [Number] :line\n Required number - Line number in the file to comment on.\n\n @example\n github = Github.new\n github.repos.comments.create 'user-name', 'repo-name', 'sha-key',\n body: \"Nice change\",\n position: 4,\n line: 1,\n path: \"file1.txt\"\n\n @api public", "Update a commit comment\n\n @param [Hash] params\n @option params [String] :body\n Required. The contents of the comment.\n\n @example\n github = Github.new\n github.repos.comments.update 'user-name', 'repo-name', 'id',\n body: \"Nice change\"\n\n @api public", "Create a file\n\n This method creates a new file in a repository\n\n @param [Hash] params\n @option params [String] :path\n Required string. The content path\n @option params [String]\n @option params [String] :message\n Required string. The commit message.\n @option params [String] :content\n Required string. The new file content, which will be Base64 encoded\n @option params [String] :branch\n The branch name. If not provided, uses the repository\u2019s\n default branch (usually master)\n\n Optional Parameters\n\n The :author section is optional and is filled in with the\n :committer information if omitted. If the :committer\n information is omitted, the authenticated user\u2019s information is used.\n\n You must provide values for both :name and :email, whether\n you choose to use :author or :committer. Otherwise, you\u2019ll\n receive a 500 status code.\n\n Both the author and commiter parameters have the same keys:\n\n @option params [String] :name\n The name of the author (or commiter) of the commit\n @option params [String] :email\n The email of the author (or commiter) of the commit\n\n @example\n github = Github.new\n github.repos.contents.create 'user-name', 'repo-name', 'path',\n path: 'hello.rb',\n content: \"puts 'hello ruby'\",\n message: \"my commit message\"\n\n @api public", "Delete a file\n\n This method deletes a file in a repository\n\n @param [Hash] params\n @option params [String] :path\n Requried string. The content path\n @option params [String]\n @option params [String] :message\n Requried string. The commit message.\n @option params [String] :sha\n Required string. The blob SHA of the file being replaced.\n @option params [String] :branch\n The branch name. If not provided, uses the repository\u2019s\n default branch (usually master)\n\n Optional Parameters\n\n The :author section is optional and is filled in with the\n :committer information if omitted. If the :committer\n information is omitted, the authenticated user\u2019s information is used.\n\n You must provide values for both :name and :email, whether\n you choose to use :author or :committer. Otherwise, you\u2019ll\n receive a 500 status code.\n\n Both the author and commiter parameters have the same keys:\n\n @option params [String] :name\n The name of the author (or commiter) of the commit\n @option params [String] :email\n The email of the author (or commiter) of the commit\n\n @example\n github = Github.new\n github.repos.contents.delete 'user-name', 'repo-name', 'path',\n path: 'hello.rb',\n message: \"delete hello.rb file\",\n sha: \"329688480d39049927147c162b9d2deaf885005f\"", "Get archive link\n\n This method will return a 302 to a URL to download a tarball or zipball\n archive for a repository. Please make sure your HTTP framework is configured\n to follow redirects or you will need to use the Location header to make\n a second GET request.\n\n @note\n For private repositories, these links are temporary and expire quickly.\n\n @param [Hash] params\n @input params [String] :archive_format\n Required string. Either tarball or zipball. Default: tarball\n @input params [String] :ref\n Optional string. A valid Git reference.\n Default: the repository\u2019s default branch (usually master)\n\n @example\n github = Github.new\n github.repos.contents.archive 'user-name', 'repo-name',\n archive_format: \"tarball\",\n ref: \"master\"\n\n @api public", "Turns any keys from nested hashes including nested arrays into strings", "Get-or-create an authorization for a specific app\n\n @see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app\n\n @param [Hash] params\n @option params [String] client_secret\n The 40 character OAuth app client secret associated with the client\n ID specified in the URL.\n @option params [Array] :scopes\n Optional array - A list of scopes that this authorization is in.\n @option params [String] :note\n Optional string - A note to remind you what the OAuth token is for.\n @option params [String] :note_url\n Optional string - A URL to remind you what the OAuth token is for.\n\n @example\n github = Github.new\n github.oauth.app.create 'client-id', client_secret: '...'\n\n @api public", "Check if an access token is a valid authorization for an application\n\n @example\n github = Github.new basic_auth: \"client_id:client_secret\"\n github.oauth.app.check 'client_id', 'access-token'\n\n @api public", "Revoke all authorizations for an application\n\n @example\n github = Github.new basic_auth: \"client_id:client_secret\"\n github.oauth.app.delete 'client-id'\n\n Revoke an authorization for an application\n\n @example\n github = Github.new basic_auth: \"client_id:client_secret\"\n github.oauth.app.delete 'client-id', 'access-token'\n\n @api public", "Edit a project\n\n @param [Hash] params\n @option params [String] :name\n Optional string\n @option params [String] :body\n Optional string\n @option params [String] :state\n Optional string\n\n @example\n github = Github.new\n github.projects.edit 1002604,\n name: \"Outcomes Tracker\",\n body: \"The board to track work for the Outcomes application.\"\n\n @api public", "List a user's gists\n\n @see https://developer.github.com/v3/gists/#list-a-users-gists\n\n @example\n github = Github.new\n github.gists.list user: 'user-name'\n\n List the authenticated user\u2019s gists or if called anonymously,\n this will returns all public gists\n\n @example\n github = Github.new oauth_token: '...'\n github.gists.list\n\n List all public gists\n\n @see https://developer.github.com/v3/gists/#list-all-public-gists\n\n github = Github.new\n github.gists.list :public\n\n @return [Hash]\n\n @api public", "Get a single gist\n\n @see https://developer.github.com/v3/gists/#get-a-single-gist\n\n @example\n github = Github.new\n github.gists.get 'gist-id'\n\n Get a specific revision of gist\n\n @see https://developer.github.com/v3/gists/#get-a-specific-revision-of-a-gist\n\n @example\n github = Github.new\n github.gists.get 'gist-id', sha: '\n\n @return [Hash]\n\n @api public", "Setup OAuth2 instance", "Create a new project for the specified repo\n\n @param [Hash] params\n @option params [String] :name\n Required string - The name of the project.\n @option params [String] :body\n Optional string - The body of the project.\n\n @example\n github = Github.new\n github.repos.create 'owner-name', 'repo-name', name: 'project-name'\n github.repos.create name: 'project-name', body: 'project-body', owner: 'owner-name', repo: 'repo-name'", "Create a new Request\n\n @return [Github::Request]\n\n @api public\n Performs a request\n\n @param [Symbol] method - The Symbol the HTTP verb\n @param [String] path - String relative URL to access\n @param [ParamsHash] params - ParamsHash to configure the request API\n\n @return [Github::ResponseWrapper]\n\n @api private", "Get a single authorization\n\n @see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization\n\n @example\n github = Github.new basic_auth: 'login:password'\n github.oauth.get 'authorization-id'\n\n @return [ResponseWrapper]\n\n @api public", "Create a new authorization\n\n @see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization\n\n @param [Hash] params\n @option params [Array[String]] :scopes\n A list of scopes that this authorization is in.\n @option params [String] :note\n Required. A note to remind you what the OAuth token is for.\n @option params [String] :note_url\n A URL to remind you what the OAuth token is for.\n @option params [String] :client_id\n The 20 character OAuth app client key for which to create the token.\n @option params [String] :client_secret\n The 40 character OAuth app client secret for which to create the token.\n @option params [String] :fingerprint\n A unique string to distinguish an authorization from others\n created for the same client ID and user.\n\n @example\n github = Github.new basic_auth: 'login:password'\n github.oauth.create scopes: [\"public_repo\"], note: 'amdmin script'\n\n @api public", "Update an existing authorization\n\n @see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization\n\n @param [Hash] inputs\n @option inputs [Array] :scopes\n Optional array - A list of scopes that this authorization is in.\n @option inputs [Array] :add_scopes\n Optional array - A list of scopes to add to this authorization.\n @option inputs [Array] :remove_scopes\n Optional array - A list of scopes to remove from this authorization.\n @option inputs [String] :note\n Optional string - A note to remind you what the OAuth token is for.\n @optoin inputs [String] :note_url\n Optional string - A URL to remind you what the OAuth token is for.\n @option params [String] :fingerprint\n A unique string to distinguish an authorization from others\n created for the same client ID and user.\n\n @example\n github = Github.new basic_auth: 'login:password'\n github.oauth.update \"authorization-id\", add_scopes: [\"repo\"]\n\n @api public", "Delete an authorization\n\n @see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization\n\n @example\n github = Github.new\n github.oauth.delete 'authorization-id'\n\n @api public", "List your notifications\n\n List all notifications for the current user, grouped by repository.\n\n @see https://developer.github.com/v3/activity/notifications/#list-your-notifications\n\n @param [Hash] params\n @option params [Boolean] :all\n If true, show notifications marked as read.\n Default: false\n @option params [Boolean] :participating\n If true, only shows notifications in which the user\n is directly participating or mentioned. Default: false\n @option params [String] :since\n Filters out any notifications updated before the given time.\n This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.\n Default: Time.now\n\n @example\n github = Github.new oauth_token: 'token'\n github.activity.notifications.list\n\n List your notifications in a repository\n\n @see https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository\n\n @example\n github = Github.new\n github.activity.notifications.list user: 'user-name', repo: 'repo-name'\n\n @api public", "Mark as read\n\n Marking a notification as \u201cread\u201d removes it from the default view on GitHub.com.\n\n @see https://developer.github.com/v3/activity/notifications/#mark-as-read\n\n @param [Hash] params\n @option params [String] :last_read_at\n Describes the last point that notifications were checked.\n Anything updated since this time will not be updated.\n This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.\n Default: Time.now\n\n @example\n github = Github.new oauth_token: 'token'\n github.activity.notifications.mark\n\n Mark notifications as read in a repository\n\n @see https://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository\n\n @example\n github.activity.notifications.mark user: 'user-name', repo: 'repo-name'\n\n Mark a thread as read\n\n @see https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read\n\n @example\n github.activity.notifications.mark id: 'thread-id'\n\n @api public", "Perform http get request with pagination parameters", "Generate ASCII octocat with speech bubble.\n\n @example\n Github::Client::Say.new.say \"My custom string...\"\n\n @example\n github = Github.new\n github.octocat.say \"My custom string...\"", "Iterate over each resource inside the body", "Finds api methods in a class\n\n @param [Class] klass\n The klass to inspect for methods.\n\n @api private", "Create default connection options\n\n @return [Hash[Symbol]]\n the default options\n\n @api private", "Creates http connection\n\n Returns a Fraday::Connection object", "Update a public key for the authenticated user\n\n @param [Hash] params\n @option [String] :title\n Required string\n @option [String] :key\n Required string. sha key\n\n @example\n github = Github.new oauth_token: '...'\n github.users.keys.update 'key-id', \"title\": \"octocat@octomac\",\n \"key\": \"ssh-rsa AAA...\"\n\n @api public", "Parse media type param", "Create a hook\n\n @see https://developer.github.com/v3/orgs/hooks/#create-a-hook\n\n @param [Hash] params\n @input params [String] :name\n Required. The name of the service that is being called.\n @input params [Hash] :config\n Required. Key/value pairs to provide settings for this hook.\n These settings vary between the services and are defined in\n the github-services repository. Booleans are stored internally\n as \"1\" for true, and \"0\" for false. Any JSON true/false values\n will be converted automatically.\n @input params [Array] :events\n Determines what events the hook is triggered for. Default: [\"push\"]\n @input params [Boolean] :active\n Determines whether the hook is actually triggered on pushes.\n\n To create a webhook, the following fields are required by the config:\n\n @input config [String] :url\n A required string defining the URL to which the payloads\n will be delivered.\n @input config [String] :content_type\n An optional string defining the media type used to serialize\n the payloads. Supported values include json and form.\n The default is form.\n @input config [String] :secret\n An optional string that\u2019s passed with the HTTP requests as\n an X-Hub-Signature header. The value of this header is\n computed as the HMAC hex digest of the body,\n using the secret as the key.\n @input config [String] :insecure_ssl\n An optional string that determines whether the SSL certificate\n of the host for url will be verified when delivering payloads.\n Supported values include \"0\" (verification is performed) and\n \"1\" (verification is not performed). The default is \"0\".or instance, if the library doesn't get updated to permit a given parameter the api call won't work, however if we skip permission all together, the endpoint should always work provided the actual resource path doesn't change. I'm in the process of completely removing the permit functionality.\n\n @example\n github = Github.new\n github.orgs.hooks.create 'org-name',\n name: \"web\",\n active: true,\n config: {\n url: \"http://something.com/webhook\"\n }\n }\n\n @api public", "Create a milestone\n\n @param [Hash] params\n @option params [String] :title\n Required string. The title of the milestone\n @option params [String] :state\n The state of the milestone. Either open or closed. Default: open.\n @option params [String] :description\n A description of the milestone\n @option params [String] :due_on\n The milestone due date. This is a timestamp in ISO 8601 format:\n YYYY-MM-DDTHH:MM:SSZ.\n\n @example\n github = Github.new user: 'user-name', repo: 'repo-name'\n github.issues.milestones.create title: 'hello-world',\n state: \"open or closed\",\n description: \"String\",\n due_on: \"Time\"\n\n @api public", "Get a reference\n\n The ref in the URL must be formatted as heads/branch,\n not just branch. For example, the call to get the data for a\n branch named sc/featureA would be formatted as heads/sc/featureA\n\n @example\n github = Github.new\n github.git_data.references.get 'user-name', 'repo-name', 'heads/branch'\n\n @api public", "Create a reference\n\n @param [Hash] params\n @input params [String] :ref\n The name of the fully qualified reference (ie: refs/heads/master).\n If it doesn\u2019t start with \u2018refs\u2019 and have at least two slashes,\n it will be rejected.\n @input params [String] :sha\n The SHA1 value to set this reference to\n\n @example\n github = Github.new\n github.git_data.references.create 'user-name', 'repo-name',\n ref: \"refs/heads/master\",\n sha: \"827efc6d56897b048c772eb4087f854f46256132\"\n\n @api public", "Update a reference\n\n @param [Hash] params\n @input params [String] :sha\n The SHA1 value to set this reference to\n @input params [Boolean] :force\n Indicates whether to force the update or to make sure the update\n is a fast-forward update. Leaving this out or setting it to false\n will make sure you\u2019re not overwriting work. Default: false\n\n @example\n github = Github.new\n github.git_data.references.update 'user-name', 'repo-name', 'heads/master',\n sha: \"827efc6d56897b048c772eb4087f854f46256132\",\n force: true\n\n @api public", "Delete a reference\n\n @example\n github = Github.new\n github.git_data.references.delete 'user-name', 'repo-name',\n \"heads/master\"\n\n @api public", "Caches the available locales list as both strings and symbols in a Set, so\n that we can have faster lookups to do the available locales enforce check.", "Returns the current handler for situations when interpolation argument\n is missing. MissingInterpolationArgument will be raised by default.", "Translates, pluralizes and interpolates a given key using a given locale,\n scope, and default, as well as interpolation values.\n\n *LOOKUP*\n\n Translation data is organized as a nested hash using the upper-level keys\n as namespaces. E.g., ActionView ships with the translation:\n :date => {:formats => {:short => \"%b %d\"}}.\n\n Translations can be looked up at any level of this hash using the key argument\n and the scope option. E.g., in this example I18n.t :date\n returns the whole translations hash {:formats => {:short => \"%b %d\"}}.\n\n Key can be either a single key or a dot-separated key (both Strings and Symbols\n work). E.g., the short format can be looked up using both:\n I18n.t 'date.formats.short'\n I18n.t :'date.formats.short'\n\n Scope can be either a single key, a dot-separated key or an array of keys\n or dot-separated keys. Keys and scopes can be combined freely. So these\n examples will all look up the same short date format:\n I18n.t 'date.formats.short'\n I18n.t 'formats.short', :scope => 'date'\n I18n.t 'short', :scope => 'date.formats'\n I18n.t 'short', :scope => %w(date formats)\n\n *INTERPOLATION*\n\n Translations can contain interpolation variables which will be replaced by\n values passed to #translate as part of the options hash, with the keys matching\n the interpolation variable names.\n\n E.g., with a translation :foo => \"foo %{bar}\" the option\n value for the key +bar+ will be interpolated into the translation:\n I18n.t :foo, :bar => 'baz' # => 'foo baz'\n\n *PLURALIZATION*\n\n Translation data can contain pluralized translations. Pluralized translations\n are arrays of singluar/plural versions of translations like ['Foo', 'Foos'].\n\n Note that I18n::Backend::Simple only supports an algorithm for English\n pluralization rules. Other algorithms can be supported by custom backends.\n\n This returns the singular version of a pluralized translation:\n I18n.t :foo, :count => 1 # => 'Foo'\n\n These both return the plural version of a pluralized translation:\n I18n.t :foo, :count => 0 # => 'Foos'\n I18n.t :foo, :count => 2 # => 'Foos'\n\n The :count option can be used both for pluralization and interpolation.\n E.g., with the translation\n :foo => ['%{count} foo', '%{count} foos'], count will\n be interpolated to the pluralized translation:\n I18n.t :foo, :count => 1 # => '1 foo'\n\n *DEFAULTS*\n\n This returns the translation for :foo or default if no translation was found:\n I18n.t :foo, :default => 'default'\n\n This returns the translation for :foo or the translation for :bar if no\n translation for :foo was found:\n I18n.t :foo, :default => :bar\n\n Returns the translation for :foo or the translation for :bar\n or default if no translations for :foo and :bar were found.\n I18n.t :foo, :default => [:bar, 'default']\n\n *BULK LOOKUP*\n\n This returns an array with the translations for :foo and :bar.\n I18n.t [:foo, :bar]\n\n Can be used with dot-separated nested keys:\n I18n.t [:'baz.foo', :'baz.bar']\n\n Which is the same as using a scope option:\n I18n.t [:foo, :bar], :scope => :baz\n\n *LAMBDAS*\n\n Both translations and defaults can be given as Ruby lambdas. Lambdas will be\n called and passed the key and options.\n\n E.g. assuming the key :salutation resolves to:\n lambda { |key, options| options[:gender] == 'm' ? \"Mr. #{options[:name]}\" : \"Mrs. #{options[:name]}\" }\n\n Then I18n.t(:salutation, :gender => 'w', :name => 'Smith') will result in \"Mrs. Smith\".\n\n Note that the string returned by lambda will go through string interpolation too,\n so the following lambda would give the same result:\n lambda { |key, options| options[:gender] == 'm' ? \"Mr. %{name}\" : \"Mrs. %{name}\" }\n\n It is recommended to use/implement lambdas in an \"idempotent\" way. E.g. when\n a cache layer is put in front of I18n.translate it will generate a cache key\n from the argument values passed to #translate. Therefor your lambdas should\n always return the same translations/values per unique combination of argument\n values.", "Returns true if a translation exists for a given key, otherwise returns false.", "Localizes certain objects, such as dates and numbers to local formatting.", "Merges the given locale, key and scope into a single array of keys.\n Splits keys that contain dots into multiple keys. Makes sure all\n keys are Symbols.", "Raises an InvalidLocale exception when the passed locale is not available.", "Main plugin action, called by Jekyll-core", "Special case the \"posts\" collection, which, for ease of use and backwards\n compatability, can be configured via top-level keys or directly as a collection", "Return everything that matches the query.", "Retrieves an attribute set in the Mash. Will convert\n any key passed in to a string before retrieving.", "Sets an attribute in the Mash. Key will be converted to\n a string before it is set, and Hashes will be converted\n into Mashes for nesting purposes.", "This is the bang method reader, it will return a new Mash\n if there isn't a value already assigned to the key requested.", "This is the under bang method reader, it will return a temporary new Mash\n if there isn't a value already assigned to the key requested.", "Recursively merges this mash with the passed\n in hash, merging each hash in the hierarchy.", "called by after_update callback", "check if record is soft-deleted", "increments or decrements a counter cache\n\n options:\n :increment => true to increment, false to decrement\n :relation => which relation to increment the count on,\n :counter_cache_name => the column name of the counter cache\n :counter_column => overrides :counter_cache_name\n :delta_column => override the default count delta (1) with the value of this column in the counted record\n :was => whether to get the current value or the old value of the\n first part of the relation\n :with_papertrail => update the column via Papertrail touch_with_version method", "gets the value of the foreign key on the given relation\n\n relation: a symbol or array of symbols; specifies the relation\n that has the counter cache column\n was: whether to get the current or past value from ActiveRecord;\n pass true to get the past value, false or nothing to get the\n current value", "gets the reflect object on the given relation\n\n relation: a symbol or array of symbols; specifies the relation\n that has the counter cache column", "gets the class of the given relation\n\n relation: a symbol or array of symbols; specifies the relation\n that has the counter cache column\n source [optional]: the source object,\n only needed for polymorphic associations,\n probably only works with a single relation (symbol, or array of 1 symbol)\n was: boolean\n we're actually looking for the old value -- only can change for polymorphic relations", "gets the primary key name of the given relation\n\n relation: a symbol or array of symbols; specifies the relation\n that has the counter cache column\n source[optional]: the model instance that the relationship is linked from,\n only needed for polymorphic associations,\n probably only works with a single relation (symbol, or array of 1 symbol)\n was: boolean\n we're actually looking for the old value -- only can change for polymorphic relations", "Convert to Japanese era.\n @param [String] format_string\n Time#strftime format string can be used\n #### extra format string\n * %o - era(alphabet)\n * %O - era(kanzi)\n * %E - era year\n * %J - kanzi number\n @param [Hash] era_names\n If you want to convert custom to era strings (eg `\u5e73`, `h`), you can set this argument.\n key is `:meiji' or `:taisho' or `:showa` or `:heisei` or `:reiwa`.\n value is [\"alphabet era name\"(ex `h`, `s`)(related to `%o`), \"multibyte era name\"(eg `\u5e73`, `\u662d`)(related to `%O`)].\n this argument is same as one element of ERA_NAME_DEFAULTS.\n @return [String]", "Produce a thresholds array containing absolute values based on supplied\n percentages applied to a literal max value.", "Is the detected dependency currently open?", "Obtains the default credentials implementation to use in this\n environment.\n\n Use this to obtain the Application Default Credentials for accessing\n Google APIs. Application Default Credentials are described in detail\n at http://goo.gl/IUuyuX.\n\n If supplied, scope is used to create the credentials instance, when it can\n be applied. E.g, on google compute engine and for user credentials the\n scope is ignored.\n\n @param scope [string|array|nil] the scope(s) to access\n @param options [Hash] Connection options. These may be used to configure\n the `Faraday::Connection` used for outgoing HTTP requests. For\n example, if a connection proxy must be used in the current network,\n you may provide a connection with with the needed proxy options.\n The following keys are recognized:\n * `:default_connection` The connection object to use for token\n refresh requests.\n * `:connection_builder` A `Proc` that creates and returns a\n connection to use for token refresh requests.\n * `:connection` The connection to use to determine whether GCE\n metadata credentials are available.", "Returns an Array of directive structures. Each structure\n is an Array with the line number as the first element, the\n directive name as the second element, followed by any\n arguments.\n\n [[1, \"require\", \"foo\"], [2, \"require\", \"bar\"]]", "Set logger level with constant or symbol.\n\n t.log_level = Logger::INFO\n t.log_level = :debug", "Sub out environment logger with our rake task logger that\n writes to stderr.", "Registers a pipeline that will be called by `call_processor` method.", "Prepend a `path` to the `paths` list.\n\n Paths at the end of the `Array` have the least priority.", "Append a `path` to the `paths` list.\n\n Paths at the beginning of the `Array` have a higher priority.", "`depend_on` allows you to state a dependency on a file without\n including it.\n\n This is used for caching purposes. Any changes made to\n the dependency file will invalidate the cache of the\n source file.", "Returns a Base64-encoded data URI.", "Optimizes an SVG for being URI-escaped.\n\n This method only performs these basic but crucial optimizations:\n * Replaces \" with ', because ' does not need escaping.\n * Removes comments, meta, doctype, and newlines.\n * Collapses whitespace.", "Un-escapes characters in the given URI-escaped string that do not need\n escaping in \"-quoted data URIs.", "Compile asset to directory. The asset is written to a\n fingerprinted filename like\n `application-2e8e9a7c6b0aafa0c9bdeec90ea30213.js`. An entry is\n also inserted into the manifest file.\n\n compile(\"application.js\")", "Removes file from directory and from manifest. `filename` must\n be the name with any directory path.\n\n manifest.remove(\"application-2e8e9a7c6b0aafa0c9bdeec90ea30213.js\")", "Cleanup old assets in the compile directory. By default it will\n keep the latest version, 2 backups and any created within the past hour.\n\n Examples\n\n To force only 1 backup to be kept, set count=1 and age=0.\n\n To only keep files created within the last 10 minutes, set count=0 and\n age=600.", "Persist manfiest back to FS", "Given an asset, finds all exporters that\n match its mime-type.\n\n Will yield each expoter to the passed in block.\n\n array = []\n puts asset.content_type # => \"application/javascript\"\n exporters_for_asset(asset) do |exporter|\n array << exporter\n end\n # puts array => [Exporters::FileExporter, Exporters::ZlibExporter]", "`call` implements the Rack 1.x specification which accepts an\n `env` Hash and returns a three item tuple with the status code,\n headers, and body.\n\n Mapping your environment at a url prefix will serve all assets\n in the path.\n\n map \"/assets\" do\n run Sprockets::Environment.new\n end\n\n A request for `\"/assets/foo/bar.js\"` will search your\n environment for `\"foo/bar.js\"`.", "Returns a 200 OK response tuple", "Get a thumbnail job object given a geometry and whether to strip image profiles and comments.", "Intelligently works out dimensions for a thumbnail of this image based on the Dragonfly geometry string.", "Repositions the child page_parts that belong to this page.\n This ensures that they are in the correct 0,1,2,3,4... etc order.", "Returns the full path to this page.\n This automatically prints out this page title and all parent page titles.\n The result is joined by the path_separator argument.", "Generates the link to determine where the site bar switch button returns to.", "image_fu is a helper for inserting an image that has been uploaded into a template.\n Say for example that we had a @model.image (@model having a belongs_to :image relationship)\n and we wanted to display a thumbnail cropped to 200x200 then we can use image_fu like this:\n <%= image_fu @model.image, '200x200' %> or with no thumbnail: <%= image_fu @model.image %>", "Creates a decorator factory.\n\n @option options [Decorator, CollectionDecorator] :with (nil)\n decorator class to use. If nil, it is inferred from the object\n passed to {#decorate}.\n @option options [Hash, #call] context\n extra data to be stored in created decorators. If a proc is given, it\n will be called each time {#decorate} is called and its return value\n will be used as the context.\n Decorates an object, inferring whether to create a singular or collection\n decorator from the type of object passed.\n\n @param [Object] object\n object to decorate.\n @option options [Hash] context\n extra data to be stored in the decorator. Overrides any context passed\n to the constructor.\n @option options [Object, Array] context_args (nil)\n argument(s) to be passed to the context proc.\n @return [Decorator, CollectionDecorator] the decorated object.", "Proxies missing query methods to the source class if the strategy allows.", "Lets you specify the addon modules to use with FriendlyId.\n\n This method is invoked by {FriendlyId::Base#friendly_id friendly_id} when\n passing the `:use` option, or when using {FriendlyId::Base#friendly_id\n friendly_id} with a block.\n\n @example\n class Book < ActiveRecord::Base\n extend FriendlyId\n friendly_id :name, :use => :slugged\n end\n\n @param [#to_s,Module] modules Arguments should be Modules, or symbols or\n strings that correspond with the name of an addon to use with FriendlyId.\n By default FriendlyId provides `:slugged`, `:history`, `:simple_i18n`,\n and `:scoped`.", "Process the given value to make it suitable for use as a slug.\n\n This method is not intended to be invoked directly; FriendlyId uses it\n internally to process strings into slugs.\n\n However, if FriendlyId's default slug generation doesn't suit your needs,\n you can override this method in your model class to control exactly how\n slugs are generated.\n\n ### Example\n\n class Person < ActiveRecord::Base\n extend FriendlyId\n friendly_id :name_and_location\n\n def name_and_location\n \"#{name} from #{location}\"\n end\n\n # Use default slug, but upper case and with underscores\n def normalize_friendly_id(string)\n super.upcase.gsub(\"-\", \"_\")\n end\n end\n\n bob = Person.create! :name => \"Bob Smith\", :location => \"New York City\"\n bob.friendly_id #=> \"BOB_SMITH_FROM_NEW_YORK_CITY\"\n\n ### More Resources\n\n You might want to look into Babosa[https://github.com/norman/babosa],\n which is the slugging library used by FriendlyId prior to version 4, which\n offers some specialized functionality missing from Active Support.\n\n @param [#to_s] value The value used as the basis of the slug.\n @return The candidate slug text, without a sequence.", "Configure FriendlyId's behavior in a model.\n\n class Post < ActiveRecord::Base\n extend FriendlyId\n friendly_id :title, :use => :slugged\n end\n\n When given the optional block, this method will yield the class's instance\n of {FriendlyId::Configuration} to the block before evaluating other\n arguments, so configuration values set in the block may be overwritten by\n the arguments. This order was chosen to allow passing the same proc to\n multiple models, while being able to override the values it sets. Here is\n a contrived example:\n\n $friendly_id_config_proc = Proc.new do |config|\n config.base = :name\n config.use :slugged\n end\n\n class Foo < ActiveRecord::Base\n extend FriendlyId\n friendly_id &$friendly_id_config_proc\n end\n\n class Bar < ActiveRecord::Base\n extend FriendlyId\n friendly_id :title, &$friendly_id_config_proc\n end\n\n However, it's usually better to use {FriendlyId.defaults} for this:\n\n FriendlyId.defaults do |config|\n config.base = :name\n config.use :slugged\n end\n\n class Foo < ActiveRecord::Base\n extend FriendlyId\n end\n\n class Bar < ActiveRecord::Base\n extend FriendlyId\n friendly_id :title\n end\n\n In general you should use the block syntax either because of your personal\n aesthetic preference, or because you need to share some functionality\n between multiple models that can't be well encapsulated by\n {FriendlyId.defaults}.\n\n ### Order Method Calls in a Block vs Ordering Options\n\n When calling this method without a block, you may set the hash options in\n any order.\n\n However, when using block-style invocation, be sure to call\n FriendlyId::Configuration's {FriendlyId::Configuration#use use} method\n *prior* to the associated configuration options, because it will include\n modules into your class, and these modules in turn may add required\n configuration options to the `@friendly_id_configuraton`'s class:\n\n class Person < ActiveRecord::Base\n friendly_id do |config|\n # This will work\n config.use :slugged\n config.sequence_separator = \":\"\n end\n end\n\n class Person < ActiveRecord::Base\n friendly_id do |config|\n # This will fail\n config.sequence_separator = \":\"\n config.use :slugged\n end\n end\n\n ### Including Your Own Modules\n\n Because :use can accept a name or a Module, {FriendlyId.defaults defaults}\n can be a convenient place to set up behavior common to all classes using\n FriendlyId. You can include any module, or more conveniently, define one\n on-the-fly. For example, let's say you want to make\n [Babosa](http://github.com/norman/babosa) the default slugging library in\n place of Active Support, and transliterate all slugs from Russian Cyrillic\n to ASCII:\n\n require \"babosa\"\n\n FriendlyId.defaults do |config|\n config.base = :name\n config.use :slugged\n config.use Module.new {\n def normalize_friendly_id(text)\n text.to_slug.normalize! :transliterations => [:russian, :latin]\n end\n }\n end\n\n\n @option options [Symbol,Module] :use The addon or name of an addon to use.\n By default, FriendlyId provides {FriendlyId::Slugged :slugged},\n {FriendlyId::History :history}, {FriendlyId::Reserved :reserved}, and\n {FriendlyId::Scoped :scoped}, and {FriendlyId::SimpleI18n :simple_i18n}.\n\n @option options [Array] :reserved_words Available when using `:reserved`,\n which is loaded by default. Sets an array of words banned for use as\n the basis of a friendly_id. By default this includes \"edit\" and \"new\".\n\n @option options [Symbol] :scope Available when using `:scoped`.\n Sets the relation or column used to scope generated friendly ids. This\n option has no default value.\n\n @option options [Symbol] :sequence_separator Available when using `:slugged`.\n Configures the sequence of characters used to separate a slug from a\n sequence. Defaults to `-`.\n\n @option options [Symbol] :slug_column Available when using `:slugged`.\n Configures the name of the column where FriendlyId will store the slug.\n Defaults to `:slug`.\n\n @option options [Integer] :slug_limit Available when using `:slugged`.\n Configures the limit of the slug. This option has no default value.\n\n @option options [Symbol] :slug_generator_class Available when using `:slugged`.\n Sets the class used to generate unique slugs. You should not specify this\n unless you're doing some extensive hacking on FriendlyId. Defaults to\n {FriendlyId::SlugGenerator}.\n\n @yield Provides access to the model class's friendly_id_config, which\n allows an alternate configuration syntax, and conditional configuration\n logic.\n\n @option options [Symbol,Boolean] :dependent Available when using `:history`.\n Sets the value used for the slugged association's dependent option. Use\n `false` if you do not want to dependently destroy the associated slugged\n record. Defaults to `:destroy`.\n\n @option options [Symbol] :routes When set to anything other than :friendly,\n ensures that all routes generated by default do *not* use the slug. This\n allows `form_for` and `polymorphic_path` to continue to generate paths like\n `/team/1` instead of `/team/number-one`. You can still generate paths\n like the latter using: team_path(team.slug). When set to :friendly, or\n omitted, the default friendly_id behavior is maintained.\n\n @yieldparam config The model class's {FriendlyId::Configuration friendly_id_config}.", "Finds a record using the given id.\n\n If the id is \"unfriendly\", it will call the original find method.\n If the id is a numeric string like '123' it will first look for a friendly\n id matching '123' and then fall back to looking for a record with the\n numeric id '123'.\n\n Since FriendlyId 5.0, if the id is a nonnumeric string like '123-foo' it\n will *only* search by friendly id and not fall back to the regular find\n method.\n\n If you want to search only by the friendly id, use {#find_by_friendly_id}.\n @raise ActiveRecord::RecordNotFound", "To delete an account Intuit requires we provide Id and SyncToken fields", "Fabricated easy.\n\n @example Prepared easy.\n easy_factory.get\n\n @return [ Ethon::Easy ] The easy.", "Sets on_complete callback on easy in order to be able to\n track progress.\n\n @example Set callback.\n easy_factory.set_callback\n\n @return [ Ethon::Easy ] The easy.", "Creates a new request.\n\n @example Simplest request.\n response = Typhoeus::Request.new(\"www.example.com\").run\n\n @example Request with url parameters.\n response = Typhoeus::Request.new(\n \"www.example.com\",\n params: {a: 1}\n ).run\n\n @example Request with a body.\n response = Typhoeus::Request.new(\n \"www.example.com\",\n body: {b: 2}\n ).run\n\n @example Request with parameters and body.\n response = Typhoeus::Request.new(\n \"www.example.com\",\n params: {a: 1},\n body: {b: 2}\n ).run\n\n @example Create a request and allow follow redirections.\n response = Typhoeus::Request.new(\n \"www.example.com\",\n followlocation: true\n ).run\n\n @param [ String ] base_url The url to request.\n @param [ options ] options The options.\n\n @option options [ Hash ] :params Translated\n into url parameters.\n @option options [ Hash ] :body Translated\n into HTTP POST request body.\n\n @return [ Typhoeus::Request ] The request.\n\n @note See {http://rubydoc.info/github/typhoeus/ethon/Ethon/Easy/Options Ethon::Easy::Options} for more options.\n\n @see Typhoeus::Hydra\n @see Typhoeus::Response\n @see Typhoeus::Request::Actions\n Return the url.\n In contrast to base_url which returns the value you specified, url returns\n the full url including the parameters.\n\n @example Get the url.\n request.url\n\n @since 0.5.5", "Checks if two hashes are equal or not, discarding\n first-level hash order.\n\n @param [ Hash ] left\n @param [ Hash ] right hash to check for equality\n\n @return [ Boolean ] Returns true if hashes have\n same values for same keys and same length,\n even if the keys are given in a different order.", "Sets default header and verbose when turned on.", "Specify what should be returned,\n when this expectation is hit.\n\n @example Add response.\n expectation.and_return(response)\n\n @return [ void ]", "Return the response. When there are\n multiple responses, they are returned one\n by one.\n\n @example Return response.\n expectation.response\n\n @return [ Response ] The response.\n\n @api private", "Check whether the options matches the request options.\n I checks options and original options.", "Check whether the base_url matches the request url.\n The base_url can be a string, regex or nil. String and\n regexp are checked, nil is always true, else false.\n\n Nil serves as a placeholder in case you want to match\n all urls.", "sets collection to class.for_fae_index if not defined", "sets default prompt for pulldowns", "removes language suffix from label and adds data attr for languange nav", "set cloneable attributes and associations", "Changes the Logger's log level.", "Sessions are initialized with a Sunspot configuration and a Solr\n connection. Usually you will want to stick with the default arguments\n when instantiating your own sessions.\n\n\n See Sunspot.new_search", "See Sunspot.new_more_like_this", "See Sunspot.more_like_this", "See Sunspot.atomic_update", "See Sunspot.remove", "See Sunspot.remove_by_id", "See Sunspot.remove_all", "Retrieve the Solr connection for this session, creating one if it does not\n already exist.\n\n ==== Returns\n\n RSolr::Connection::Base:: The connection for this session", "DynamicField instances representing all the available types and variants", "Return an XML representation of this schema using the ERB template", "All of the possible combinations of variants", "Get a text field object by its public name. A field will be returned if\n it is configured for any of the enclosed types.\n\n ==== Returns\n\n Sunspot::FulltextField:: Text field with the given public name\n\n ==== Raises\n\n UnrecognizedFieldError::\n If no field with that name is configured for any of the enclosed types.", "Return a hash of field names to text field objects, containing all fields\n that are configured for any of the types enclosed.\n\n ==== Returns\n\n Hash:: Hash of field names to text field objects.", "Return a hash of field names to field objects, containing all fields\n that are common to all of the classes enclosed. In order for fields\n to be common, they must be of the same type and have the same\n value for allow_multiple? and stored?. This method is memoized.\n\n ==== Returns\n\n Hash:: field names keyed to field objects", "Add field_factories for fulltext search\n\n ==== Parameters\n\n field_factories:: Array of Sunspot::Field objects", "Add dynamic field_factories\n\n ==== Parameters\n\n field_factories:: Array of dynamic field objects", "Return all more_like_this fields", "Get all static, dynamic, and text field_factories associated with this setup as\n well as all inherited field_factories\n\n ==== Returns\n\n Array:: Collection of all text and scope field_factories associated with this setup", "Construct a representation of the given class instances for atomic properties update\n and send it to the connection for indexing\n\n ==== Parameters\n\n clazz:: the class of the models to be updated\n updates:: hash of updates where keys are model ids\n and values are hash with property name/values to be updated", "Remove the given model from the Solr index", "Remove the model from the Solr index by specifying the class and ID", "Convert documents into hash of indexed properties", "All indexed documents index and store the +id+ and +type+ fields.\n These methods construct the document hash containing those key-value\n pairs.", "parses provided phone if it is valid for country data and\n returns result of analyze\n\n ==== Attributes\n\n * +phone+ - Phone number for parsing\n * +passed_country+ - Country provided for parsing. Must be ISO code of\n country (2 letters) like 'US', 'us' or :us for United States", "method checks which result is better to return", "replacing national prefix to simplified format", "trying to parse phone for single country including international prefix\n check for provided country\n\n ==== Attributes\n\n * +phone+ - phone for parsing\n * +country+ - country to parse phone with", "method checks if phone is valid against single provided country data\n\n ==== Attributes\n\n * +e164+ - e164 representation of phone for parsing\n * +data+ - country data for single country for parsing", "method tries to detect what is the country for provided phone\n\n ==== Attributes\n\n * +phone+ - phone number for parsing", "Create phone representation in e164 format\n\n ==== Attributes\n\n * +phone+ - phone number for parsing\n * +data+ - country data to be based on for creating e164 representation", "returns national number and analyzing results for provided phone number\n\n ==== Attributes\n\n * +data+ - country data\n * +country_match+ - result of match of phone within full regex\n * +not_valid+ - specifies that number is not valid by general desc pattern", "Returns all valid and possible phone number types for currently parsed\n phone for provided data hash.\n\n ==== Attributes\n\n * +phone+ - phone number for parsing\n * +data+ - country data\n * +not_valid+ - specifies that number is not valid by general desc pattern", "Gets matched number formatting rule or default one\n\n ==== Attributes\n\n * +national+ - national phone number\n * +format_data+ - formatting data from country data", "Returns possible and valid patterns for validation for provided type\n\n ==== Attributes\n\n * +all_patterns+ - hash of all patterns for validation\n * +type+ - type of phone to get patterns for", "converts symbols in phone to numbers", "defines if to validate against single country or not", "returns country prefix for provided country or nil", "defines whether country can have double country prefix in number", "checks if country can have numbers with double country prefixes\n\n ==== Attributes\n\n * +data+ - country data used for parsing\n * +phone+ - phone number being parsed\n * +parsed+ - parsed regex match for phone", "Get country that was provided or default country in needable format\n\n ==== Attributes\n\n * +country+ - country passed for parsing", "Returns regex for type with special types if needed\n\n ==== Attributes\n\n * +data+ - country types data for single type\n * +type+ - possible or valid regex type needed", "Check if phone match country data\n\n ==== Attributes\n\n * +phone+ - phone number for parsing\n * +data+ - country data", "returns array of phone types for check for current country data\n\n ==== Attributes\n\n * +data+ - country data hash", "Checks if fixed line pattern and mobile pattern are the same and returns\n appropriate keys\n\n ==== Attributes\n\n * +data+ - country data", "Checks if passed number matches valid and possible patterns\n\n ==== Attributes\n\n * +number+ - phone number for validation\n * +p_regex+ - possible regex pattern for validation\n * +v_regex+ - valid regex pattern for validation\n * +not_valid+ - specifies that number is not valid by general desc pattern", "Checks number against regex and compares match length\n\n ==== Attributes\n\n * +number+ - phone number for validation\n * +regex+ - regex for perfoming a validation", "returns local number\n @return [String] local number", "Returns whether a current parsed phone number is valid for specified\n country\n @param country [String|Symbol] ISO code of country (2 letters) like 'US',\n 'us' or :us for United States\n @return [Boolean] parsed phone number is valid", "method saves parsed data to data files", "method saves extended data file", "method updates prefixes hash recursively", "method parses raw data file", "get main body from parsed xml document", "Returns formatted national number\n @param formatted [Boolean] whether to return numbers only or formatted\n @return [String] formatted national number", "Returns the raw national number that was defined during parsing\n @return [String] raw national number", "Returns e164 formatted phone number. Method can receive single string parameter that will be defined as prefix\n @param formatted [Boolean] whether to return numbers only or formatted\n @param prefix [String] prefix to be placed before the number, \"+\" by default\n @return [String] formatted international number", "returns area code of parsed number\n @return [String|nil] parsed phone area code if available", "Create a new scanner\n Tokenize +string+ returning the Ruby object", "Parse and return a Time from +string+", "Handles start_document events with +version+, +tag_directives+,\n and +implicit+ styling.\n\n See Psych::Handler#start_document", "Handles end_document events with +version+, +tag_directives+,\n and +implicit+ styling.\n\n See Psych::Handler#start_document", "deletes the field_key referencing the translation", "below for adding new locale to an existing translation", "ordering of results happens client-side with paloma search.js", "Setter- called by update_extras in properties controller\n expects a hash with keys like \"cl.casafactory.fieldLabels.extras.alarma\"\n each with a value of true or false", "will return nil if price is 0", "below is used by logo_photo and about_us_photo,\n where only one photo is allowed", "below used when uploading carousel images", "seed_content is ...", "set block contents\n on page_part model", "Will retrieve saved page_part blocks and use that along with template\n to rebuild page_content html", "when seeding I only need to ensure that a photo exists for the fragment\n so will return existing photo if it can be found", "spt 2017 - above 2 will be redundant once vic becomes default layout\n below used when rendering to decide which class names\n to use for which elements", "allow setting of styles to a preset config from admin UI", "Initialize a Prompt\n\n @param [Hash] options\n @option options [IO] :input\n the input stream\n @option options [IO] :output\n the output stream\n @option options [Hash] :env\n the environment variables\n @option options [String] :prefix\n the prompt prefix, by default empty\n @option options [Boolean] :enable_color\n enable color support, true by default\n @option options [String] :active_color\n the color used for selected option\n @option options [String] :help_color\n the color used for help text\n @option options [String] :error_color\n the color used for displaying error messages\n @option options [Symbol] :interrupt\n handling of Ctrl+C key out of :signal, :exit, :noop\n @option options [Boolean] :track_history\n disable line history tracking, true by default\n @option options [Hash] :symbols\n the symbols displayed in prompts such as :pointer, :cross\n\n @api public\n Invoke a question type of prompt\n\n @example\n prompt = TTY::Prompt.new\n prompt.invoke_question(Question, \"Your name? \")\n\n @return [String]\n\n @api public", "Invoke a list type of prompt\n\n @example\n prompt = TTY::Prompt.new\n editors = %w(emacs nano vim)\n prompt.invoke_select(EnumList, \"Select editor: \", editors)\n\n @return [String]\n\n @api public", "A shortcut method to ask the user positive question and return\n true for 'yes' reply, false for 'no'.\n\n @example\n prompt = TTY::Prompt.new\n prompt.yes?('Are you human?')\n # => Are you human? (Y/n)\n\n @return [Boolean]\n\n @api public", "Ask a question with a range slider\n\n @example\n prompt = TTY::Prompt.new\n prompt.slider('What size?', min: 32, max: 54, step: 2)\n\n @param [String] question\n the question to ask\n\n @return [String]\n\n @api public", "Print statement out. If the supplied message ends with a space or\n tab character, a new line will not be appended.\n\n @example\n say(\"Simple things.\", color: :red)\n\n @param [String] message\n\n @return [String]\n\n @api public", "Print debug information in terminal top right corner\n\n @example\n prompt.debug \"info1\", \"info2\"\n\n @param [Array] messages\n\n @retrun [nil]\n\n @api public", "Takes the string provided by the user and compare it with other possible\n matches to suggest an unambigous string\n\n @example\n prompt.suggest('sta', ['status', 'stage', 'commit', 'branch'])\n # => \"status, stage\"\n\n @param [String] message\n\n @param [Array] possibilities\n\n @param [Hash] options\n @option options [String] :indent\n The number of spaces for indentation\n @option options [String] :single_text\n The text for a single suggestion\n @option options [String] :plural_text\n The text for multiple suggestions\n\n @return [String]\n\n @api public", "Gathers more than one aswer\n\n @example\n prompt.collect do\n key(:name).ask('Name?')\n end\n\n @return [Hash]\n the collection of answers\n\n @api public", "Extract options hash from array argument\n\n @param [Array[Object]] args\n\n @api public", "Check if value is nil or an empty string\n\n @param [Object] value\n the value to check\n\n @return [Boolean]\n\n @api public", "This feels very naughty", "Decodes a json document in string s and\n returns the corresponding ruby value.\n String s must be valid UTF-8. If you have\n a string in some other encoding, convert\n it first.\n\n String values in the resulting structure\n will be UTF-8.", "Parses an \"object\" in the sense of RFC 4627.\n Returns the parsed value and any trailing tokens.", "Parses a \"member\" in the sense of RFC 4627.\n Returns the parsed values and any trailing tokens.", "Parses an \"array\" in the sense of RFC 4627.\n Returns the parsed value and any trailing tokens.", "Scans the first token in s and\n returns a 3-element list, or nil\n if s does not begin with a valid token.\n\n The first list element is one of\n '{', '}', ':', ',', '[', ']',\n :val, :str, and :space.\n\n The second element is the lexeme.\n\n The third element is the value of the\n token for :val and :str, otherwise\n it is the lexeme.", "Converts a quoted json string literal q into a UTF-8-encoded string.\n The rules are different than for Ruby, so we cannot use eval.\n Unquote will raise an error if q contains control characters.", "Encodes unicode character u as UTF-8\n bytes in string a at position i.\n Returns the number of bytes written.", "Returns the pid of the process running the command, or nil if the application process died.", "Ensures that a hash uses symbols as opposed to strings\n Useful for allowing either syntax for end users", "Helper for setting content_for in activity partial, needed to\n flush remains in between partial renders.", "Directly saves activity to database. Works the same as create_activity\n but throws validation error for each supported ORM.\n\n @see #create_activity", "Prepares and resolves custom fields\n users can pass to `tracked` method\n @private", "Helper method to serialize class name into relevant key\n @return [String] the resulted key\n @param [Symbol] or [String] the name of the operation to be done on class\n @param [Hash] options to be used on key generation, defaults to {}", "Virtual attribute returning text description of the activity\n using the activity's key to translate using i18n.", "Renders activity from views.\n\n @param [ActionView::Base] context\n @return [nil] nil\n\n Renders activity to the given ActionView context with included\n AV::Helpers::RenderingHelper (most commonly just ActionView::Base)\n\n The *preferred* *way* of rendering activities is\n to provide a template specifying how the rendering should be happening.\n However, one may choose using _I18n_ based approach when developing\n an application that supports plenty of languages.\n\n If partial view exists that matches the *key* attribute\n renders that partial with local variables set to contain both\n Activity and activity_parameters (hash with indifferent access)\n\n Otherwise, it outputs the I18n translation to the context\n @example Render a list of all activities from a view (erb)\n
    \n <% for activity in PublicActivity::Activity.all %>\n
  • <%= render_activity(activity) %>
  • \n <% end %>\n
\n\n = Layouts\n You can supply a layout that will be used for activity partials\n with :layout param.\n Keep in mind that layouts for partials are also partials.\n @example Supply a layout\n # in views:\n # All examples look for a layout in app/views/layouts/_activity.erb\n render_activity @activity, :layout => \"activity\"\n render_activity @activity, :layout => \"layouts/activity\"\n render_activity @activity, :layout => :activity\n\n # app/views/layouts/_activity.erb\n

<%= a.created_at %>

\n <%= yield %>\n\n == Custom Layout Location\n You can customize the layout directory by supplying :layout_root\n or by using an absolute path.\n\n @example Declare custom layout location\n\n # Both examples look for a layout in \"app/views/custom/_layout.erb\"\n\n render_activity @activity, :layout_root => \"custom\"\n render_activity @activity, :layout => \"/custom/layout\"\n\n = Creating a template\n To use templates for formatting how the activity should render,\n create a template based on activity key, for example:\n\n Given a key _activity.article.create_, create directory tree\n _app/views/public_activity/article/_ and create the _create_ partial there\n\n Note that if a key consists of more than three parts splitted by commas, your\n directory structure will have to be deeper, for example:\n activity.article.comments.destroy => app/views/public_activity/articles/comments/_destroy.html.erb\n\n == Custom Directory\n You can override the default `public_directory` template root with the :root parameter\n\n @example Custom template root\n # look for templates inside of /app/views/custom instead of /app/views/public_directory\n render_activity @activity, :root => \"custom\"\n\n == Variables in templates\n From within a template there are two variables at your disposal:\n * activity (aliased as *a* for a shortcut)\n * params (aliased as *p*) [converted into a HashWithIndifferentAccess]\n\n @example Template for key: _activity.article.create_ (erb)\n

\n Article <%= p[:name] %>\n was written by <%= p[\"author\"] %>\n <%= distance_of_time_in_words_to_now(a.created_at) %>\n

", "Builds the path to template based on activity key", "Given a hash and client, will create an Enumerator that will lazily\n request Salesforce for the next page of results.\n Yield each value on each page.", "Featured detect form encoding.\n URI in 1.8 does not include encode_www_form", "Test for multiple values of the same enum type", "background_fill defaults to 'none'. If background_fill has been set to something\n else, combine it with the background_fill_opacity.", "Sets an image to use as the canvas background. See background_position= for layout options.", "Primitives for the outermost RVG object", "Primitives for nested RVG objects", "Convert object to a geometry string", "Draw an arc.", "Draw a circle", "Define the clipping rule.", "Define the clip units", "Set color in image according to specified colorization rule. Rule is one of\n point, replace, floodfill, filltoborder,reset", "Draw an ellipse", "IM 6.5.5-8 and later", "Draw a line", "Specify drawing fill and stroke opacities. If the value is a string\n ending with a %, the number will be multiplied by 0.01.", "Define a pattern. In the block, call primitive methods to\n draw the pattern. Reference the pattern by using its name\n as the argument to the 'fill' or 'stroke' methods", "Draw a polygon", "Draw a rectangle", "Draw a rectangle with rounded corners", "Specify a stroke dash pattern", "Draw text at position x,y. Add quotes to text that is not already quoted.", "Specify text alignment relative to a given point", "SVG-compatible version of text_align", "Set the color at x,y", "Set all pixels that have the same color as the pixel at x,y and\n are neighbors to the fill color", "Set all pixels that are neighbors of x,y and are not the border color\n to the fill color", "Thanks to Russell Norris!", "Make transparent any neighbor pixel that is not the border color.", "Replace matching neighboring pixels with texture pixels", "Replace neighboring pixels to border color with texture pixels", "Construct a view. If a block is present, yield and pass the view\n object, otherwise return the view object.", "Find old current image, update scene number\n current is the id of the old current image.", "Allow scene to be set to nil", "Make a deep copy", "Set same delay for all images", "Initialize new instances", "Call inspect for all the images", "Set the number of iterations of an animated GIF", "Create a new image and add it to the end", "Read files and concatenate the new images", "override Enumerable's reject", "The alpha frequencies are shown as white dots.", "Make the color histogram. Quantize the image to 256 colors if necessary.", "Returns a value between 0 and MAX_QUANTUM. Same as the PixelIntensity macro.", "Create the histogram montage.", "Get the value and CAS ID associated with the key. If a block is provided,\n value and CAS will be passed to the block.", "Set the key-value pair, verifying existing CAS.\n Returns the resulting CAS value if succeeded, and falsy otherwise.", "Fetch the value associated with the key.\n If a value is found, then it is returned.\n\n If a value is not found and no block is given, then nil is returned.\n\n If a value is not found (or if the found value is nil and :cache_nils is false)\n and a block is given, the block will be invoked and its return value\n written to the cache and returned.", "compare and swap values using optimistic locking.\n Fetch the existing value for key.\n If it exists, yield the value to the block.\n Add the block's return value as the new value for the key.\n Add will fail if someone else changed the value.\n\n Returns:\n - nil if the key did not exist.\n - false if the value was changed by someone else.\n - true if the value was successfully updated.", "Incr adds the given amount to the counter on the memcached server.\n Amt must be a positive integer value.\n\n If default is nil, the counter must already exist or the operation\n will fail and will return nil. Otherwise this method will return\n the new value for the counter.\n\n Note that the ttl will only apply if the counter does not already\n exist. To increase an existing counter and update its TTL, use\n #cas.", "Touch updates expiration time for a given key.\n\n Returns true if key exists, otherwise nil.", "Version of the memcache servers.", "Yields, one at a time, keys and their values+attributes.", "delete_options are passed as a JSON payload in the delete request", "Format datetime according to RFC3339", "Extracts a mapping from the URI using a URI Template pattern.\n\n @param [Addressable::URI, #to_str] uri\n The URI to extract from.\n\n @param [#restore, #match] processor\n A template processor object may optionally be supplied.\n\n The object should respond to either the restore or\n match messages or both. The restore method should\n take two parameters: `[String] name` and `[String] value`.\n The restore method should reverse any transformations that\n have been performed on the value to ensure a valid URI.\n The match method should take a single\n parameter: `[String] name`. The match method should return\n a String containing a regular expression capture group for\n matching on that particular variable. The default value is `\".*?\"`.\n The match method has no effect on multivariate operator\n expansions.\n\n @return [Hash, NilClass]\n The Hash mapping that was extracted from the URI, or\n nil if the URI didn't match the template.\n\n @example\n class ExampleProcessor\n def self.restore(name, value)\n return value.gsub(/\\+/, \" \") if name == \"query\"\n return value\n end\n\n def self.match(name)\n return \".*?\" if name == \"first\"\n return \".*\"\n end\n end\n\n uri = Addressable::URI.parse(\n \"http://example.com/search/an+example+search+query/\"\n )\n Addressable::Template.new(\n \"http://example.com/search/{query}/\"\n ).extract(uri, ExampleProcessor)\n #=> {\"query\" => \"an example search query\"}\n\n uri = Addressable::URI.parse(\"http://example.com/a/b/c/\")\n Addressable::Template.new(\n \"http://example.com/{first}/{second}/\"\n ).extract(uri, ExampleProcessor)\n #=> {\"first\" => \"a\", \"second\" => \"b/c\"}\n\n uri = Addressable::URI.parse(\"http://example.com/a/b/c/\")\n Addressable::Template.new(\n \"http://example.com/{first}/{-list|/|second}/\"\n ).extract(uri)\n #=> {\"first\" => \"a\", \"second\" => [\"b\", \"c\"]}", "Extracts match data from the URI using a URI Template pattern.\n\n @param [Addressable::URI, #to_str] uri\n The URI to extract from.\n\n @param [#restore, #match] processor\n A template processor object may optionally be supplied.\n\n The object should respond to either the restore or\n match messages or both. The restore method should\n take two parameters: `[String] name` and `[String] value`.\n The restore method should reverse any transformations that\n have been performed on the value to ensure a valid URI.\n The match method should take a single\n parameter: `[String] name`. The match method should return\n a String containing a regular expression capture group for\n matching on that particular variable. The default value is `\".*?\"`.\n The match method has no effect on multivariate operator\n expansions.\n\n @return [Hash, NilClass]\n The Hash mapping that was extracted from the URI, or\n nil if the URI didn't match the template.\n\n @example\n class ExampleProcessor\n def self.restore(name, value)\n return value.gsub(/\\+/, \" \") if name == \"query\"\n return value\n end\n\n def self.match(name)\n return \".*?\" if name == \"first\"\n return \".*\"\n end\n end\n\n uri = Addressable::URI.parse(\n \"http://example.com/search/an+example+search+query/\"\n )\n match = Addressable::Template.new(\n \"http://example.com/search/{query}/\"\n ).match(uri, ExampleProcessor)\n match.variables\n #=> [\"query\"]\n match.captures\n #=> [\"an example search query\"]\n\n uri = Addressable::URI.parse(\"http://example.com/a/b/c/\")\n match = Addressable::Template.new(\n \"http://example.com/{first}/{+second}/\"\n ).match(uri, ExampleProcessor)\n match.variables\n #=> [\"first\", \"second\"]\n match.captures\n #=> [\"a\", \"b/c\"]\n\n uri = Addressable::URI.parse(\"http://example.com/a/b/c/\")\n match = Addressable::Template.new(\n \"http://example.com/{first}{/second*}/\"\n ).match(uri)\n match.variables\n #=> [\"first\", \"second\"]\n match.captures\n #=> [\"a\", [\"b\", \"c\"]]", "Expands a URI template into another URI template.\n\n @param [Hash] mapping The mapping that corresponds to the pattern.\n @param [#validate, #transform] processor\n An optional processor object may be supplied.\n @param [Boolean] normalize_values\n Optional flag to enable/disable unicode normalization. Default: true\n\n The object should respond to either the validate or\n transform messages or both. Both the validate and\n transform methods should take two parameters: name and\n value. The validate method should return true\n or false; true if the value of the variable is valid,\n false otherwise. An InvalidTemplateValueError\n exception will be raised if the value is invalid. The transform\n method should return the transformed variable value as a String.\n If a transform method is used, the value will not be percent\n encoded automatically. Unicode normalization will be performed both\n before and after sending the value to the transform method.\n\n @return [Addressable::Template] The partially expanded URI template.\n\n @example\n Addressable::Template.new(\n \"http://example.com/{one}/{two}/\"\n ).partial_expand({\"one\" => \"1\"}).pattern\n #=> \"http://example.com/1/{two}/\"\n\n Addressable::Template.new(\n \"http://example.com/{?one,two}/\"\n ).partial_expand({\"one\" => \"1\"}).pattern\n #=> \"http://example.com/?one=1{&two}/\"\n\n Addressable::Template.new(\n \"http://example.com/{?one,two,three}/\"\n ).partial_expand({\"one\" => \"1\", \"three\" => 3}).pattern\n #=> \"http://example.com/?one=1{&two}&three=3\"", "Expands a URI template into a full URI.\n\n @param [Hash] mapping The mapping that corresponds to the pattern.\n @param [#validate, #transform] processor\n An optional processor object may be supplied.\n @param [Boolean] normalize_values\n Optional flag to enable/disable unicode normalization. Default: true\n\n The object should respond to either the validate or\n transform messages or both. Both the validate and\n transform methods should take two parameters: name and\n value. The validate method should return true\n or false; true if the value of the variable is valid,\n false otherwise. An InvalidTemplateValueError\n exception will be raised if the value is invalid. The transform\n method should return the transformed variable value as a String.\n If a transform method is used, the value will not be percent\n encoded automatically. Unicode normalization will be performed both\n before and after sending the value to the transform method.\n\n @return [Addressable::URI] The expanded URI template.\n\n @example\n class ExampleProcessor\n def self.validate(name, value)\n return !!(value =~ /^[\\w ]+$/) if name == \"query\"\n return true\n end\n\n def self.transform(name, value)\n return value.gsub(/ /, \"+\") if name == \"query\"\n return value\n end\n end\n\n Addressable::Template.new(\n \"http://example.com/search/{query}/\"\n ).expand(\n {\"query\" => \"an example search query\"},\n ExampleProcessor\n ).to_str\n #=> \"http://example.com/search/an+example+search+query/\"\n\n Addressable::Template.new(\n \"http://example.com/search/{query}/\"\n ).expand(\n {\"query\" => \"an example search query\"}\n ).to_str\n #=> \"http://example.com/search/an%20example%20search%20query/\"\n\n Addressable::Template.new(\n \"http://example.com/search/{query}/\"\n ).expand(\n {\"query\" => \"bogus!\"},\n ExampleProcessor\n ).to_str\n #=> Addressable::Template::InvalidTemplateValueError", "Generates a route result for a given set of parameters.\n Should only be used by rack-mount.\n\n @param params [Hash] The set of parameters used to expand the template.\n @param recall [Hash] Default parameters used to expand the template.\n @param options [Hash] Either a `:processor` or a `:parameterize` block.\n\n @api private", "Loops through each capture and expands any values available in mapping\n\n @param [Hash] mapping\n Set of keys to expand\n @param [String] capture\n The expression to expand\n @param [#validate, #transform] processor\n An optional processor object may be supplied.\n @param [Boolean] normalize_values\n Optional flag to enable/disable unicode normalization. Default: true\n\n The object should respond to either the validate or\n transform messages or both. Both the validate and\n transform methods should take two parameters: name and\n value. The validate method should return true\n or false; true if the value of the variable is valid,\n false otherwise. An InvalidTemplateValueError exception\n will be raised if the value is invalid. The transform method\n should return the transformed variable value as a String. If a\n transform method is used, the value will not be percent encoded\n automatically. Unicode normalization will be performed both before and\n after sending the value to the transform method.\n\n @return [String] The expanded expression", "Generates a hash with string keys\n\n @param [Hash] mapping A mapping hash to normalize\n\n @return [Hash]\n A hash with stringified keys", "Creates a new uri object from component parts.\n\n @option [String, #to_str] scheme The scheme component.\n @option [String, #to_str] user The user component.\n @option [String, #to_str] password The password component.\n @option [String, #to_str] userinfo\n The userinfo component. If this is supplied, the user and password\n components must be omitted.\n @option [String, #to_str] host The host component.\n @option [String, #to_str] port The port component.\n @option [String, #to_str] authority\n The authority component. If this is supplied, the user, password,\n userinfo, host, and port components must be omitted.\n @option [String, #to_str] path The path component.\n @option [String, #to_str] query The query component.\n @option [String, #to_str] fragment The fragment component.\n\n @return [Addressable::URI] The constructed URI object.\n\n Freeze URI, initializing instance variables.\n\n @return [Addressable::URI] The frozen URI object.", "The scheme component for this URI, normalized.\n\n @return [String] The scheme component, normalized.", "Sets the scheme component for this URI.\n\n @param [String, #to_str] new_scheme The new scheme component.", "Sets the user component for this URI.\n\n @param [String, #to_str] new_user The new user component.", "The password component for this URI, normalized.\n\n @return [String] The password component, normalized.", "Sets the password component for this URI.\n\n @param [String, #to_str] new_password The new password component.", "The userinfo component for this URI.\n Combines the user and password components.\n\n @return [String] The userinfo component.", "The userinfo component for this URI, normalized.\n\n @return [String] The userinfo component, normalized.", "Sets the userinfo component for this URI.\n\n @param [String, #to_str] new_userinfo The new userinfo component.", "The host component for this URI, normalized.\n\n @return [String] The host component, normalized.", "Sets the host component for this URI.\n\n @param [String, #to_str] new_host The new host component.", "The authority component for this URI.\n Combines the user, password, host, and port components.\n\n @return [String] The authority component.", "The authority component for this URI, normalized.\n\n @return [String] The authority component, normalized.", "Sets the authority component for this URI.\n\n @param [String, #to_str] new_authority The new authority component.", "Sets the origin for this URI, serialized to ASCII, as per\n RFC 6454, section 6.2. This assignment will reset the `userinfo`\n component.\n\n @param [String, #to_str] new_origin The new origin component.", "Sets the port component for this URI.\n\n @param [String, Integer, #to_s] new_port The new port component.", "The combination of components that represent a site.\n Combines the scheme, user, password, host, and port components.\n Primarily useful for HTTP and HTTPS.\n\n For example, \"http://example.com/path?query\" would have a\n site value of \"http://example.com\".\n\n @return [String] The components that identify a site.", "The normalized combination of components that represent a site.\n Combines the scheme, user, password, host, and port components.\n Primarily useful for HTTP and HTTPS.\n\n For example, \"http://example.com/path?query\" would have a\n site value of \"http://example.com\".\n\n @return [String] The normalized components that identify a site.", "Sets the site value for this URI.\n\n @param [String, #to_str] new_site The new site value.", "The path component for this URI, normalized.\n\n @return [String] The path component, normalized.", "Sets the path component for this URI.\n\n @param [String, #to_str] new_path The new path component.", "The query component for this URI, normalized.\n\n @return [String] The query component, normalized.", "Sets the query component for this URI.\n\n @param [String, #to_str] new_query The new query component.", "Converts the query component to a Hash value.\n\n @param [Class] return_type The return type desired. Value must be either\n `Hash` or `Array`.\n\n @return [Hash, Array, nil] The query string parsed as a Hash or Array\n or nil if the query string is blank.\n\n @example\n Addressable::URI.parse(\"?one=1&two=2&three=3\").query_values\n #=> {\"one\" => \"1\", \"two\" => \"2\", \"three\" => \"3\"}\n Addressable::URI.parse(\"?one=two&one=three\").query_values(Array)\n #=> [[\"one\", \"two\"], [\"one\", \"three\"]]\n Addressable::URI.parse(\"?one=two&one=three\").query_values(Hash)\n #=> {\"one\" => \"three\"}\n Addressable::URI.parse(\"?\").query_values\n #=> {}\n Addressable::URI.parse(\"\").query_values\n #=> nil", "Sets the query component for this URI from a Hash object.\n An empty Hash or Array will result in an empty query string.\n\n @param [Hash, #to_hash, Array] new_query_values The new query values.\n\n @example\n uri.query_values = {:a => \"a\", :b => [\"c\", \"d\", \"e\"]}\n uri.query\n # => \"a=a&b=c&b=d&b=e\"\n uri.query_values = [['a', 'a'], ['b', 'c'], ['b', 'd'], ['b', 'e']]\n uri.query\n # => \"a=a&b=c&b=d&b=e\"\n uri.query_values = [['a', 'a'], ['b', ['c', 'd', 'e']]]\n uri.query\n # => \"a=a&b=c&b=d&b=e\"\n uri.query_values = [['flag'], ['key', 'value']]\n uri.query\n # => \"flag&key=value\"", "Sets the HTTP request URI for this URI.\n\n @param [String, #to_str] new_request_uri The new HTTP request URI.", "The fragment component for this URI, normalized.\n\n @return [String] The fragment component, normalized.", "Sets the fragment component for this URI.\n\n @param [String, #to_str] new_fragment The new fragment component.", "Joins two URIs together.\n\n @param [String, Addressable::URI, #to_str] The URI to join with.\n\n @return [Addressable::URI] The joined URI.", "Returns a normalized URI object.\n\n NOTE: This method does not attempt to fully conform to specifications.\n It exists largely to correct other people's failures to read the\n specifications, and also to deal with caching issues since several\n different URIs may represent the same resource and should not be\n cached multiple times.\n\n @return [Addressable::URI] The normalized URI.", "This method allows you to make several changes to a URI simultaneously,\n which separately would cause validation errors, but in conjunction,\n are valid. The URI will be revalidated as soon as the entire block has\n been executed.\n\n @param [Proc] block\n A set of operations to perform on a given URI.", "Ensures that the URI is valid.", "Replaces the internal state of self with the specified URI's state.\n Used in destructive operations to avoid massive code repetition.\n\n @param [Addressable::URI] uri The URI to replace self with.\n\n @return [Addressable::URI] self.", "Write an attribute on the object. Also marks the previous value as dirty.\n\n @param [Symbol] name the name of the field\n @param [Object] value the value to assign to that field\n\n @since 0.2.0", "Automatically called during the created callback to set the created_at time.\n\n @since 0.2.0", "Automatically called during the save callback to set the updated_at time.\n\n @since 0.2.0", "An object is equal to another object if their ids are equal.\n\n @since 0.2.0\n Reload an object from the database -- if you suspect the object has changed in the datastore and you need those\n changes to be reflected immediately, you would call this method. This is a consistent read.\n\n @return [Dynamoid::Document] the document this method was called on\n\n @since 0.2.0", "Evaluates the default value given, this is used by undump\n when determining the value of the default given for a field options.\n\n @param [Object] :value the attribute's default value", "Set updated_at and any passed in field to current DateTime. Useful for things like last_login_at, etc.", "Run the callbacks and then persist this object in the datastore.\n\n @since 0.2.0", "Updates multiple attributes at once, saving the object once the updates are complete.\n\n @param [Hash] attributes a hash of attributes to update\n\n @since 0.2.0", "Delete this object from the datastore.\n\n @since 0.2.0", "Persist the object into the datastore. Assign it an id first if it doesn't have one.\n\n @since 0.2.0", "The actual adapter currently in use.\n\n @since 0.2.0", "Shows how long it takes a method to run on the adapter. Useful for generating logged output.\n\n @param [Symbol] method the name of the method to appear in the log\n @param [Array] args the arguments to the method to appear in the log\n @yield the actual code to benchmark\n\n @return the result of the yield\n\n @since 0.2.0", "Read one or many keys from the selected table.\n This method intelligently calls batch_get or get on the underlying adapter\n depending on whether ids is a range or a single key.\n If a range key is present, it will also interpolate that into the ids so\n that the batch get will acquire the correct record.\n\n @param [String] table the name of the table to write the object to\n @param [Array] ids to fetch, can also be a string of just one id\n @param [Hash] options: Passed to the underlying query. The :range_key option is required whenever the table has a range key,\n unless multiple ids are passed in.\n\n @since 0.2.0", "Delete an item from a table.\n\n @param [String] table the name of the table to write the object to\n @param [Array] ids to delete, can also be a string of just one id\n @param [Array] range_key of the record to delete, can also be a string of just one range_key", "Scans a table. Generally quite slow; try to avoid using scan if at all possible.\n\n @param [String] table the name of the table to write the object to\n @param [Hash] scan_hash a hash of attributes: matching records will be returned by the scan\n\n @since 0.2.0", "Delegate all methods that aren't defind here to the underlying adapter.\n\n @since 0.2.0", "If you want to, set the logger manually to any output you'd like. Or pass false or nil to disable logging entirely.\n\n @since 0.2.0", "Formats an object into PDF format. This is used my the PDF object to format the PDF file and it is used in the secure injection which is still being developed.", "adds a new page to the end of the PDF object.\n\n returns the new page object.\n\n unless the media box is specified, it defaults to US Letter: [0, 0, 612.0, 792.0]", "Formats the data to PDF formats and returns a binary string that represents the PDF file content.\n\n This method is used by the save(file_name) method to save the content to a file.\n\n use this to export the PDF file without saving to disk (such as sending through HTTP ect').", "this method returns all the pages cataloged in the catalog.\n\n if no catalog is passed, it seeks the existing catalog(s) and searches\n for any registered Page objects.\n\n Page objects are Hash class objects. the page methods are added using a mixin or inheritance.\n\n catalogs:: a catalog, or an Array of catalog objects. defaults to the existing catalog.", "returns an array with the different fonts used in the file.\n\n Type0 font objects ( \"font[:Subtype] == :Type0\" ) can be registered with the font library\n for use in PDFWriter objects (font numbering / table creation etc').\n @param limit_to_type0 [true,false] limits the list to type0 fonts.", "removes a PDF page from the file and the catalog\n\n returns the removed page.\n\n returns nil if failed or if out of bounds.\n\n page_index:: the page's index in the zero (0) based page array. negative numbers represent a count backwards (-1 being the end of the page array and 0 being the begining).", "Register a font that already exists in a pdf object into the font library.\n\n The implementation is experimental, but this function attempts to deconstruct a font object in order to\n extract it's cmap and metric data, allowing it's use in the CombinePDF library.", "initializes the content stream in case it was not initialized before", "adds a string or an object to the content stream, at the location indicated\n\n accepts:\n object:: can be a string or a hash object\n location:: can be any numeral related to the possition in the :Contents array. defaults to -1 == insert at the end.", "register or get a registered graphic state dictionary.\n the method returns the name of the graphos state, for use in a content stream.", "Don't save Buffer.current.", "Set mark at pos, and push the mark on the mark ring.\n Unlike Emacs, the new mark is pushed on the mark ring instead of\n the old one.", "Return true if modified.", "app_id or corp_id", "Validate if the current time unit matches the same unit from the schedule\n start time, returning the difference to the interval", "Lock the hour if explicitly set by hour_of_day, but allow for the nearest\n hour during DST start to keep the correct interval.", "For monthly rules that have no specified day value, the validation relies\n on the schedule start time and jumps to include every month even if it\n has fewer days than the schedule's start day.\n\n Negative day values (from month end) also include all months.\n\n Positive day values are taken literally so months with fewer days will\n be skipped.", "Build for a single rule entry", "Add hour of day validations", "Add a recurrence time to the schedule", "Add an exception time to the schedule", "Remove a recurrence time", "The next n occurrences after now", "The previous occurrence from a given time", "The previous n occurrences before a given time", "Return a boolean indicating if an occurrence falls between two times", "Return a boolean indicating if an occurrence falls on a certain date", "Determine if the schedule is occurring at a given time", "Determine if this schedule conflicts with another schedule\n @param [IceCube::Schedule] other_schedule - The schedule to compare to\n @param [Time] closing_time - the last time to consider\n @return [Boolean] whether or not the schedules conflict at all", "Get the first n occurrences, or the first occurrence if n is skipped", "Get the final n occurrences of a terminating schedule\n or the final one if no n is given", "Serialize this schedule to_ical", "Convert the schedule to a hash", "Find all of the occurrences for the schedule between opening_time\n and closing_time\n Iteration is unrolled in pairs to skip duplicate times in end of DST", "Calculate how many days to the first wday validation in the correct\n interval week. This may move backwards within the week if starting in an\n interval week with earlier validations.", "Finds given resource by id\n\n Examples:\n client.find(:board, \"board1234\")\n client.find(:member, \"user1234\")", "Finds given resource by path with params", "Update the fields of a label.\n\n Supply a hash of stringkeyed data retrieved from the Trello API representing\n a label.", "Save the webhook.\n\n @raise [Trello::Error] if the Webhook could not be saved.\n\n @return [String] the JSON representation of the saved webhook.", "Update the webhook.\n\n @raise [Trello::Error] if the Webhook could not be saved.\n\n @return [String] the JSON representation of the updated webhook.", "Supply a hash of stringkeyed data retrieved from the Trello API representing\n an attachment.", "Update the fields of a card.\n\n Supply a hash of string keyed data retrieved from the Trello API representing\n a card.\n\n Note that this this method does not save anything new to the Trello API,\n it just assigns the input attributes to your local object. If you use\n this method to assign attributes, call `save` or `update!` afterwards if\n you want to persist your changes to Trello.\n\n @param [Hash] fields\n @option fields [String] :id\n @option fields [String] :short_id\n @option fields [String] :name The new name of the card.\n @option fields [String] :desc A string with a length from 0 to\n 16384.\n @option fields [Date] :due A date, or `nil`.\n @option fields [Boolean] :due_complete\n @option fields [Boolean] :closed\n @option fields [String] :url\n @option fields [String] :short_url\n @option fields [String] :board_id\n @option fields [String] :member_ids A comma-separated list of objectIds\n (24-character hex strings).\n @option fields [String] :pos A position. `\"top\"`, `\"bottom\"`, or a\n positive number. Defaults to `\"bottom\"`.\n @option fields [Array] :labels An Array of Trello::Label objects\n derived from the JSON response\n @option fields [String] :card_labels A comma-separated list of\n objectIds (24-character hex strings).\n @option fields [Object] :cover_image_id\n @option fields [Object] :badges\n @option fields [Object] :card_members\n @option fields [String] :source_card_id\n @option fields [Array] :source_card_properties\n\n @return [Trello::Card] self", "Update an existing record.\n\n Warning: this updates all fields using values already in memory. If\n an external resource has updated these fields, you should refresh!\n this object before making your changes, and before updating the record.\n\n @raise [Trello::Error] if the card could not be updated.\n\n @return [String] The JSON representation of the updated card returned by\n the Trello API.", "Move this card to the given list", "Moves this card to the given list no matter which board it is on", "Current authenticated user upvotes a card", "Recind upvote. Noop if authenticated user hasn't previously voted", "Add a label", "Remove a label", "Add an attachment to this card", "Retrieve a list of attachments", "Returns a list of boards under this organization.", "Returns an array of members associated with the organization.", "Update the attributes of a Comment\n\n Supply a hash of string keyed data retrieved from the Trello API representing\n a Comment.", "Update the fields of an attachment.\n\n Supply a hash of stringkeyed data retrieved from the Trello API representing\n an attachment.", "Need to make another call to get the actual value if the custom field type == 'list'", "Update the fields of a checklist.\n\n Supply a hash of string keyed data retrieved from the Trello API representing\n a checklist.", "Save a record.", "Return a list of members active in this checklist.", "Add an item to the checklist", "Returns a list of the actions associated with this object.", "Update the fields of an item state.\n\n Supply a hash of string keyed data retrieved from the Trello API representing\n an item state.", "Clean text of unwanted formatting\n\n Example:\n >> text = \"This is a sentence\\ncut off in the middle because pdf.\"\n >> PragmaticSegmenter::Cleaner(text: text).clean\n => \"This is a sentence cut off in the middle because pdf.\"\n\n Arguments:\n text: (String) *required\n language: (String) *optional\n (two character ISO 639-1 code e.g. 'en')\n doc_type: (String) *optional\n (e.g. 'pdf')", "Subscribes to a channel which executes the given callback when a message\n is published to the channel\n\n @example Subscribing to a channel for message\n client = MessageBus::HTTPClient.new('http://some.test.com')\n\n client.subscribe(\"/test\") do |payload, _message_id, _global_id|\n puts payload\n end\n\n A last_message_id may be provided.\n * -1 will subscribe to all new messages\n * -2 will recieve last message + all new messages\n * -3 will recieve last 2 message + all new messages\n\n @example Subscribing to a channel with `last_message_id`\n client.subscribe(\"/test\", last_message_id: -2) do |payload|\n puts payload\n end\n\n @param channel [String] channel to listen for messages on\n @param last_message_id [Integer] last message id to start polling on.\n\n @yield [data, message_id, global_id]\n callback to be executed whenever a message is received\n\n @yieldparam data [Hash] data payload of the message received on the channel\n @yieldparam message_id [Integer] id of the message in the channel\n @yieldparam global_id [Integer] id of the message in the global backlog\n @yieldreturn [void]\n\n @return [Integer] the current status of the client", "unsubscribes from a channel\n\n @example Unsubscribing from a channel\n client = MessageBus::HTTPClient.new('http://some.test.com')\n callback = -> { |payload| puts payload }\n client.subscribe(\"/test\", &callback)\n client.unsubscribe(\"/test\")\n\n If a callback is given, only the specific callback will be unsubscribed.\n\n @example Unsubscribing a callback from a channel\n client.unsubscribe(\"/test\", &callback)\n\n When the client does not have any channels left, it will stop polling and\n waits until a new subscription is started.\n\n @param channel [String] channel to unsubscribe\n @yield [data, global_id, message_id] specific callback to unsubscribe\n\n @return [Integer] the current status of the client", "Handle connection request from WebSocket server", "Build Rack env from request", "Build gRPC server parameters", "Build Redis parameters", "Start gRPC server in background and\n wait untill it ready to accept connections", "Deprecated method. Removed in v1.0.", "Generate a long, cryptographically secure random ID string, which\n is also a valid filename.", "Print the given exception, including the stack trace, to STDERR.\n\n +current_location+ is a string which describes where the code is\n currently at. Usually the current class name will be enough.\n It may be nil.\n\n This method requires 'ruby_core_enhancements'. If 'debug_logging'\n is loaded and included in the current module, it will use that for\n logging.", "A wrapper around Thread.new that installs a default exception handler.\n If an uncaught exception is encountered, it will immediately log the\n exception and abort the entire program.\n\n Thread#abort_on_exception is also supposed to do that, but the problem\n is that it is implemented by forwarding the uncaught exception\n to the main thread, which may not expect that particular exception\n and may not handle it properly. The exception could be forwarded to\n the main thread during any point of the main thread's execution.\n\n This method requires 'thread' and 'ruby_core_enhancements'.\n If 'debug_logging' is loaded and included in the current module,\n it will use that for logging.", "Checks whether the given process exists.", "Returns a string which reports the backtraces for all threads,\n or if that's not supported the backtrace for the current thread.", "Name of the user under which we are executing, or the id as fallback\n N.B. loader_shared_helpers.rb has the same method", "If the current working directory equals `app_root`, and `abs_path` is a\n file inside `app_root`, then returns its basename. Otherwise, returns\n `abs_path`.\n\n The main use case for this method is to ensure that we load config.ru\n with a relative path (only its base name) in most circumstances,\n instead of with an absolute path. This is necessary in order to retain\n compatibility with apps that expect config.ru's __FILE__ to be relative.\n See https://github.com/phusion/passenger/issues/1596", "To be called before the request handler main loop is entered, but after the app\n startup file has been loaded. This function will fire off necessary events\n and perform necessary preparation tasks.\n\n +forked+ indicates whether the current worker process is forked off from\n an ApplicationSpawner that has preloaded the app code.\n +options+ are the spawn options that were passed.", "Read an array message from the underlying file descriptor and return the\n result as a hash instead of an array. This assumes that the array message\n has an even number of elements.\n Returns nil when end-of-stream has been reached.\n\n Might raise SystemCallError, IOError or SocketError when something\n goes wrong.", "Read a scalar message from the underlying IO object. Returns the\n read message, or nil on end-of-stream.\n\n Might raise SystemCallError, IOError or SocketError when something\n goes wrong.\n\n The +buffer+ argument specifies a buffer in which #read_scalar\n stores the read data. It is good practice to reuse existing buffers\n in order to minimize stress on the garbage collector.\n\n The +max_size+ argument allows one to specify the maximum allowed\n size for the scalar message. If the received scalar message's size\n is larger than +max_size+, then a SecurityError will be raised.", "Create a new RequestHandler with the given owner pipe.\n +owner_pipe+ must be the readable part of a pipe IO object.\n\n Additionally, the following options may be given:\n - connect_password\n Clean up temporary stuff created by the request handler.\n\n If the main loop was started by #main_loop, then this method may only\n be called after the main loop has exited.\n\n If the main loop was started by #start_main_loop_thread, then this method\n may be called at any time, and it will stop the main loop thread.", "Enter the request handler's main loop.", "Reset signal handlers to their default handler, and install some\n special handlers for a few signals. The previous signal handlers\n will be put back by calling revert_signal_handlers.", "Get the default value.\n\n @example\n ActiveInteraction::Filter.new(:example).default\n # => ActiveInteraction::NoDefaultError: example\n @example\n ActiveInteraction::Filter.new(:example, default: nil).default\n # => nil\n @example\n ActiveInteraction::Filter.new(:example, default: 0).default\n # => ActiveInteraction::InvalidDefaultError: example: 0\n\n @param context [Base, nil]\n\n @return (see #raw_default)\n\n @raise [NoDefaultError] If the default is missing.\n @raise [InvalidDefaultError] If the default is invalid.", "Returns the column object for the named filter.\n\n @param name [Symbol] The name of a filter.\n\n @example\n class Interaction < ActiveInteraction::Base\n string :email, default: nil\n\n def execute; end\n end\n\n Interaction.new.column_for_attribute(:email)\n # => #\n\n Interaction.new.column_for_attribute(:not_a_filter)\n # => nil\n\n @return [FilterColumn, nil]\n\n @since 1.2.0", "Add a number of business days to a date. If a non-business day is given,\n counting will start from the next business day. So,\n monday + 1 = tuesday\n friday + 1 = monday\n sunday + 1 = tuesday", "Subtract a number of business days to a date. If a non-business day is\n given, counting will start from the previous business day. So,\n friday - 1 = thursday\n monday - 1 = friday\n sunday - 1 = thursday", "Internal method for assigning working days from a calendar config.", "Send an event received from Redis to the EventMachine channel\n which will send it to subscribed clients.", "Dispatches message handling to method with same name as\n the event name", "Send an event received from Redis to the EventMachine channel", "Add a property to the schema\n\n @param name [Symbol] the name of the property\n @param options [Hash] property options\n @option options [Symbol] :type The property type\n @option options [Symbol] :default The default value for the property\n @return [void]", "insert middleware before ParseJson - middleware executed in reverse order -\n inserted middleware will run after json parsed", "Try to destroy this resource\n\n @return [Boolean] Whether or not the destroy succeeded", "remember queries we've seen, ignore future ones", "Proofer runs faster if we pull out all the external URLs and run the checks\n at the end. Otherwise, we're halting the consuming process for every file during\n `process_files`.\n\n In addition, sorting the list lets libcurl keep connections to the same hosts alive.\n\n Finally, we'll first make a HEAD request, rather than GETing all the contents.\n If the HEAD fails, we'll fall back to GET, as some servers are not configured\n for HEAD. If we've decided to check for hashes, we must do a GET--HEAD is\n not available as an option.", "Even though the response was a success, we may have been asked to check\n if the hash on the URL exists on the page", "Collects any external URLs found in a directory of files. Also collectes\n every failed test from process_files.\n Sends the external URLs to Typhoeus for batch processing.", "Walks over each implemented check and runs them on the files, in parallel.", "Adds the request body to the request in the appropriate format.\n if the request body is a JSON Object, transform its keys into camel-case,\n since this is the common format for JSON APIs.", "Replaces the body of the response with the parsed version of the body,\n according to the format specified in the Request.", "Returns the list of server errors worth retrying the request once.", "Set up a number of navigational commands to be performed by Byebug.", "Resume an existing Pry REPL at the paused point.", "Processes the template and returns the result as a string.\n\n `scope` is the context in which the template is evaluated.\n If it's a `Binding`, Haml uses it as the second argument to `Kernel#eval`;\n otherwise, Haml just uses its `#instance_eval` context.\n\n Note that Haml modifies the evaluation context\n (either the scope object or the `self` object of the scope binding).\n It extends {Haml::Helpers}, and various instance variables are set\n (all prefixed with `haml_`).\n For example:\n\n s = \"foobar\"\n Haml::Engine.new(\"%p= upcase\").render(s) #=> \"

FOOBAR

\"\n\n # s now extends Haml::Helpers\n s.respond_to?(:html_attrs) #=> true\n\n `locals` is a hash of local variables to make available to the template.\n For example:\n\n Haml::Engine.new(\"%p= foo\").render(Object.new, :foo => \"Hello, world!\") #=> \"

Hello, world!

\"\n\n If a block is passed to render,\n that block is run when `yield` is called\n within the template.\n\n Due to some Ruby quirks,\n if `scope` is a `Binding` object and a block is given,\n the evaluation context may not be quite what the user expects.\n In particular, it's equivalent to passing `eval(\"self\", scope)` as `scope`.\n This won't have an effect in most cases,\n but if you're relying on local variables defined in the context of `scope`,\n they won't work.\n\n @param scope [Binding, Object] The context in which the template is evaluated\n @param locals [{Symbol => Object}] Local variables that will be made available\n to the template\n @param block [#to_proc] A block that can be yielded to within the template\n @return [String] The rendered template", "Returns a proc that, when called,\n renders the template and returns the result as a string.\n\n `scope` works the same as it does for render.\n\n The first argument of the returned proc is a hash of local variable names to values.\n However, due to an unfortunate Ruby quirk,\n the local variables which can be assigned must be pre-declared.\n This is done with the `local_names` argument.\n For example:\n\n # This works\n Haml::Engine.new(\"%p= foo\").render_proc(Object.new, :foo).call :foo => \"Hello!\"\n #=> \"

Hello!

\"\n\n # This doesn't\n Haml::Engine.new(\"%p= foo\").render_proc.call :foo => \"Hello!\"\n #=> NameError: undefined local variable or method `foo'\n\n The proc doesn't take a block; any yields in the template will fail.\n\n @param scope [Binding, Object] The context in which the template is evaluated\n @param local_names [Array] The names of the locals that can be passed to the proc\n @return [Proc] The proc that will run the template", "Defines a method on `object` with the given name\n that renders the template and returns the result as a string.\n\n If `object` is a class or module,\n the method will instead be defined as an instance method.\n For example:\n\n t = Time.now\n Haml::Engine.new(\"%p\\n Today's date is\\n .date= self.to_s\").def_method(t, :render)\n t.render #=> \"

\\n Today's date is\\n

Fri Nov 23 18:28:29 -0800 2007
\\n

\\n\"\n\n Haml::Engine.new(\".upcased= upcase\").def_method(String, :upcased_div)\n \"foobar\".upcased_div #=> \"
FOOBAR
\\n\"\n\n The first argument of the defined method is a hash of local variable names to values.\n However, due to an unfortunate Ruby quirk,\n the local variables which can be assigned must be pre-declared.\n This is done with the `local_names` argument.\n For example:\n\n # This works\n obj = Object.new\n Haml::Engine.new(\"%p= foo\").def_method(obj, :render, :foo)\n obj.render(:foo => \"Hello!\") #=> \"

Hello!

\"\n\n # This doesn't\n obj = Object.new\n Haml::Engine.new(\"%p= foo\").def_method(obj, :render)\n obj.render(:foo => \"Hello!\") #=> NameError: undefined local variable or method `foo'\n\n Note that Haml modifies the evaluation context\n (either the scope object or the `self` object of the scope binding).\n It extends {Haml::Helpers}, and various instance variables are set\n (all prefixed with `haml_`).\n\n @param object [Object, Module] The object on which to define the method\n @param name [String, Symbol] The name of the method to define\n @param local_names [Array] The names of the locals that can be passed to the proc", "Compiles attribute values with the similar key to Temple expression.\n\n @param values [Array] whose `key`s are partially or fully the same from left.\n @return [Array] Temple expression", "Renders attribute values statically.\n\n @param values [Array]\n @return [Array] Temple expression", "Compiles attribute values for one key to Temple expression that generates ` key='value'`.\n\n @param key [String]\n @param values [Array]\n @return [Array] Temple expression", "Parses a magic comment at the beginning of a Haml file.\n The parsing rules are basically the same as Ruby's.\n\n @return [(Boolean, String or nil)]\n Whether the document begins with a UTF-8 BOM,\n and the declared encoding of the document (or nil if none is declared)", "Remove the whitespace from the right side of the buffer string.\n Doesn't do anything if we're at the beginning of a capture_haml block.", "Takes any string, finds all the newlines, and converts them to\n HTML entities so they'll render correctly in\n whitespace-sensitive tags without screwing up the indentation.\n\n @overload preserve(input)\n Escapes newlines within a string.\n\n @param input [String] The string within which to escape all newlines\n @overload preserve\n Escapes newlines within a block of Haml code.\n\n @yield The block within which to escape newlines", "Captures the result of a block of Haml code,\n gets rid of the excess indentation,\n and returns it as a string.\n For example, after the following,\n\n .foo\n - foo = capture_haml(13) do |a|\n %p= a\n\n the local variable `foo` would be assigned to `\"

13

\\n\"`.\n\n @param args [Array] Arguments to pass into the block\n @yield [args] A block of Haml code that will be converted to a string\n @yieldparam args [Array] `args`", "Internal method to write directly to the buffer with control of\n whether the first line should be indented, and if there should be a\n final newline.\n\n Lines added will have the proper indentation. This can be controlled\n for the first line.\n\n Used by #haml_concat and #haml_tag.\n\n @param text [#to_s] The text to output\n @param newline [Boolean] Whether to add a newline after the text\n @param indent [Boolean] Whether to add indentation to the first line", "Runs a block of code with the given buffer as the currently active buffer.\n\n @param buffer [Haml::Buffer] The Haml buffer to use temporarily\n @yield A block in which the given buffer should be used", "Gives a proc the same local `_hamlout` and `_erbout` variables\n that the current template has.\n\n @param proc [#call] The proc to bind\n @return [Proc] A new proc with the new variables bound", "Processes and deals with lowering indentation.", "Processes a single line of Haml.\n\n This method doesn't return anything; it simply processes the line and\n adds the appropriate code to `@precompiled`.", "Renders an XHTML comment.", "Renders an XHTML doctype or XML shebang.", "Parses a line into tag_name, attributes, attributes_hash, object_ref, action, value", "Checks whether or not `line` is in a multiline sequence.", "Evaluates `text` in the context of the scope object, but\n does not output the result.", "Get rid of and whitespace at the end of the buffer\n or the merged text", "Removes a filter from Haml. If the filter was removed, it returns\n the Module that was removed upon success, or nil on failure. If you try\n to redefine a filter, Haml will raise an error. Use this method first to\n explicitly remove the filter before redefining it.\n @return Module The filter module that has been removed\n @since 4.0", "Waits until the condition is true.\n\n @example\n browser.wait_until(timeout: 2) do |browser|\n browser.windows.size == 1\n end\n\n @example\n browser.text_field(name: \"new_user_first_name\").wait_until(&:present?).click\n browser.text_field(name: \"new_user_first_name\").wait_until(message: 'foo') { |field| field.present? }\n browser.text_field(name: \"new_user_first_name\").wait_until(timeout: 60, &:present?)\n browser.text_field(name: \"new_user_first_name\").wait_until(timeout: 60, name: 'new_user_first_name')\n\n @param [Integer] timeout seconds to wait before timing out\n @param [String] message error message for when times out", "Waits until the element is present.\n Element is always relocated, so this can be used in the case of an element going away and returning\n\n @example\n browser.text_field(name: \"new_user_first_name\").wait_until_present\n\n @param [Integer] timeout seconds to wait before timing out\n @param [Float] interval seconds to wait before each try\n @param [String] message error message for when times out\n\n @see Watir::Wait\n @see Watir::Element#present?", "Waits while the element is present.\n Element is always relocated, so this can be used in the case of the element changing attributes\n\n @example\n browser.text_field(name: \"abrakadbra\").wait_while_present\n\n @param [Integer] timeout seconds to wait before timing out\n @param [Float] interval seconds to wait before each try\n @param [String] message error message for when times out\n\n @see Watir::Wait\n @see Watir::Element#present?", "Uses JavaScript to enter most of the given value.\n Selenium is used to enter the first and last characters\n\n @param [String, Symbol] args", "Executes JavaScript snippet in context of frame.\n\n @see Watir::Browser#execute_script", "Simulates JavaScript events on element.\n Note that you may omit \"on\" from event name.\n\n @example\n browser.button(name: \"new_user_button\").fire_event :click\n browser.button(name: \"new_user_button\").fire_event \"mousemove\"\n browser.button(name: \"new_user_button\").fire_event \"onmouseover\"\n\n @param [String, Symbol] event_name", "Returns true if the select list has one or more options where text or label matches the given value.\n\n @param [String, Regexp] str_or_rx\n @return [Boolean]", "Select the option whose text or label matches the given string.\n\n @param [String, Regexp] str_or_rx\n @raise [Watir::Exception::NoValueFoundException] if the value does not exist.\n @return [String] The text of the option selected. If multiple options match, returns the first match.", "Select all options whose text or label matches the given string.\n\n @param [String, Regexp] str_or_rx\n @raise [Watir::Exception::NoValueFoundException] if the value does not exist.\n @return [String] The text of the first option selected.", "Uses JavaScript to select the option whose text matches the given string.\n\n @param [String, Regexp] str_or_rx\n @raise [Watir::Exception::NoValueFoundException] if the value does not exist.", "Uses JavaScript to select all options whose text matches the given string.\n\n @param [String, Regexp] str_or_rx\n @raise [Watir::Exception::NoValueFoundException] if the value does not exist.", "Sets the file field to the given path\n\n @param [String] path", "Goes to the given URL.\n\n @example\n browser.goto \"watir.github.io\"\n\n @param [String] uri The url.\n @return [String] The url you end up at.", "Only log a warn message if it is not set to be ignored.", "Marks code as deprecated with replacement.\n\n @param [String] old\n @param [String] new", "YARD macro to generated friendly\n documentation for attributes.\n\n @macro [attach] attribute\n @method $2\n @return [$1] value of $3 property", "Executes JavaScript snippet.\n\n If you are going to use the value snippet returns, make sure to use\n `return` explicitly.\n\n @example Check that Ajax requests are completed with jQuery\n browser.execute_script(\"return jQuery.active\") == 0\n #=> true\n\n @param [String] script JavaScript snippet to execute\n @param args Arguments will be available in the given script in the 'arguments' pseudo-array", "Resizes window to given width and height.\n\n @example\n browser.window.resize_to 1600, 1200\n\n @param [Integer] width\n @param [Integer] height", "Moves window to given x and y coordinates.\n\n @example\n browser.window.move_to 300, 200\n\n @param [Integer] x_coord\n @param [Integer] y_coord", "Returns array of cookies.\n\n @example\n browser.cookies.to_a\n #=> {:name=>\"my_session\", :value=>\"BAh7B0kiD3Nlc3Npb25faWQGOgZFRkk\", :domain=>\"mysite.com\"}\n\n @return [Array]", "Adds new cookie.\n\n @example\n browser.cookies.add 'my_session', 'BAh7B0kiD3Nlc3Npb25faWQGOgZFRkk', secure: true\n\n @param [String] name\n @param [String] value\n @param [Hash] opts\n @option opts [Boolean] :secure\n @option opts [String] :path\n @option opts [Time, DateTime, NilClass] :expires\n @option opts [String] :domain", "Load cookies from file\n\n @example\n browser.cookies.load '.cookies'\n\n @param [String] file", "Returns first row of Table with proper subtype\n\n @return [TableCellCollection]", "Select the radio button whose value or label matches the given string.\n\n @param [String, Regexp] str_or_rx\n @raise [Watir::Exception::UnknownObjectException] if the Radio does not exist.\n @return [String] The value or text of the radio selected.", "Returns true if any of the radio button label matches the given value.\n\n @param [String, Regexp] str_or_rx\n @raise [Watir::Exception::UnknownObjectException] if the options do not exist\n @return [Boolean]", "Returns browser windows array.\n\n @example\n browser.windows(title: 'closeable window')\n\n @return [Array]", "Returns browser window.\n\n @example\n browser.window(title: 'closeable window')\n\n @return [Window]", "Scrolls to specified location.\n @param [Symbol] param", "Returns collection of elements of direct children of current element.\n\n @example\n children = browser.select_list(id: \"new_user_languages\").children\n children == browser.select_list(id: \"new_user_languages\").options.to_a\n #=> true", "Waits until the element is present.\n\n @example\n browser.text_field(name: \"new_user_first_name\").when_present.click\n browser.text_field(name: \"new_user_first_name\").when_present { |field| field.set \"Watir\" }\n browser.text_field(name: \"new_user_first_name\").when_present(60).text\n\n @param [Integer] timeout seconds to wait before timing out\n\n @see Watir::Wait\n @see Watir::Element#present?", "Waits until the element is enabled.\n\n @example\n browser.button(name: \"new_user_button_2\").when_enabled.click\n\n @param [Integer] timeout seconds to wait before timing out\n\n @see Watir::Wait\n @see Watir::Element#enabled?", "Adds new after hook.\n\n @example\n browser.after_hooks.add do |browser|\n browser.text.include?(\"Server Error\") and puts \"Application exception or 500 error!\"\n end\n browser.goto \"watir.com/404\"\n \"Application exception or 500 error!\"\n\n @param [#call] after_hook Object responding to call\n @yield after_hook block\n @yieldparam [Watir::Browser]", "Runs after hooks.", "Returns true if element exists.\n Checking for staleness is deprecated\n\n @return [Boolean]", "Clicks the element, optionally while pressing the given modifier keys.\n Note that support for holding a modifier key is currently experimental,\n and may not work at all.\n\n @example Click an element\n browser.element(name: \"new_user_button\").click\n\n @example Click an element with shift key pressed\n browser.element(name: \"new_user_button\").click(:shift)\n\n @example Click an element with several modifier keys pressed\n browser.element(name: \"new_user_button\").click(:shift, :control)\n\n @param [:shift, :alt, :control, :command, :meta] modifiers to press while clicking.", "Drag and drop this element on to another element instance.\n Note that browser support may vary.\n\n @example\n a = browser.div(id: \"draggable\")\n b = browser.div(id: \"droppable\")\n a.drag_and_drop_on b", "Drag and drop this element by the given offsets.\n Note that browser support may vary.\n\n @example\n browser.div(id: \"draggable\").drag_and_drop_by 100, -200\n\n @param [Integer] right_by\n @param [Integer] down_by", "Returns given attribute value of element.\n\n @example\n browser.a(id: \"link_2\").attribute_value \"title\"\n #=> \"link_title_2\"\n\n @param [String, ::Symbol] attribute_name\n @return [String, nil]", "Returns all attribute values. Attributes with special characters are returned as String,\n rest are returned as a Symbol.\n\n @return [Hash]\n\n @example\n browser.pre(id: 'rspec').attribute_values\n #=> {class:'ruby', id: 'rspec' }", "Get centre coordinates of element\n\n @example\n browser.button(name: \"new_user_button\").centre\n\n @return [Selenium::WebDriver::Point]", "Returns true if this element is visible on the page.\n Raises exception if element does not exist\n\n @return [Boolean]", "Returns true if the element exists and is visible on the page.\n Returns false if element does not exist or exists but is not visible\n\n @return [Boolean]\n @see Watir::Wait", "Get the element at the given index or range.\n\n Any call to an ElementCollection that includes an adjacent selector\n can not be lazy loaded because it must store the correct type\n\n Ranges can not be lazy loaded\n\n @param [Integer, Range] value Index (0-based) or Range of desired element(s)\n @return [Watir::Element, Watir::ElementCollection] Returns an instance of a Watir::Element subclass", "This collection as an Array.\n\n @return [Array]", "Return a diff between this commit and its first parent or another commit or tree.\n\n See Rugged::Tree#diff for more details.", "Checkout the specified branch, reference or commit.\n\n target - A revparse spec for the branch, reference or commit to check out.\n options - Options passed to #checkout_tree.", "Create a new branch in the repository\n\n name - The name of the branch (without a full reference path)\n sha_or_ref - The target of the branch; either a String representing\n an OID or a reference name, or a Rugged::Object instance.\n\n Returns a Rugged::Branch object", "Get the blob at a path for a specific revision.\n\n revision - The String SHA1.\n path - The String file path.\n\n Returns a Rugged::Blob object", "Push a list of refspecs to the given remote.\n\n refspecs - A list of refspecs that should be pushed to the remote.\n\n Returns a hash containing the pushed refspecs as keys and\n any error messages or +nil+ as values.", "currently libgit2's `git_submodule_add_setup` initializes a repo\n with a workdir for the submodule. libgit2's `git_clone` however\n requires the target for the clone to be an empty dir.\n\n This provides a ghetto clone implementation that:\n 1. fetches the remote\n 2. sets up a master branch to be tracking origin/master\n 3. checkouts the submodule", "Builds the access token from the response of the HTTP call\n\n @return [AccessToken] the initialized AccessToken", "Apply the request credentials used to authenticate to the Authorization Server\n\n Depending on configuration, this might be as request params or as an\n Authorization header.\n\n User-provided params and header take precedence.\n\n @param [Hash] params a Hash of params for the token endpoint\n @return [Hash] params amended with appropriate authentication details", "Adds an `Authorization` header with Basic Auth credentials if and only if\n it is not already set in the params.", "Attempts to determine the content type of the response.", "Initalize a MACToken\n\n @param [Client] client the OAuth2::Client instance\n @param [String] token the Access Token value\n @option [String] secret the secret key value\n @param [Hash] opts the options to create the Access Token with\n @option opts [String] :refresh_token (nil) the refresh_token value\n @option opts [FixNum, String] :expires_in (nil) the number of seconds in which the AccessToken will expire\n @option opts [FixNum, String] :expires_at (nil) the epoch time in seconds in which AccessToken will expire\n @option opts [FixNum, String] :algorithm (hmac-sha-256) the algorithm to use for the HMAC digest (one of 'hmac-sha-256', 'hmac-sha-1')\n Make a request with the MAC Token\n\n @param [Symbol] verb the HTTP request method\n @param [String] path the HTTP URL path of the request\n @param [Hash] opts the options to make the request with\n @see Client#request", "Generate the MAC header\n\n @param [Symbol] verb the HTTP request method\n @param [String] url the HTTP URL path of the request", "Generate the Base64-encoded HMAC digest signature\n\n @param [Fixnum] timestamp the timestamp of the request in seconds since epoch\n @param [String] nonce the MAC header nonce\n @param [Symbol] verb the HTTP request method\n @param [String] url the HTTP URL path of the request", "Set the HMAC algorithm\n\n @param [String] alg the algorithm to use (one of 'hmac-sha-1', 'hmac-sha-256')", "Refreshes the current Access Token\n\n @return [AccessToken] a new AccessToken\n @note options should be carried over to the new AccessToken", "Make a request with the Access Token\n\n @param [Symbol] verb the HTTP request method\n @param [String] path the HTTP URL path of the request\n @param [Hash] opts the options to make the request with\n @see Client#request", "actually run the 'git log' command", "Returns the target branch\n\n Example:\n Given (git branch -a):\n master\n remotes/working/master\n\n g.branches['master'].full #=> 'master'\n g.branches['working/master'].full => 'remotes/working/master'\n g.branches['remotes/working/master'].full => 'remotes/working/master'\n\n @param [#to_s] branch_name the target branch name.\n @return [Git::Branch] the target branch.", "tries to clone the given repo\n\n returns {:repository} (if bare)\n {:working_directory} otherwise\n\n accepts options:\n :bare:: no working directory\n :branch:: name of branch to track (rather than 'master')\n :depth:: the number of commits back to pull\n :origin:: name of remote (same as remote)\n :path:: directory where the repo will be cloned\n :remote:: name of remote (rather than 'origin')\n :recursive:: after the clone is created, initialize all submodules within, using their default settings.\n\n TODO - make this work with SSH password or auth_key\n\n READ COMMANDS \n\n Returns most recent tag that is reachable from a commit\n\n accepts options:\n :all\n :tags\n :contains\n :debug\n :exact_match\n :dirty\n :abbrev\n :candidates\n :long\n :always\n :math\n\n @param [String|NilClass] committish target commit sha or object name\n @param [{Symbol=>Object}] opts the given options\n @return [String] the tag name", "returns useful array of raw commit object data", "reads a tree into the current index file", "creates an archive file\n\n options\n :format (zip, tar)\n :prefix\n :remote\n :path", "returns the current version of git, as an Array of Fixnums.", "Returns an array holding the common options for the log commands\n\n @param [Hash] opts the given options\n @return [Array] the set of common options that the log command will use", "Retrurns an array holding path options for the log commands\n\n @param [Hash] opts the given options\n @return [Array] the set of path options that the log command will use", "returns +true+ if the branch exists locally", "returns +true+ if the branch exists remotely", "returns +true+ if the branch exists", "commits all pending changes in the index file to the git repository,\n but automatically adds all modified files without having to explicitly\n calling @git.add() on them.", "LOWER LEVEL INDEX OPERATIONS", "Returns a hash per row that includes the cell ids and values.\n Empty cells will be also included in the hash with a nil value.", "The unzipped XML file does not contain any node for empty cells.\n Empty cells are being padded in using this function", "Find drawing filepath for the current sheet.\n Sheet xml contains drawing relationship ID.\n Sheet relationships xml contains drawing file's location.", "Sends a report to Rollbar.\n\n Accepts any number of arguments. The last String argument will become\n the message or description of the report. The last Exception argument\n will become the associated exception for the report. The last hash\n argument will be used as the extra data for the report.\n\n If the extra hash contains a symbol key :custom_data_method_context\n the value of the key will be used as the context for\n configuration.custom_data_method and will be removed from the extra\n hash.\n\n @example\n begin\n foo = bar\n rescue => e\n Rollbar.log(e)\n end\n\n @example\n Rollbar.log('This is a simple log message')\n\n @example\n Rollbar.log(e, 'This is a description of the exception')", "We will reraise exceptions in this method so async queues\n can retry the job or, in general, handle an error report some way.\n\n At same time that exception is silenced so we don't generate\n infinite reports. This example is what we want to avoid:\n\n 1. New exception in a the project is raised\n 2. That report enqueued to Sidekiq queue.\n 3. The Sidekiq job tries to send the report to our API\n 4. The report fails, for example cause a network failure,\n and a exception is raised\n 5. We report an internal error for that exception\n 6. We reraise the exception so Sidekiq job fails and\n Sidekiq can retry the job reporting the original exception\n 7. Because the job failed and Sidekiq can be managed by rollbar we'll\n report a new exception.\n 8. Go to point 2.\n\n We'll then push to Sidekiq queue indefinitely until the network failure\n is fixed.\n\n Using Rollbar.silenced we avoid the above behavior but Sidekiq\n will have a chance to retry the original job.", "Reports an internal error in the Rollbar library. This will be reported within the configured\n Rollbar project. We'll first attempt to provide a report including the exception traceback.\n If that fails, we'll fall back to a more static failsafe response.", "Payload building functions", "force should only be used with care! currently only used when type is being refined to a subtype in a lexical scope", "merges bindings in self with bindings in other, preferring bindings in other if there is a common key", "other may not be a query", "Initializes TinyMCE on the current page based on the global configuration.\n\n Custom options can be set via the options hash, which will be passed to\n the TinyMCE init function.\n\n By default, all textareas with a class of \"tinymce\" will have the TinyMCE\n editor applied. The current locale will also be used as the language when\n TinyMCE language files are available, falling back to English if not\n available. The :editor_selector and :language options can be used to\n override these defaults.\n\n @example\n <%= tinymce(selector: \"editorClass\", theme: \"inlite\") %>", "Returns the JavaScript code required to initialize TinyMCE.", "Returns the JavaScript code for initializing each configuration defined within tinymce.yml.", "route for handle paranoid verification", "Is this password older than the configured expiration timeout?\n @return [Boolean]", "Set the page title and return it back.\n\n This method is best suited for use in helpers. It sets the page title\n and returns it (or +headline+ if specified).\n\n @param [nil, String, Array] title page title. When passed as an\n +Array+, parts will be joined using configured separator value\n (see {#display_meta_tags}). When nil, current title will be returned.\n @param [String] headline the value to return from method. Useful\n for using this method in views to set both page title\n and the content of heading tag.\n @return [String] returns +title+ value or +headline+ if passed.\n\n @example Set HTML title to \"Please login\", return \"Please login\"\n title 'Login Page'\n @example Set HTML title to \"Login Page\", return \"Please login\"\n title 'Login Page', 'Please login'\n @example Set title as array of strings\n title title: ['part1', 'part2'] # => \"part1 | part2\"\n @example Get current title\n title\n\n @see #display_meta_tags", "Recursively merges a Hash of meta tag attributes into current list.\n\n @param [Hash, #to_meta_tags] object Hash of meta tags (or object responding\n to #to_meta_tags and returning a hash) to merge into the current list.\n @return [Hash] result of the merge.", "Extracts full page title and deletes all related meta tags.\n\n @return [String] page title.", "Extracts page title as an array of segments without site title and separators.\n\n @return [Array] segments of page title.", "Extracts title separator as a string.\n\n @return [String] page title separator.", "Extracts noindex settings as a Hash mapping noindex tag name to value.\n\n @return [Hash] noindex attributes.", "Extracts noindex attribute name and value without deleting it from meta tags list.\n\n @param [String, Symbol] name noindex attribute name.\n @return [Array] pair of noindex attribute name and value.", "Append noarchive attribute if it present.\n\n @param [Hash] noindex noindex attributes.\n @return [Hash] modified noindex attributes.", "Convert array of arrays to hashes and concatenate values\n\n @param [Array] attributes list of noindex keys and values\n @return [Hash] hash of grouped noindex keys and values", "Initializes a new instance of Tag class.\n\n @param [String, Symbol] name HTML tag name\n @param [Hash] attributes list of HTML tag attributes\n\n Render tag into a Rails view.\n\n @param [ActionView::Base] view instance of a Rails view.\n @return [String] HTML string for the tag.", "Normalize description value.\n\n @param [String] description description string.\n @return [String] text with tags removed, squashed spaces, truncated\n to 200 characters.", "Normalize keywords value.\n\n @param [String, Array] keywords list of keywords as a string or Array.\n @return [String] list of keywords joined with comma, with tags removed.", "Strips all HTML tags from the +html+, including comments.\n\n @param [String] string HTML string.\n @return [String] html_safe string with no HTML tags.", "Removes HTML tags and squashes down all the spaces.\n\n @param [String] string input string.\n @return [String] input string with no HTML tags and consequent white\n space characters squashed into a single space.", "Cleans multiple strings up.\n\n @param [Array] strings input strings.\n @return [Array] clean strings.\n @see cleanup_string", "Truncates a string to a specific limit. Return string without truncation when limit 0 or nil\n\n @param [String] string input strings.\n @param [Integer,nil] limit characters number to truncate to.\n @param [String] natural_separator natural separator to truncate at.\n @return [String] truncated string.", "Truncates a string to a specific limit.\n\n @param [Array] string_array input strings.\n @param [Integer,nil] limit characters number to truncate to.\n @param [String] separator separator that will be used to join array later.\n @param [String] natural_separator natural separator to truncate at.\n @return [String] truncated string.", "Initialized a new instance of Renderer.\n\n @param [MetaTagsCollection] meta_tags meta tags object to render.\n\n Renders meta tags on the page.\n\n @param [ActionView::Base] view Rails view object.", "Renders charset tag.\n\n @param [Array] tags a buffer object to store tag in.", "Renders title tag.\n\n @param [Array] tags a buffer object to store tag in.", "Renders noindex and nofollow meta tags.\n\n @param [Array] tags a buffer object to store tag in.", "Renders refresh meta tag.\n\n @param [Array] tags a buffer object to store tag in.", "Renders alternate link tags.\n\n @param [Array] tags a buffer object to store tag in.", "Renders open_search link tag.\n\n @param [Array] tags a buffer object to store tag in.", "Renders links.\n\n @param [Array] tags a buffer object to store tag in.", "Renders complex hash objects.\n\n @param [Array] tags a buffer object to store tag in.", "Renders a complex hash object by key.\n\n @param [Array] tags a buffer object to store tag in.", "Renders custom meta tags.\n\n @param [Array] tags a buffer object to store tag in.", "Recursive method to process all the hashes and arrays on meta tags\n\n @param [Array] tags a buffer object to store tag in.\n @param [String, Symbol] property a Hash or a String to render as meta tag.\n @param [Hash, Array, String, Symbol] content text content or a symbol reference to\n top-level meta tag.", "Filter trackable URIs, i.e. absolute one with http", "Uses the stored location value from the cookie if it exists. If\n no cookie exists, calls out to the web service to get the location.", "Return a hash-representation of the given fields for this message type that\n is safe to convert to JSON.", "Generate a url that use to redirect user to Alipay payment page.\n\n Example:\n\n alipay_client.page_execute_url(\n method: 'alipay.trade.page.pay',\n biz_content: {\n out_trade_no: '20160401000000',\n product_code: 'FAST_INSTANT_TRADE_PAY',\n total_amount: '0.01',\n subject: 'test'\n }.to_json(ascii_only: true),\n timestamp: '2016-04-01 00:00:00'\n )\n # => 'https://openapi.alipaydev.com/gateway.do?app_id=2016...'", "Generate a form string that use to render in view and auto POST to\n Alipay server.\n\n Example:\n\n alipay_client.page_execute_form(\n method: 'alipay.trade.page.pay',\n biz_content: {\n out_trade_no: '20160401000000',\n product_code: 'FAST_INSTANT_TRADE_PAY',\n total_amount: '0.01',\n subject: 'test'\n }.to_json(ascii_only: true),\n timestamp: '2016-04-01 00:00:00'\n )\n # => '
'{ \"alipay_data_dataservice_bill_downloadurl_query_response\":{...'", "Generate sign for params.", "Verify Alipay notification.\n\n Example:\n\n params = {\n out_trade_no: '20160401000000',\n trade_status: 'TRADE_SUCCESS'\n sign_type: 'RSA2',\n sign: '...'\n }\n alipay_client.verify?(params)\n # => true / false", "This is a one-liner method to write a config setting, read the config\n setting, and also set a default value for the setting.", "Initialize the model class and builder", "Get the hash value of the client.\n\n @example Get the client hash value.\n client.hash\n\n @return [ Integer ] The client hash value.\n\n @since 2.0.0\n Instantiate a new driver client.\n\n @example Instantiate a single server or mongos client.\n Mongo::Client.new(['127.0.0.1:27017'])\n\n @example Instantiate a client for a replica set.\n Mongo::Client.new(['127.0.0.1:27017', '127.0.0.1:27021'])\n\n @example Directly connect to a mongod in a replica set\n Mongo::Client.new(['127.0.0.1:27017'], :connect => :direct)\n # without `:connect => :direct`, Mongo::Client will discover and\n # connect to the replica set if given the address of a server in\n # a replica set\n\n @param [ Array | String ] addresses_or_uri The array of server addresses in the\n form of host:port or a MongoDB URI connection string.\n @param [ Hash ] options The options to be used by the client.\n\n\n @option options [ String, Symbol ] :app_name Application name that is\n printed to the mongod logs upon establishing a connection in server\n versions >= 3.4.\n @option options [ Symbol ] :auth_mech The authentication mechanism to\n use. One of :mongodb_cr, :mongodb_x509, :plain, :scram, :scram256\n @option options [ Hash ] :auth_mech_properties\n @option options [ String ] :auth_source The source to authenticate from.\n @option options [ Array ] :compressors A list of potential\n compressors to use, in order of preference. The driver chooses the\n first compressor that is also supported by the server. Currently the\n driver only supports 'zlib'.\n @option options [ Symbol ] :connect The connection method to use. This\n forces the cluster to behave in the specified way instead of\n auto-discovering. One of :direct, :replica_set, :sharded\n @option options [ Float ] :connect_timeout The timeout, in seconds, to\n attempt a connection.\n @option options [ String ] :database The database to connect to.\n @option options [ Float ] :heartbeat_frequency The number of seconds for\n the server monitor to refresh it's description via ismaster.\n @option options [ Object ] :id_generator A custom object to generate ids\n for documents. Must respond to #generate.\n @option options [ Integer ] :local_threshold The local threshold boundary\n in seconds for selecting a near server for an operation.\n @option options [ Logger ] :logger A custom logger if desired.\n @option options [ Integer ] :max_idle_time The maximum seconds a socket can remain idle\n since it has been checked in to the pool.\n @option options [ Integer ] :max_pool_size The maximum size of the\n connection pool.\n @option options [ Integer ] :max_read_retries The maximum number of read\n retries when legacy read retries are in use.\n @option options [ Integer ] :max_write_retries The maximum number of write\n retries when legacy write retries are in use.\n @option options [ Integer ] :min_pool_size The minimum size of the\n connection pool.\n @option options [ true, false ] :monitoring If false is given, the\n client is initialized without global SDAM event subscribers and\n will not publish SDAM events. Command monitoring and legacy events\n will still be published, and the driver will still perform SDAM and\n monitor its cluster in order to perform server selection. Built-in\n driver logging of SDAM events will be disabled because it is\n implemented through SDAM event subscription. Client#subscribe will\n succeed for all event types, but subscribers to SDAM events will\n not be invoked. Values other than false result in default behavior\n which is to perform normal SDAM event publication.\n @option options [ true, false ] :monitoring_io For internal driver\n use only. Set to false to prevent SDAM-related I/O from being\n done by this client or servers under it. Note: setting this option\n to false will make the client non-functional. It is intended for\n use in tests which manually invoke SDAM state transitions.\n @option options [ String ] :password The user's password.\n @option options [ String ] :platform Platform information to include in\n the metadata printed to the mongod logs upon establishing a connection\n in server versions >= 3.4.\n @option options [ Hash ] :read The read preference options. The hash\n may have the following items:\n - *:mode* -- read preference specified as a symbol; valid values are\n *:primary*, *:primary_preferred*, *:secondary*, *:secondary_preferred*\n and *:nearest*.\n - *:tag_sets* -- an array of hashes.\n - *:local_threshold*.\n @option options [ Hash ] :read_concern The read concern option.\n @option options [ Float ] :read_retry_interval The interval, in seconds,\n in which reads on a mongos are retried.\n @option options [ Symbol ] :replica_set The name of the replica set to\n connect to. Servers not in this replica set will be ignored.\n @option options [ true | false ] :retry_reads If true, modern retryable\n reads are enabled (which is the default). If false, modern retryable\n reads are disabled and legacy retryable reads are enabled.\n @option options [ true | false ] :retry_writes Retry writes once when\n connected to a replica set or sharded cluster versions 3.6 and up.\n (Default is true.)\n @option options [ true | false ] :scan Whether to scan all seeds\n in constructor. The default in driver version 2.x is to do so;\n driver version 3.x will not scan seeds in constructor. Opt in to the\n new behavior by setting this option to false. *Note:* setting\n this option to nil enables scanning seeds in constructor in driver\n version 2.x. Driver version 3.x will recognize this option but\n will ignore it and will never scan seeds in the constructor.\n @option options [ Proc ] :sdam_proc A Proc to invoke with the client\n as the argument prior to performing server discovery and monitoring.\n Use this to set up SDAM event listeners to receive events dispatched\n during client construction.\n\n Note: the client is not fully constructed when sdam_proc is invoked,\n in particular the cluster is nil at this time. sdam_proc should\n limit itself to calling #subscribe and #unsubscribe methods on the\n client only.\n @option options [ Integer ] :server_selection_timeout The timeout in seconds\n for selecting a server for an operation.\n @option options [ Float ] :socket_timeout The timeout, in seconds, to\n execute operations on a socket.\n @option options [ true, false ] :ssl Whether to use SSL.\n @option options [ String ] :ssl_ca_cert The file containing concatenated\n certificate authority certificates used to validate certs passed from the\n other end of the connection. One of :ssl_ca_cert, :ssl_ca_cert_string or\n :ssl_ca_cert_object (in order of priority) is required for :ssl_verify.\n @option options [ Array ] :ssl_ca_cert_object An array of\n OpenSSL::X509::Certificate representing the certificate authority certificates used\n to validate certs passed from the other end of the connection. One of :ssl_ca_cert,\n :ssl_ca_cert_string or :ssl_ca_cert_object (in order of priority) is required for :ssl_verify.\n @option options [ String ] :ssl_ca_cert_string A string containing concatenated\n certificate authority certificates used to validate certs passed from the\n other end of the connection. One of :ssl_ca_cert, :ssl_ca_cert_string or\n :ssl_ca_cert_object (in order of priority) is required for :ssl_verify.\n @option options [ String ] :ssl_cert The certificate file used to identify\n the connection against MongoDB. This option, if present, takes precedence\n over the values of :ssl_cert_string and :ssl_cert_object\n @option options [ OpenSSL::X509::Certificate ] :ssl_cert_object The OpenSSL::X509::Certificate\n used to identify the connection against MongoDB\n @option options [ String ] :ssl_cert_string A string containing the PEM-encoded\n certificate used to identify the connection against MongoDB. This option, if present,\n takes precedence over the value of :ssl_cert_object\n @option options [ String ] :ssl_key The private keyfile used to identify the\n connection against MongoDB. Note that even if the key is stored in the same\n file as the certificate, both need to be explicitly specified. This option,\n if present, takes precedence over the values of :ssl_key_string and :ssl_key_object\n @option options [ OpenSSL::PKey ] :ssl_key_object The private key used to identify the\n connection against MongoDB\n @option options [ String ] :ssl_key_pass_phrase A passphrase for the private key.\n @option options [ String ] :ssl_key_string A string containing the PEM-encoded private key\n used to identify the connection against MongoDB. This parameter, if present,\n takes precedence over the value of option :ssl_key_object\n @option options [ true, false ] :ssl_verify Whether to perform peer certificate validation and\n hostname verification. Note that the decision of whether to validate certificates will be\n overridden if :ssl_verify_certificate is set, and the decision of whether to validate\n hostnames will be overridden if :ssl_verify_hostname is set.\n @option options [ true, false ] :ssl_verify_certificate Whether to perform peer certificate\n validation. This setting overrides :ssl_verify with respect to whether certificate\n validation is performed.\n @option options [ true, false ] :ssl_verify_hostname Whether to perform peer hostname\n validation. This setting overrides :ssl_verify with respect to whether hostname validation\n is performed.\n @option options [ true, false ] :truncate_logs Whether to truncate the\n logs at the default 250 characters.\n @option options [ String ] :user The user name.\n @option options [ Float ] :wait_queue_timeout The time to wait, in\n seconds, in the connection pool for a connection to be checked in.\n @option options [ Hash ] :write The write concern options. Can be :w =>\n Integer|String, :fsync => Boolean, :j => Boolean.\n @option options [ Integer ] :zlib_compression_level The Zlib compression level to use, if using compression.\n See Ruby's Zlib module for valid levels.\n\n @since 2.0.0\n @api private", "Creates a new client with the passed options merged over the existing\n options of this client. Useful for one-offs to change specific options\n without altering the original client.\n\n @note Depending on options given, the returned client may share the\n cluster with the original client or be created with a new cluster.\n If a new cluster is created, the monitoring event subscribers on\n the new client are set to the default event subscriber set and\n none of the subscribers on the original client are copied over.\n\n @example Get a client with changed options.\n client.with(:read => { :mode => :primary_preferred })\n\n @param [ Hash ] new_options The new options to use.\n\n @return [ Mongo::Client ] A new client instance.\n\n @since 2.0.0", "Reconnect the client.\n\n @example Reconnect the client.\n client.reconnect\n\n @return [ true ] Always true.\n\n @since 2.1.0", "Get the names of all databases.\n\n @example Get the database names.\n client.database_names\n\n @param [ Hash ] filter The filter criteria for getting a list of databases.\n @param [ Hash ] opts The command options.\n\n @return [ Array ] The names of the databases.\n\n @since 2.0.5", "Get info for each database.\n\n @example Get the info for each database.\n client.list_databases\n\n @param [ Hash ] filter The filter criteria for getting a list of databases.\n @param [ true, false ] name_only Whether to only return each database name without full metadata.\n @param [ Hash ] opts The command options.\n\n @return [ Array ] The info for each database.\n\n @since 2.0.5", "Start a session.\n\n If the deployment does not support sessions, raises\n Mongo::Error::InvalidSession. This exception can also be raised when\n the driver is not connected to a data-bearing server, for example\n during failover.\n\n @example Start a session.\n client.start_session(causal_consistency: true)\n\n @param [ Hash ] options The session options. Accepts the options\n that Session#initialize accepts.\n\n @note A Session cannot be used by multiple threads at once; session\n objects are not thread-safe.\n\n @return [ Session ] The session.\n\n @since 2.5.0", "Get the DBRef as a JSON document\n\n @example Get the DBRef as a JSON hash.\n dbref.as_json\n\n @return [ Hash ] The max key as a JSON hash.\n\n @since 2.1.0", "Instantiate a new DBRef.\n\n @example Create the DBRef.\n Mongo::DBRef.new('users', id, 'database')\n\n @param [ String ] collection The collection name.\n @param [ BSON::ObjectId ] id The object id.\n @param [ String ] database The database name.\n\n @since 2.1.0\n Converts the DBRef to raw BSON.\n\n @example Convert the DBRef to raw BSON.\n dbref.to_bson\n\n @param [ BSON::ByteBuffer ] buffer The encoded BSON buffer to append to.\n @param [ true, false ] validating_keys Whether keys should be validated when serializing.\n\n @return [ String ] The raw BSON.\n\n @since 2.1.0", "Disconnect all servers.\n\n @note Applications should call Client#close to disconnect from\n the cluster rather than calling this method. This method is for\n internal driver use only.\n\n @example Disconnect the cluster's servers.\n cluster.disconnect!\n\n @param [ Boolean ] wait Whether to wait for background threads to\n finish running.\n\n @return [ true ] Always true.\n\n @since 2.1.0", "Reconnect all servers.\n\n @example Reconnect the cluster's servers.\n cluster.reconnect!\n\n @return [ true ] Always true.\n\n @since 2.1.0\n @deprecated Use Client#reconnect to reconnect to the cluster instead of\n calling this method. This method does not send SDAM events.", "Force a scan of all known servers in the cluster.\n\n If the sync parameter is true which is the default, the scan is\n performed synchronously in the thread which called this method.\n Each server in the cluster is checked sequentially. If there are\n many servers in the cluster or they are slow to respond, this\n can be a long running operation.\n\n If the sync parameter is false, this method instructs all server\n monitor threads to perform an immediate scan and returns without\n waiting for scan results.\n\n @note In both synchronous and asynchronous scans, each monitor\n thread maintains a minimum interval between scans, meaning\n calling this method may not initiate a scan on a particular server\n the very next instant.\n\n @example Force a full cluster scan.\n cluster.scan!\n\n @return [ true ] Always true.\n\n @since 2.0.0", "Update the max cluster time seen in a response.\n\n @example Update the cluster time.\n cluster.update_cluster_time(result)\n\n @param [ Operation::Result ] result The operation result containing the cluster time.\n\n @return [ Object ] The cluster time.\n\n @since 2.5.0", "Add a server to the cluster with the provided address. Useful in\n auto-discovery of new servers when an existing server executes an ismaster\n and potentially non-configured servers were included.\n\n @example Add the server for the address to the cluster.\n cluster.add('127.0.0.1:27018')\n\n @param [ String ] host The address of the server to add.\n\n @option options [ Boolean ] :monitor For internal driver use only:\n whether to monitor the newly added server.\n\n @return [ Server ] The newly added server, if not present already.\n\n @since 2.0.0", "Remove the server from the cluster for the provided address, if it\n exists.\n\n @example Remove the server from the cluster.\n server.remove('127.0.0.1:27017')\n\n @param [ String ] host The host/port or socket address.\n\n @return [ true|false ] Whether any servers were removed.\n\n @since 2.0.0, return value added in 2.7.0", "Get a socket for the provided address, given the options.\n\n The address the socket connects to is determined by the algorithm described in the\n #intialize_resolver! documentation. Each time this method is called, #initialize_resolver!\n will be called, meaning that a new hostname lookup will occur. This is done so that any\n changes to which addresses the hostname resolves to will be picked up even if a socket has\n been connected to it before.\n\n @example Get a socket.\n address.socket(5, :ssl => true)\n\n @param [ Float ] socket_timeout The socket timeout.\n @param [ Hash ] ssl_options SSL options.\n @param [ Hash ] options The options.\n\n @option options [ Float ] :connect_timeout Connect timeout.\n\n @return [ Mongo::Socket::SSL, Mongo::Socket::TCP, Mongo::Socket::Unix ] The socket.\n\n @since 2.0.0", "Execute the bulk write operation.\n\n @example Execute the bulk write.\n bulk_write.execute\n\n @return [ Mongo::BulkWrite::Result ] The result.\n\n @since 2.1.0", "Convenience helper to find a server by it's URI.\n\n @since 2.0.0", "Applies URI value transformation by either using the default cast\n or a transformation appropriate for the given type.\n\n @param key [String] URI option name.\n @param value [String] The value to be transformed.\n @param type [Symbol] The transform method.", "Merges a new option into the target.\n\n If the option exists at the target destination the merge will\n be an addition.\n\n Specifically required to append an additional tag set\n to the array of tag sets without overwriting the original.\n\n @param target [Hash] The destination.\n @param value [Object] The value to be merged.\n @param name [Symbol] The name of the option.", "Adds an option to the uri options hash via the supplied strategy.\n\n Acquires a target for the option based on group.\n Transforms the value.\n Merges the option into the target.\n\n @param key [String] URI option name.\n @param strategy [Symbol] The strategy for this option.\n @param value [String] The value of the option.\n @param uri_options [Hash] The base option target.", "Auth mechanism properties extractor.\n\n @param value [ String ] The auth mechanism properties string.\n\n @return [ Hash ] The auth mechanism properties hash.", "Parses the zlib compression level.\n\n @param value [ String ] The zlib compression level string.\n\n @return [ Integer | nil ] The compression level value if it is between -1 and 9 (inclusive),\n otherwise nil (and a warning will be logged).", "Parses a boolean value and returns its inverse.\n\n @param value [ String ] The URI option value.\n\n @return [ true | false | nil ] The inverse of the boolean value parsed out, otherwise nil\n (and a warning will be logged).", "Parses the max staleness value, which must be either \"0\" or an integer greater or equal to 90.\n\n @param value [ String ] The max staleness string.\n\n @return [ Integer | nil ] The max staleness integer parsed out if it is valid, otherwise nil\n (and a warning will be logged).", "Extract values from the string and put them into a nested hash.\n\n @param value [ String ] The string to build a hash from.\n\n @return [ Hash ] The hash built from the string.", "Iterate through documents returned from the query.\n\n @example Iterate over the documents in the cursor.\n cursor.each do |doc|\n ...\n end\n\n @return [ Enumerator ] The enumerator.\n\n @since 2.0.0", "Disconnect the server from the connection.\n\n @example Disconnect the server.\n server.disconnect!\n\n @param [ Boolean ] wait Whether to wait for background threads to\n finish running.\n\n @return [ true ] Always true with no exception.\n\n @since 2.0.0", "Start monitoring the server.\n\n Used internally by the driver to add a server to a cluster\n while delaying monitoring until the server is in the cluster.\n\n @api private", "Determine if the provided tags are a subset of the server's tags.\n\n @example Are the provided tags a subset of the server's tags.\n server.matches_tag_set?({ 'rack' => 'a', 'dc' => 'nyc' })\n\n @param [ Hash ] tag_set The tag set to compare to the server's tags.\n\n @return [ true, false ] If the provided tags are a subset of the server's tags.\n\n @since 2.0.0", "Handle authentication failure.\n\n @example Handle possible authentication failure.\n server.handle_auth_failure! do\n Auth.get(user).login(self)\n end\n\n @raise [ Auth::Unauthorized ] If the authentication failed.\n\n @return [ Object ] The result of the block execution.\n\n @since 2.3.0", "Load a json file and represent each document as a Hash.\n\n @example Load a file.\n Benchmarking.load_file(file_name)\n\n @param [ String ] The file name.\n\n @return [ Array ] A list of extended-json documents.\n\n @since 2.2.3", "Get the authorization strategy for the provided auth mechanism.\n\n @example Get the strategy.\n Auth.get(user)\n\n @param [ Auth::User ] user The user object.\n\n @return [ CR, X509, LDAP, Kerberos ] The auth strategy.\n\n @since 2.0.0", "Publish a started event.\n\n @example Publish a started event.\n monitoring.started(COMMAND, event)\n\n @param [ String ] topic The event topic.\n @param [ Event ] event The event to publish.\n\n @since 2.1.0", "Publish a succeeded event.\n\n @example Publish a succeeded event.\n monitoring.succeeded(COMMAND, event)\n\n @param [ String ] topic The event topic.\n @param [ Event ] event The event to publish.\n\n @since 2.1.0", "Publish a failed event.\n\n @example Publish a failed event.\n monitoring.failed(COMMAND, event)\n\n @param [ String ] topic The event topic.\n @param [ Event ] event The event to publish.\n\n @since 2.1.0", "Create a write concern object for the provided options.\n\n @example Get a write concern.\n Mongo::WriteConcern.get(:w => 1)\n\n @param [ Hash ] options The options to instantiate with.\n\n @option options :w [ Integer, String ] The number of servers or the\n custom mode to acknowledge.\n @option options :j [ true, false ] Whether to acknowledge a write to\n the journal.\n @option options :fsync [ true, false ] Should the write be synced to\n disc.\n @option options :wtimeout [ Integer ] The number of milliseconds to\n wait for acknowledgement before raising an error.\n\n @return [ Unacknowledged, Acknowledged ] The appropriate concern.\n\n @raise [ Error::InvalidWriteConcern ] If the options are invalid.\n\n @since 2.0.0", "Execute a command on the database.\n\n @example Execute a command.\n database.command(:ismaster => 1)\n\n @param [ Hash ] operation The command to execute.\n @param [ Hash ] opts The command options.\n\n @option opts :read [ Hash ] The read preference for this command.\n @option opts :session [ Session ] The session to use for this command.\n\n @return [ Hash ] The result of the command execution.", "Drop the database and all its associated information.\n\n @example Drop the database.\n database.drop\n\n @param [ Hash ] options The options for the operation.\n\n @option options [ Session ] :session The session to use for the operation.\n\n @return [ Result ] The result of the command.\n\n @since 2.0.0", "Create the new socket for the provided family - ipv4, piv6, or unix.\n\n @example Create a new ipv4 socket.\n Socket.new(Socket::PF_INET)\n\n @param [ Integer ] family The socket domain.\n\n @since 2.0.0\n Will read all data from the socket for the provided number of bytes.\n If no data is returned, an exception will be raised.\n\n @example Read all the requested data from the socket.\n socket.read(4096)\n\n @param [ Integer ] length The number of bytes to read.\n\n @raise [ Mongo::SocketError ] If not all data is returned.\n\n @return [ Object ] The data from the socket.\n\n @since 2.0.0", "End this session.\n\n @example\n session.end_session\n\n @return [ nil ] Always nil.\n\n @since 2.5.0", "Add the transaction number to a command document if applicable.\n\n @example\n session.add_txn_num!(cmd)\n\n @return [ Hash, BSON::Document ] The command document.\n\n @since 2.6.0\n @api private", "Add the transactions options if applicable.\n\n @example\n session.add_txn_opts!(cmd)\n\n @return [ Hash, BSON::Document ] The command document.\n\n @since 2.6.0\n @api private", "Ensure that the read preference of a command primary.\n\n @example\n session.validate_read_preference!(command)\n\n @raise [ Mongo::Error::InvalidTransactionOperation ] If the read preference of the command is\n not primary.\n\n @since 2.6.0\n @api private", "Places subsequent operations in this session into a new transaction.\n\n Note that the transaction will not be started on the server until an\n operation is performed after start_transaction is called.\n\n @example Start a new transaction\n session.start_transaction(options)\n\n @param [ Hash ] options The options for the transaction being started.\n\n @option options [ Hash ] read_concern The read concern options hash,\n with the following optional keys:\n - *:level* -- the read preference level as a symbol; valid values\n are *:local*, *:majority*, and *:snapshot*\n @option options [ Hash ] :write_concern The write concern options. Can be :w =>\n Integer|String, :fsync => Boolean, :j => Boolean.\n @option options [ Hash ] :read The read preference options. The hash may have the following\n items:\n - *:mode* -- read preference specified as a symbol; the only valid value is\n *:primary*.\n\n @raise [ Error::InvalidTransactionOperation ] If a transaction is already in\n progress or if the write concern is unacknowledged.\n\n @since 2.6.0", "Commit the currently active transaction on the session.\n\n @example Commits the transaction.\n session.commit_transaction\n\n @option options :write_concern [ nil | WriteConcern::Base ] The write\n concern to use for this operation.\n\n @raise [ Error::InvalidTransactionOperation ] If there is no active transaction.\n\n @since 2.6.0", "Abort the currently active transaction without making any changes to the database.\n\n @example Abort the transaction.\n session.abort_transaction\n\n @raise [ Error::InvalidTransactionOperation ] If there is no active transaction.\n\n @since 2.6.0", "Executes the provided block in a transaction, retrying as necessary.\n\n Returns the return value of the block.\n\n Exact number of retries and when they are performed are implementation\n details of the driver; the provided block should be idempotent, and\n should be prepared to be called more than once. The driver may retry\n the commit command within an active transaction or it may repeat the\n transaction and invoke the block again, depending on the error\n encountered if any. Note also that the retries may be executed against\n different servers.\n\n Transactions cannot be nested - InvalidTransactionOperation will be raised\n if this method is called when the session already has an active transaction.\n\n Exceptions raised by the block which are not derived from Mongo::Error\n stop processing, abort the transaction and are propagated out of\n with_transaction. Exceptions derived from Mongo::Error may be\n handled by with_transaction, resulting in retries of the process.\n\n Currently, with_transaction will retry commits and block invocations\n until at least 120 seconds have passed since with_transaction started\n executing. This timeout is not configurable and may change in a future\n driver version.\n\n @note with_transaction contains a loop, therefore the if with_transaction\n itself is placed in a loop, its block should not call next or break to\n control the outer loop because this will instead affect the loop in\n with_transaction. The driver will warn and abort the transaction\n if it detects this situation.\n\n @example Execute a statement in a transaction\n session.with_transaction(write_concern: {w: :majority}) do\n collection.update_one({ id: 3 }, { '$set' => { status: 'Inactive'} },\n session: session)\n\n end\n\n @example Execute a statement in a transaction, limiting total time consumed\n Timeout.timeout(5) do\n session.with_transaction(write_concern: {w: :majority}) do\n collection.update_one({ id: 3 }, { '$set' => { status: 'Inactive'} },\n session: session)\n\n end\n end\n\n @param [ Hash ] options The options for the transaction being started.\n These are the same options that start_transaction accepts.\n\n @raise [ Error::InvalidTransactionOperation ] If a transaction is already in\n progress or if the write concern is unacknowledged.\n\n @since 2.7.0", "Get the read preference the session will use in the currently\n active transaction.\n\n This is a driver style hash with underscore keys.\n\n @example Get the transaction's read preference\n session.txn_read_preference\n\n @return [ Hash ] The read preference of the transaction.\n\n @since 2.6.0", "Create a server selector object.\n\n @example Get a server selector object for selecting a secondary with\n specific tag sets.\n Mongo::ServerSelector.get(:mode => :secondary, :tag_sets => [{'dc' => 'nyc'}])\n\n @param [ Hash ] preference The server preference.\n\n @since 2.0.0", "Execute a read operation returning a cursor with retrying.\n\n This method performs server selection for the specified server selector\n and yields to the provided block, which should execute the initial\n query operation and return its result. The block will be passed the\n server selected for the operation. If the block raises an exception,\n and this exception corresponds to a read retryable error, and read\n retries are enabled for the client, this method will perform server\n selection again and yield to the block again (with potentially a\n different server). If the block returns successfully, the result\n of the block (which should be a Mongo::Operation::Result) is used to\n construct a Mongo::Cursor object for the result set. The cursor\n is then returned.\n\n If modern retry reads are on (which is the default), the initial read\n operation will be retried once. If legacy retry reads are on, the\n initial read operation will be retried zero or more times depending\n on the :max_read_retries client setting, the default for which is 1.\n To disable read retries, turn off modern read retries by setting\n retry_reads: false and set :max_read_retries to 0 on the client.\n\n @api private\n\n @example Execute a read returning a cursor.\n cursor = read_with_retry_cursor(session, server_selector, view) do |server|\n # return a Mongo::Operation::Result\n ...\n end\n\n @param [ Mongo::Session ] session The session that the operation is being\n run on.\n @param [ Mongo::ServerSelector::Selectable ] server_selector Server\n selector for the operation.\n @param [ CollectionView ] view The +CollectionView+ defining the query.\n @param [ Proc ] block The block to execute.\n\n @return [ Cursor ] The cursor for the result set.", "Execute a read operation with retrying.\n\n This method performs server selection for the specified server selector\n and yields to the provided block, which should execute the initial\n query operation and return its result. The block will be passed the\n server selected for the operation. If the block raises an exception,\n and this exception corresponds to a read retryable error, and read\n retries are enabled for the client, this method will perform server\n selection again and yield to the block again (with potentially a\n different server). If the block returns successfully, the result\n of the block is returned.\n\n If modern retry reads are on (which is the default), the initial read\n operation will be retried once. If legacy retry reads are on, the\n initial read operation will be retried zero or more times depending\n on the :max_read_retries client setting, the default for which is 1.\n To disable read retries, turn off modern read retries by setting\n retry_reads: false and set :max_read_retries to 0 on the client.\n\n @api private\n\n @example Execute the read.\n read_with_retry(session, server_selector) do |server|\n ...\n end\n\n @param [ Mongo::Session ] session The session that the operation is being\n run on.\n @param [ Mongo::ServerSelector::Selectable ] server_selector Server\n selector for the operation.\n @param [ Proc ] block The block to execute.\n\n @return [ Result ] The result of the operation.", "Execute a read operation with a single retry on network errors.\n\n This method is used by the driver for some of the internal housekeeping\n operations. Application-requested reads should use read_with_retry\n rather than this method.\n\n @api private\n\n @example Execute the read.\n read_with_one_retry do\n ...\n end\n\n @note This only retries read operations on socket errors.\n\n @param [ Hash ] options Options.\n @param [ Proc ] block The block to execute.\n\n @option options [ String ] :retry_message Message to log when retrying.\n\n @return [ Result ] The result of the operation.\n\n @since 2.2.6", "Implements write retrying functionality by yielding to the passed\n block one or more times.\n\n If the session is provided (hence, the deployment supports sessions),\n and modern retry writes are enabled on the client, the modern retry\n logic is invoked. Otherwise the legacy retry logic is invoked.\n\n If ending_transaction parameter is true, indicating that a transaction\n is being committed or aborted, the operation is executed exactly once.\n Note that, since transactions require sessions, this method will raise\n ArgumentError if ending_transaction is true and session is nil.\n\n @api private\n\n @example Execute the write.\n write_with_retry do\n ...\n end\n\n @note This only retries operations on not master failures, since it is\n the only case we can be sure a partial write did not already occur.\n\n @param [ nil | Session ] session Optional session to use with the operation.\n @param [ nil | Hash | WriteConcern::Base ] write_concern The write concern.\n @param [ true | false ] ending_transaction True if the write operation is abortTransaction or\n commitTransaction, false otherwise.\n @param [ Proc ] block The block to execute.\n\n @yieldparam [ Server ] server The server to which the write should be sent.\n @yieldparam [ Integer ] txn_num Transaction number (NOT the ACID kind).\n\n @return [ Result ] The result of the operation.\n\n @since 2.1.0", "Log a warning so that any application slow down is immediately obvious.", "Force the collection to be created in the database.\n\n @example Force the collection to be created.\n collection.create\n\n @param [ Hash ] opts The options for the create operation.\n\n @option options [ Session ] :session The session to use for the operation.\n\n @return [ Result ] The result of the command.\n\n @since 2.0.0", "Drop the collection. Will also drop all indexes associated with the\n collection.\n\n @note An error returned if the collection doesn't exist is suppressed.\n\n @example Drop the collection.\n collection.drop\n\n @param [ Hash ] opts The options for the drop operation.\n\n @option options [ Session ] :session The session to use for the operation.\n\n @return [ Result ] The result of the command.\n\n @since 2.0.0", "Get a list of distinct values for a specific field.\n\n @example Get the distinct values.\n collection.distinct('name')\n\n @param [ Symbol, String ] field_name The name of the field.\n @param [ Hash ] filter The documents from which to retrieve the distinct values.\n @param [ Hash ] options The distinct command options.\n\n @option options [ Integer ] :max_time_ms The maximum amount of time to allow the command to run.\n @option options [ Hash ] :read The read preference options.\n @option options [ Hash ] :collation The collation to use.\n @option options [ Session ] :session The session to use.\n\n @return [ Array ] The list of distinct values.\n\n @since 2.1.0", "Insert a single document into the collection.\n\n @example Insert a document into the collection.\n collection.insert_one({ name: 'test' })\n\n @param [ Hash ] document The document to insert.\n @param [ Hash ] opts The insert options.\n\n @option opts [ Session ] :session The session to use for the operation.\n\n @return [ Result ] The database response wrapper.\n\n @since 2.0.0", "Insert the provided documents into the collection.\n\n @example Insert documents into the collection.\n collection.insert_many([{ name: 'test' }])\n\n @param [ Array ] documents The documents to insert.\n @param [ Hash ] options The insert options.\n\n @option options [ Session ] :session The session to use for the operation.\n\n @return [ Result ] The database response wrapper.\n\n @since 2.0.0", "Replaces a single document in the collection with the new document.\n\n @example Replace a single document.\n collection.replace_one({ name: 'test' }, { name: 'test1' })\n\n @param [ Hash ] filter The filter to use.\n @param [ Hash ] replacement The replacement document..\n @param [ Hash ] options The options.\n\n @option options [ true, false ] :upsert Whether to upsert if the\n document doesn't exist.\n @option options [ true, false ] :bypass_document_validation Whether or\n not to skip document level validation.\n @option options [ Hash ] :collation The collation to use.\n @option options [ Session ] :session The session to use.\n\n @return [ Result ] The response from the database.\n\n @since 2.1.0", "Update documents in the collection.\n\n @example Update multiple documents in the collection.\n collection.update_many({ name: 'test'}, '$set' => { name: 'test1' })\n\n @param [ Hash ] filter The filter to use.\n @param [ Hash ] update The update statement.\n @param [ Hash ] options The options.\n\n @option options [ true, false ] :upsert Whether to upsert if the\n document doesn't exist.\n @option options [ true, false ] :bypass_document_validation Whether or\n not to skip document level validation.\n @option options [ Hash ] :collation The collation to use.\n @option options [ Array ] :array_filters A set of filters specifying to which array elements\n an update should apply.\n @option options [ Session ] :session The session to use.\n\n @return [ Result ] The response from the database.\n\n @since 2.1.0", "Update a single document in the collection.\n\n @example Update a single document in the collection.\n collection.update_one({ name: 'test'}, '$set' => { name: 'test1'})\n\n @param [ Hash ] filter The filter to use.\n @param [ Hash ] update The update statement.\n @param [ Hash ] options The options.\n\n @option options [ true, false ] :upsert Whether to upsert if the\n document doesn't exist.\n @option options [ true, false ] :bypass_document_validation Whether or\n not to skip document level validation.\n @option options [ Hash ] :collation The collation to use.\n @option options [ Array ] :array_filters A set of filters specifying to which array elements\n an update should apply.\n @option options [ Session ] :session The session to use.\n\n @return [ Result ] The response from the database.\n\n @since 2.1.0", "Finds a single document via findAndModify and updates it, returning the original doc unless\n otherwise specified.\n\n @example Find a document and update it, returning the original.\n collection.find_one_and_update({ name: 'test' }, { \"$set\" => { name: 'test1' }})\n\n @example Find a document and update it, returning the updated document.\n collection.find_one_and_update({ name: 'test' }, { \"$set\" => { name: 'test1' }}, :return_document => :after)\n\n @param [ Hash ] filter The filter to use.\n @param [ BSON::Document ] update The update statement.\n @param [ Hash ] options The options.\n\n @option options [ Integer ] :max_time_ms The maximum amount of time to allow the command\n to run in milliseconds.\n @option options [ Hash ] :projection The fields to include or exclude in the returned doc.\n @option options [ Hash ] :sort The key and direction pairs by which the result set\n will be sorted.\n @option options [ Symbol ] :return_document Either :before or :after.\n @option options [ true, false ] :upsert Whether to upsert if the document doesn't exist.\n @option options [ true, false ] :bypass_document_validation Whether or\n not to skip document level validation.\n @option options [ Hash ] :write_concern The write concern options.\n Defaults to the collection's write concern.\n @option options [ Hash ] :collation The collation to use.\n @option options [ Array ] :array_filters A set of filters specifying to which array elements\n an update should apply.\n @option options [ Session ] :session The session to use.\n\n @return [ BSON::Document ] The document.\n\n @since 2.1.0", "Finds a single document and replaces it, returning the original doc unless\n otherwise specified.\n\n @example Find a document and replace it, returning the original.\n collection.find_one_and_replace({ name: 'test' }, { name: 'test1' })\n\n @example Find a document and replace it, returning the new document.\n collection.find_one_and_replace({ name: 'test' }, { name: 'test1' }, :return_document => :after)\n\n @param [ Hash ] filter The filter to use.\n @param [ BSON::Document ] replacement The replacement document.\n @param [ Hash ] options The options.\n\n @option options [ Integer ] :max_time_ms The maximum amount of time to allow the command\n to run in milliseconds.\n @option options [ Hash ] :projection The fields to include or exclude in the returned doc.\n @option options [ Hash ] :sort The key and direction pairs by which the result set\n will be sorted.\n @option options [ Symbol ] :return_document Either :before or :after.\n @option options [ true, false ] :upsert Whether to upsert if the document doesn't exist.\n @option options [ true, false ] :bypass_document_validation Whether or\n not to skip document level validation.\n @option options [ Hash ] :write_concern The write concern options.\n Defaults to the collection's write concern.\n @option options [ Hash ] :collation The collation to use.\n @option options [ Session ] :session The session to use.\n\n @return [ BSON::Document ] The document.\n\n @since 2.1.0", "render bad params to user\n @overload render_bad_parameters()\n render bad_parameters with `default_message` and status `400`\n @overload render_bad_parameters(message)\n render bad_parameters with `message` and status `400`\n @param [String] message\n @overload render_bad_parameters(error)\n render bad_parameters with `error.message` and `error.status_code` if present\n @param [Exception] error\n @overload render_bad_parameters(error, message)\n add `message` to overload `exception.message`\n @param [String] message\n @param [Exception] error", "used in unit tests", "creates new env from create_params with self as a prior", "Unlike path which only gives the path from this environment going forward\n Get the full path, that is go to the HEAD of the path this environment is on\n and then give me that entire path", "Generic method to provide a list of options in the UI", "loop through checkbox list of products and sync", "Returns true if the pulp_task_id was triggered by the last synchronization\n action for the repository. Dynflow action handles the synchronization\n by it's own so no need to synchronize it again in this callback. Since the\n callbacks are run just after synchronization is finished, it should be enough\n to check for the last synchronization task.", "deleteable? is already taken by the authorization mixin", "Warning this call wipes out existing associations\n And replaces them with the component version ids passed in.", "get the library instances of all repos within this view", "Associate an environment with this content view. This can occur whenever\n a version of the view is promoted to an environment. It is necessary for\n candlepin to become aware that the view is available for consumers.", "Unassociate an environment from this content view. This can occur whenever\n a view is deleted from an environment. It is necessary to make candlepin\n aware that the view is no longer available for consumers.", "Possible formats coming from pulp\n\n We ignore this case:\n {'finished_count' => {}}\n\n We extract from this case:\n {'content' => {'error' => ''},\n 'errata' => {'error' => ''},\n 'packages' => {'error' => ''},\n 'metadata' => {'error_details => ''}\n }", "returns copy of data stored", "Update remotes\n Perform validation", "Subscribe to one or more topics letting Kafka handle partition assignments.\n\n @param topics [Array] One or more topic names\n\n @raise [RdkafkaError] When subscribing fails\n\n @return [nil]", "Unsubscribe from all subscribed topics.\n\n @raise [RdkafkaError] When unsubscribing fails\n\n @return [nil]", "Pause producing or consumption for the provided list of partitions\n\n @param list [TopicPartitionList] The topic with partitions to pause\n\n @raise [RdkafkaTopicPartitionListError] When pausing subscription fails.\n\n @return [nil]", "Resume producing consumption for the provided list of partitions\n\n @param list [TopicPartitionList] The topic with partitions to pause\n\n @raise [RdkafkaError] When resume subscription fails.\n\n @return [nil]", "Return the current subscription to topics and partitions\n\n @raise [RdkafkaError] When getting the subscription fails.\n\n @return [TopicPartitionList]", "Atomic assignment of partitions to consume\n\n @param list [TopicPartitionList] The topic with partitions to assign\n\n @raise [RdkafkaError] When assigning fails", "Return the current committed offset per partition for this consumer group.\n The offset field of each requested partition will either be set to stored offset or to -1001 in case there was no stored offset for that partition.\n\n @param list [TopicPartitionList, nil] The topic with partitions to get the offsets for or nil to use the current subscription.\n @param timeout_ms [Integer] The timeout for fetching this information.\n\n @raise [RdkafkaError] When getting the committed positions fails.\n\n @return [TopicPartitionList]", "Store offset of a message to be used in the next commit of this consumer\n\n When using this `enable.auto.offset.store` should be set to `false` in the config.\n\n @param message [Rdkafka::Consumer::Message] The message which offset will be stored\n\n @raise [RdkafkaError] When storing the offset fails\n\n @return [nil]", "Commit the current offsets of this consumer\n\n @param list [TopicPartitionList,nil] The topic with partitions to commit\n @param async [Boolean] Whether to commit async or wait for the commit to finish\n\n @raise [RdkafkaError] When comitting fails\n\n @return [nil]", "Poll for the next message on one of the subscribed topics\n\n @param timeout_ms [Integer] Timeout of this poll\n\n @raise [RdkafkaError] When polling fails\n\n @return [Message, nil] A message or nil if there was no new message within the timeout", "Create a consumer with this configuration.\n\n @raise [ConfigError] When the configuration contains invalid options\n @raise [ClientCreationError] When the native client cannot be created\n\n @return [Consumer] The created consumer", "Create a producer with this configuration.\n\n @raise [ConfigError] When the configuration contains invalid options\n @raise [ClientCreationError] When the native client cannot be created\n\n @return [Producer] The created producer", "This method is only intented to be used to create a client,\n using it in another way will leak memory.", "Searches upwards from current working directory for the given target file.\n\n @param target [String] Name of file to search for.\n @param start_dir [String] Directory to start searching from, defaults to Dir.pwd\n\n @return [String, nil] Fully qualified path to the given target file if found,\n nil if the target file could not be found.", "Generate a name for a temporary directory.\n\n @param base [String] A string to base the name generation off.\n\n @return [String] The temporary directory path.", "Return an expanded, absolute path\n\n @param path [String] Existing path that may not be canonical\n\n @return [String] Canonical path", "Returns the fully qualified path to a per-user PDK cachedir.\n\n @return [String] Fully qualified path to per-user PDK cachedir.", "Returns path to the root of the module being worked on.\n\n @return [String, nil] Fully qualified base path to module, or nil if\n the current working dir does not appear to be within a module.", "Iterate through possible JSON documents until we find one that is valid.\n\n @param [String] text the text in which to find a JSON document\n @param [Hash] opts options\n @option opts [Boolean] :break_on_first Whether or not to break after valid JSON is found, defaults to true\n\n @return [Hash, Array, nil] subset of text as Hash of first valid JSON found, array of all valid JSON found, or nil if no valid\n JSON found in the text\n\n @private", "Returns the targets' paths relative to the working directory\n\n @return [Array] The absolute or path to the target", "Renders the report as a JUnit XML document.\n\n @param target [#write] an IO object that the report will be written to.\n Defaults to PDK::Report.default_target.", "Renders the report as plain text.\n\n This report is designed for interactive use by a human and so excludes\n all passing events in order to be consise.\n\n @param target [#write] an IO object that the report will be written to.\n Defaults to PDK::Report.default_target.", "Update the stored answers in memory and then save them to disk.\n\n @param new_answers [Hash{String => Object}] The new questions and answers\n to be merged into the existing answers.\n\n @raise [PDK::CLI::FatalError] if the new answers are not provided as\n a Hash.\n @raise (see #save_to_disk)", "Read existing answers into memory from the answer file on disk.\n\n @raise [PDK::CLI::FatalError] If the answer file exists but can not be\n read.\n\n @return [Hash{String => Object}] The existing questions and answers.", "Save the in memory answer set to the answer file on disk.\n\n @raise [PDK::CLI::FatalError] if the answer file can not be written to.", "Reads the content of the template file into memory.\n\n @return [String] The content of the template file.\n\n @raise [ArgumentError] If the template file does not exist or can not be\n read.\n\n @api private", "Renders the content of the template file as an ERB template.\n\n @return [String] The rendered template.\n\n @raise (see #template_content)\n\n @api private", "If the attribute is not set, add it\n If the attribute is set, don't overwrite the existing value", "Returns a plain-text version of the markup contained by the document,\n with HTML entities encoded.\n\n This method is significantly faster than #to_text, but isn't\n clever about whitespace around block elements.\n\n Loofah.document(\"

Title

Content
\").text\n # => \"TitleContent\"\n\n By default, the returned text will have HTML entities\n escaped. If you want unescaped entities, and you understand\n that the result is unsafe to render in a browser, then you\n can pass an argument as shown:\n\n frag = Loofah.fragment(\"<script>alert('EVIL');</script>\")\n # ok for browser:\n frag.text # => \"<script>alert('EVIL');</script>\"\n # decidedly not ok for browser:\n frag.text(:encode_special_chars => false) # => \"\"", "Add an option.\n\n Options are parsed via OptionParser so view it\n for additional usage documentation. A block may optionally be\n passed to handle the option, otherwise the _options_ struct seen below\n contains the results of this option. This handles common formats such as:\n\n -h, --help options.help # => bool\n --[no-]feature options.feature # => bool\n --large-switch options.large_switch # => bool\n --file FILE options.file # => file passed\n --list WORDS options.list # => array\n --date [DATE] options.date # => date or nil when optional argument not set\n\n === Examples\n\n command :something do |c|\n c.option '--recursive', 'Do something recursively'\n c.option '--file FILE', 'Specify a file'\n c.option('--info', 'Display info') { puts \"handle with block\" }\n c.option '--[no-]feature', 'With or without feature'\n c.option '--list FILES', Array, 'List the files specified'\n\n c.when_called do |args, options|\n do_something_recursively if options.recursive\n do_something_with_file options.file if options.file\n end\n end\n\n === Help Formatters\n\n This method also parses the arguments passed in order to determine\n which were switches, and which were descriptions for the\n option which can later be used within help formatters\n using option[:switches] and option[:description].\n\n === Input Parsing\n\n Since Commander utilizes OptionParser you can pre-parse and evaluate\n option arguments. Simply require 'optparse/time', or 'optparse/date', as these\n objects must respond to #parse.\n\n c.option '--time TIME', Time\n c.option '--date [DATE]', Date", "Call the commands when_called block with _args_.", "Run command parsing and execution process.", "Assign program information.\n\n === Examples\n\n # Set data\n program :name, 'Commander'\n program :version, Commander::VERSION\n program :description, 'Commander utility program.'\n program :help, 'Copyright', '2008 TJ Holowaychuk'\n program :help, 'Anything', 'You want'\n program :int_message 'Bye bye!'\n program :help_formatter, :compact\n program :help_formatter, Commander::HelpFormatter::TerminalCompact\n\n # Get data\n program :name # => 'Commander'\n\n === Keys\n\n :version (required) Program version triple, ex: '0.0.1'\n :description (required) Program description\n :name Program name, defaults to basename of executable\n :help_formatter Defaults to Commander::HelpFormatter::Terminal\n :help Allows addition of arbitrary global help blocks\n :help_paging Flag for toggling help paging\n :int_message Message to display when interrupted (CTRL + C)", "Alias command _name_ with _alias_name_. Optionally _args_ may be passed\n as if they were being passed straight to the original command via the command-line.", "Return arguments without the command name.", "Removes global _options_ from _args_. This prevents an invalid\n option error from occurring when options are parsed\n again for the command.", "Parse global command options.", "Raises a CommandError when the program any of the _keys_ are not present, or empty.", "Run the active command.", "Prompt an editor for input. Optionally supply initial\n _input_ which is written to the editor.\n\n _preferred_editor_ can be hinted.\n\n === Examples\n\n ask_editor # => prompts EDITOR with no input\n ask_editor('foo') # => prompts EDITOR with default text of 'foo'\n ask_editor('foo', 'mate -w') # => prompts TextMate with default text of 'foo'", "Enable paging of output after called.", "Output progress while iterating _arr_.\n\n === Examples\n\n uris = %w( http://vision-media.ca http://google.com )\n progress uris, :format => \"Remaining: :time_remaining\" do |uri|\n res = open uri\n end", "Substitute _hash_'s keys with their associated values in _str_.", "The ruby aws-sdk expects symbols for keys and AWS docs for the task\n definition uses json camelCase for the keys. This method transforms\n the keys to the expected ruby aws-sdk format.\n\n One quirk is that the logConfiguration options casing should not be\n transformed.", "If the running count less than the desired account yet, check the events\n and show a message with helpful debugging information.", "Resovles infinite problem since Ufo.env can be determined from UFO_ENV or settings.yml files.\n When ufo is determined from settings it should not called Ufo.env since that in turn calls\n Settings.new.data which can then cause an infinite loop.", "All we're doing at this point is saving blocks of code into memory\n The instance_eval provides the task_definition and helper methods as they are part\n of this class.", "Prints out a user friendly task_definition error message", "do not memoize template_body it can change for a rename retry", "Store template in tmp in case for debugging", "Start a thread that will poll for ecs deployments and kill of tasks\n in old deployments.\n This must be done in a thread because the stack update process is blocking.", "Passing in service so method can be used else where.", "all top-level commands", "used for the ufo status command", "adjust network_configuration based on fargate and network mode of awsvpc", "Ensures at least 1 security group is assigned if awsvpc_configuration\n is provided.", "Decorates AR model object's association only when the object was decorated.\n Returns the association instance.", "Returns a decorator module for the given class.\n Returns `nil` if no decorator module was found.", "Delete an existing certificate order.\n\n Delete an existing certificate order.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param certificate_order_name [String] Name of the certificate order.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Resend certificate email.\n\n Resend certificate email.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param certificate_order_name [String] Name of the certificate order.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Retrieve the list of certificate actions.\n\n Retrieve the list of certificate actions.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the certificate order.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Retrieve email history.\n\n Retrieve email history.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the certificate order.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Get certificate orders in a resource group.\n\n Get certificate orders in a resource group.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AppServiceCertificateOrderCollection] operation results.", "Gets the specified virtual network peering.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_name [String] The name of the virtual network.\n @param virtual_network_peering_name [String] The name of the virtual network\n peering.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all virtual network peerings in a virtual network.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_name [String] The name of the virtual network.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Verifies for unexpected polling status code\n @param azure_response [MsRestAzure::AzureOperationResponse] response from Azure service.", "Updates polling state based on location header for PUT HTTP requests.\n @param request [MsRest::HttpOperationRequest] The url retrieve data from.\n @param polling_state [MsRestAzure::PollingState] polling state to update.\n @param custom_deserialization_block [Proc] custom deserialization method for parsing response.", "Updates polling state based on location header for HTTP requests.\n @param request [MsRest::HttpOperationRequest] The url retrieve data from.\n @param polling_state [MsRestAzure::PollingState] polling state to update.\n @param custom_deserialization_block [Proc] custom deserialization method for parsing response.\n @param final_state_via [MsRestAzure::FinalStateVia] Final State via value", "Updates polling state from Azure async operation header.\n @param polling_state [MsRestAzure::PollingState] polling state.", "Configures email notifications for this vault.\n\n Create or update an email notification(alert) configuration.\n\n @param alert_setting_name [String] The name of the email notification(alert)\n configuration.\n @param request [ConfigureAlertRequest] The input to configure the email\n notification(alert).\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Alert] operation results.", "Creates or updates a record set within a Private DNS zone.\n\n @param resource_group_name [String] The name of the resource group.\n @param private_zone_name [String] The name of the Private DNS zone (without a\n terminating dot).\n @param record_type [RecordType] The type of DNS record in this record set.\n Record sets of type SOA can be updated but not created (they are created when\n the Private DNS zone is created). Possible values include: 'A', 'AAAA',\n 'CNAME', 'MX', 'PTR', 'SOA', 'SRV', 'TXT'\n @param relative_record_set_name [String] The name of the record set, relative\n to the name of the zone.\n @param parameters [RecordSet] Parameters supplied to the CreateOrUpdate\n operation.\n @param if_match [String] The ETag of the record set. Omit this value to\n always overwrite the current record set. Specify the last-seen ETag value to\n prevent accidentally overwriting any concurrent changes.\n @param if_none_match [String] Set to '*' to allow a new record set to be\n created, but to prevent updating an existing record set. Other values will be\n ignored.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all record sets in a Private DNS zone.\n\n @param resource_group_name [String] The name of the resource group.\n @param private_zone_name [String] The name of the Private DNS zone (without a\n terminating dot).\n @param top [Integer] The maximum number of record sets to return. If not\n specified, returns up to 100 record sets.\n @param recordsetnamesuffix [String] The suffix label of the record set name\n to be used to filter the record set enumeration. If this parameter is\n specified, the returned enumeration will only contain records that end with\n \".\".\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets information about a configuration of server.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param configuration_name [String] The name of the server configuration.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a ServerEndpoint.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param sync_group_name [String] Name of Sync Group resource.\n @param server_endpoint_name [String] Name of Server Endpoint object.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a given ServerEndpoint.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param sync_group_name [String] Name of Sync Group resource.\n @param server_endpoint_name [String] Name of Server Endpoint object.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Makes a request and returns the operation response.\n @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.\n @param path [String] the path, relative to {base_url}.\n @param options [Hash{String=>String}] specifying any request options like :body.\n @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.", "Makes a request asynchronously.\n @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.\n @param path [String] the path, relative to {base_url}.\n @param options [Hash{String=>String}] specifying any request options like :body.\n @return [Concurrent::Promise] Promise object which holds the HTTP response.", "This interface is used for getting text operation result. The URL to this\n interface should be retrieved from 'Operation-Location' field returned from\n Recognize Text interface.\n\n @param operation_id [String] Id of the text operation returned in the\n response of the 'Recognize Text'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TextOperationResult] operation results.", "This interface is used for getting OCR results of Read operation. The URL to\n this interface should be retrieved from \"Operation-Location\" field returned\n from Batch Read File interface.\n\n @param operation_id [String] Id of read operation returned in the response of\n the \"Batch Read File\" interface.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ReadOperationResult] operation results.", "Update an existing Redis cache.\n\n @param resource_group_name [String] The name of the resource group.\n @param name [String] The name of the Redis cache.\n @param parameters [RedisUpdateParameters] Parameters supplied to the Update\n Redis operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve a Redis cache's access keys. This operation requires write\n permission to the cache resource.\n\n @param resource_group_name [String] The name of the resource group.\n @param name [String] The name of the Redis cache.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RedisAccessKeys] operation results.", "Create or update a redis cache firewall rule\n\n @param resource_group_name [String] The name of the resource group.\n @param cache_name [String] The name of the Redis cache.\n @param rule_name [String] The name of the firewall rule.\n @param parameters [RedisFirewallRule] Parameters supplied to the create or\n update redis firewall rule operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a single firewall rule in a specified redis cache.\n\n @param resource_group_name [String] The name of the resource group.\n @param cache_name [String] The name of the Redis cache.\n @param rule_name [String] The name of the firewall rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a single firewall rule in a specified redis cache.\n\n @param resource_group_name [String] The name of the resource group.\n @param cache_name [String] The name of the Redis cache.\n @param rule_name [String] The name of the firewall rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an existing CDN custom domain within an endpoint.\n\n @param custom_domain_name [String] Name of the custom domain within an\n endpoint.\n @param endpoint_name [String] Name of the endpoint within the CDN profile.\n @param profile_name [String] Name of the CDN profile within the resource\n group.\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CustomDomain] operation results.", "Updates a record set within a DNS zone.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param zone_name [String] The name of the DNS zone (without a terminating\n dot).\n @param relative_record_set_name [String] The name of the record set, relative\n to the name of the zone.\n @param record_type [RecordType] The type of DNS record in this record set.\n Possible values include: 'A', 'AAAA', 'CAA', 'CNAME', 'MX', 'NS', 'PTR',\n 'SOA', 'SRV', 'TXT'\n @param parameters [RecordSet] Parameters supplied to the Update operation.\n @param if_match [String] The etag of the record set. Omit this value to\n always overwrite the current record set. Specify the last-seen etag value to\n prevent accidentally overwritting concurrent changes.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a record set from a DNS zone. This operation cannot be undone.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param zone_name [String] The name of the DNS zone (without a terminating\n dot).\n @param relative_record_set_name [String] The name of the record set, relative\n to the name of the zone.\n @param record_type [RecordType] The type of DNS record in this record set.\n Record sets of type SOA cannot be deleted (they are deleted when the DNS zone\n is deleted). Possible values include: 'A', 'AAAA', 'CAA', 'CNAME', 'MX',\n 'NS', 'PTR', 'SOA', 'SRV', 'TXT'\n @param if_match [String] The etag of the record set. Omit this value to\n always delete the current record set. Specify the last-seen etag value to\n prevent accidentally deleting any concurrent changes.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Initializes a new instance of the RetryPolicyMiddleware class.\n\n\n Performs request and response processing.", "Gets a list of all VM Scale Sets in the subscription, regardless of the\n associated resource group. Use nextLink property in the response to get the\n next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM\n Scale Sets.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VirtualMachineScaleSetListWithLinkResult] operation results.", "Gets a packet capture session by name.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_watcher_name [String] The name of the network watcher.\n @param packet_capture_name [String] The name of the packet capture session.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified packet capture session.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_watcher_name [String] The name of the network watcher.\n @param packet_capture_name [String] The name of the packet capture session.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a service namespace. Once created, this namespace's resource manifest\n is immutable. This operation is idempotent.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param parameters [NamespaceUpdateParameters] Parameters supplied to update a\n namespace resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a namespace authorization rule.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param authorization_rule_name [String] The authorization rule name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates or updates a service namespace. Once created, this namespace's\n resource manifest is immutable. This operation is idempotent.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name.\n @param parameters [NamespaceCreateOrUpdateParameters] Parameters supplied to\n create a namespace resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an existing namespace. This operation also removes all associated\n resources under the namespace.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets all the available namespaces within the subscription, irrespective of\n the resource groups.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [NamespaceListResult] operation results.", "Creates a new version from the selected version.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param version_clone_object [TaskUpdateObject] A model containing the new\n version ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [String] operation results.\n\n\n Creates a new version from the selected version.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param version_clone_object [TaskUpdateObject] A model containing the new\n version ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a list of versions for this application ID.\n\n @param app_id The application ID.\n @param skip [Integer] The number of entries to skip. Default value is 0.\n @param take [Integer] The number of entries to return. Maximum page size is\n 500. Default is 100.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Exports a LUIS application to JSON format.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [LuisApp] operation results.", "Updates container properties as specified in request body. Properties not\n mentioned in the request will be unchanged. Update fails if the specified\n container doesn't already exist.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription. The name is case insensitive.\n @param account_name [String] The name of the storage account within the\n specified resource group. Storage account names must be between 3 and 24\n characters in length and use numbers and lower-case letters only.\n @param container_name [String] The name of the blob container within the\n specified storage account. Blob container names must be between 3 and 63\n characters in length and use numbers, lower-case letters and dash (-) only.\n Every dash (-) character must be immediately preceded and followed by a\n letter or number.\n @param blob_container [BlobContainer] Properties to update for the blob\n container.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets properties of a specified container.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription. The name is case insensitive.\n @param account_name [String] The name of the storage account within the\n specified resource group. Storage account names must be between 3 and 24\n characters in length and use numbers and lower-case letters only.\n @param container_name [String] The name of the blob container within the\n specified storage account. Blob container names must be between 3 and 63\n characters in length and use numbers, lower-case letters and dash (-) only.\n Every dash (-) character must be immediately preceded and followed by a\n letter or number.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes specified container under its account.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription. The name is case insensitive.\n @param account_name [String] The name of the storage account within the\n specified resource group. Storage account names must be between 3 and 24\n characters in length and use numbers and lower-case letters only.\n @param container_name [String] The name of the blob container within the\n specified storage account. Blob container names must be between 3 and 63\n characters in length and use numbers, lower-case letters and dash (-) only.\n Every dash (-) character must be immediately preceded and followed by a\n letter or number.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "The delete networkInterface operation deletes the specified networkInterface.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_interface_name [String] The name of the network interface.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets NetworkRuleSet for a Namespace.\n\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param namespace_name [String] The Namespace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [NetworkRuleSet] operation results.", "Gets all the stats from an express route circuit in a resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the express route circuit.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ExpressRouteCircuitStats] operation results.", "Deletes the specified express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the express route circuit.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates or updates an express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the circuit.\n @param parameters [ExpressRouteCircuit] Parameters supplied to the create or\n update express route circuit operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates an express route circuit tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the circuit.\n @param parameters [TagsObject] Parameters supplied to update express route\n circuit tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the currently advertised routes table associated with the express route\n circuit in a resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the express route circuit.\n @param peering_name [String] The name of the peering.\n @param device_path [String] The path of the device.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified ExpressRouteConnection.\n\n @param resource_group_name [String] The name of the resource group.\n @param express_route_gateway_name [String] The name of the ExpressRoute\n gateway.\n @param connection_name [String] The name of the ExpressRoute connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a workflow trigger history.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param trigger_name [String] The workflow trigger name.\n @param history_name [String] The workflow trigger history name. Corresponds\n to the run name for triggers that resulted in a run.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the Service Fabric cluster manifest.\n\n Get the Service Fabric cluster manifest. The cluster manifest contains\n properties of the cluster that include different node types on the cluster,\n security configurations, fault and upgrade domain topologies, etc.\n\n These properties are specified as part of the ClusterConfig.JSON file while\n deploying a stand alone cluster. However, most of the information in the\n cluster manifest\n is generated internally by service fabric during cluster deployment in other\n deployment scenarios (e.g. when using azure portal).\n\n The contents of the cluster manifest are for informational purposes only and\n users are not expected to take a dependency on the format of the file\n contents or its interpretation.\n\n @param timeout [Integer] The server timeout for performing the operation in\n seconds. This timeout specifies the time duration that the client is willing\n to wait for the requested operation to complete. The default value for this\n parameter is 60 seconds.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ClusterManifest] operation results.", "Gets the progress of the current cluster upgrade.\n\n Gets the current progress of the ongoing cluster upgrade. If no upgrade is\n currently in progress, gets the last state of the previous cluster upgrade.\n\n @param timeout [Integer] The server timeout for performing the operation in\n seconds. This timeout specifies the time duration that the client is willing\n to wait for the requested operation to complete. The default value for this\n parameter is 60 seconds.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ClusterUpgradeProgressObject] operation results.", "Get the cluster configuration upgrade status of a Service Fabric standalone\n cluster.\n\n Get the cluster configuration upgrade status details of a Service Fabric\n standalone cluster.\n\n @param timeout [Integer] The server timeout for performing the operation in\n seconds. This timeout specifies the time duration that the client is willing\n to wait for the requested operation to complete. The default value for this\n parameter is 60 seconds.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ClusterConfigurationUpgradeStatusInfo] operation results.", "Get the service state of Service Fabric Upgrade Orchestration Service.\n\n Get the service state of Service Fabric Upgrade Orchestration Service. This\n API is internally used for support purposes.\n\n @param timeout [Integer] The server timeout for performing the operation in\n seconds. This timeout specifies the time duration that the client is willing\n to wait for the requested operation to complete. The default value for this\n parameter is 60 seconds.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [UpgradeOrchestrationServiceState] operation results.", "Gets the Azure Active Directory metadata used for secured connection to\n cluster.\n\n Gets the Azure Active Directory metadata used for secured connection to\n cluster.\n This API is not supposed to be called separately. It provides information\n needed to set up an Azure Active Directory secured connection with a Service\n Fabric cluster.\n\n @param timeout [Integer] The server timeout for performing the operation in\n seconds. This timeout specifies the time duration that the client is willing\n to wait for the requested operation to complete. The default value for this\n parameter is 60 seconds.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AadMetadataObject] operation results.", "Creates a new repair task.\n\n For clusters that have the Repair Manager Service configured,\n this API provides a way to create repair tasks that run automatically or\n manually.\n For repair tasks that run automatically, an appropriate repair executor\n must be running for each repair action to run automatically.\n These are currently only available in specially-configured Azure Cloud\n Services.\n\n To create a manual repair task, provide the set of impacted node names and\n the\n expected impact. When the state of the created repair task changes to\n approved,\n you can safely perform repair actions on those nodes.\n\n This API supports the Service Fabric platform; it is not meant to be used\n directly from your code.\n\n @param repair_task [RepairTask] Describes the repair task to be created or\n updated.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RepairTaskUpdateInfo] operation results.", "Requests the cancellation of the given repair task.\n\n This API supports the Service Fabric platform; it is not meant to be used\n directly from your code.\n\n @param repair_task_cancel_description [RepairTaskCancelDescription] Describes\n the repair task to be cancelled.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RepairTaskUpdateInfo] operation results.", "Forces the approval of the given repair task.\n\n This API supports the Service Fabric platform; it is not meant to be used\n directly from your code.\n\n @param repair_task_approve_description [RepairTaskApproveDescription]\n Describes the repair task to be approved.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RepairTaskUpdateInfo] operation results.", "Updates the health policy of the given repair task.\n\n This API supports the Service Fabric platform; it is not meant to be used\n directly from your code.\n\n @param repair_task_update_health_policy_description\n [RepairTaskUpdateHealthPolicyDescription] Describes the repair task healthy\n policy to be updated.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RepairTaskUpdateInfo] operation results.", "Updates the execution state of a repair task.\n\n This API supports the Service Fabric platform; it is not meant to be used\n directly from your code.\n\n @param repair_task [RepairTask] Describes the repair task to be created or\n updated.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RepairTaskUpdateInfo] operation results.", "Get the status of Chaos.\n\n Get the status of Chaos indicating whether or not Chaos is running, the Chaos\n parameters used for running Chaos and the status of the Chaos Schedule.\n\n @param timeout [Integer] The server timeout for performing the operation in\n seconds. This timeout specifies the time duration that the client is willing\n to wait for the requested operation to complete. The default value for this\n parameter is 60 seconds.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Chaos] operation results.", "Get the Chaos Schedule defining when and how to run Chaos.\n\n Gets the version of the Chaos Schedule in use and the Chaos Schedule that\n defines when and how to run Chaos.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ChaosScheduleDescription] operation results.", "Gets the content information at the root of the image store.\n\n Returns the information about the image store content at the root of the\n image store.\n\n @param timeout [Integer] The server timeout for performing the operation in\n seconds. This timeout specifies the time duration that the client is willing\n to wait for the requested operation to complete. The default value for this\n parameter is 60 seconds.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ImageStoreContent] operation results.", "Get a given registered server list.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RegisteredServerArray] operation results.", "Get a given registered server.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param server_id [String] GUID identifying the on-premises server.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates the backup schedule.\n\n @param device_name [String] The device name\n @param backup_policy_name [String] The backup policy name.\n @param backup_schedule_name [String] The backup schedule name.\n @param parameters [BackupSchedule] The backup schedule.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [BackupSchedule] operation results.", "Deletes a managed instance.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the properties of the specified webhook.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param webhook_name [String] The name of the webhook.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all the webhooks for the specified container registry.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Deletes a webhook from a container registry.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param webhook_name [String] The name of the webhook.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all the inbound nat rules in a load balancer.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the specified load balancer inbound nat rule.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param inbound_nat_rule_name [String] The name of the inbound nat rule.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a key of any type from storage in Azure Key Vault.\n\n The delete key operation cannot be used to remove individual versions of a\n key. This operation removes the cryptographic material associated with the\n key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or\n Encrypt/Decrypt operations. This operation requires the keys/delete\n permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param key_name [String] The name of the key to delete.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeletedKeyBundle] operation results.", "Requests that a backup of the specified key be downloaded to the client.\n\n The Key Backup operation exports a key from Azure Key Vault in a protected\n form. Note that this operation does NOT return key material in a form that\n can be used outside the Azure Key Vault system, the returned key material is\n either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The\n intent of this operation is to allow a client to GENERATE a key in one Azure\n Key Vault instance, BACKUP the key, and then RESTORE it into another Azure\n Key Vault instance. The BACKUP operation may be used to export, in protected\n form, any key type from Azure Key Vault. Individual versions of a key cannot\n be backed up. BACKUP / RESTORE can be performed within geographical\n boundaries only; meaning that a BACKUP from one geographical area cannot be\n restored to another geographical area. For example, a backup from the US\n geographical area cannot be restored in an EU geographical area. This\n operation requires the key/backup permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param key_name [String] The name of the key.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [BackupKeyResult] operation results.", "Restores a backed up key to a vault.\n\n Imports a previously backed up key into Azure Key Vault, restoring the key,\n its key identifier, attributes and access control policies. The RESTORE\n operation may be used to import a previously backed up key. Individual\n versions of a key cannot be restored. The key is restored in its entirety\n with the same key name as it had when it was backed up. If the key name is\n not available in the target Key Vault, the RESTORE operation will be\n rejected. While the key name is retained during restore, the final key\n identifier will change if the key is restored to a different vault. Restore\n will restore all versions and preserve version identifiers. The RESTORE\n operation is subject to security constraints: The target Key Vault must be\n owned by the same Microsoft Azure Subscription as the source Key Vault The\n user must have RESTORE permission in the target Key Vault. This operation\n requires the keys/restore permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param key_bundle_backup The backup blob associated with a key bundle.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [KeyBundle] operation results.", "Gets the public part of a deleted key.\n\n The Get Deleted Key operation is applicable for soft-delete enabled vaults.\n While the operation can be invoked on any vault, it will return an error if\n invoked on a non soft-delete enabled vault. This operation requires the\n keys/get permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param key_name [String] The name of the key.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeletedKeyBundle] operation results.", "Permanently deletes the specified key.\n\n The Purge Deleted Key operation is applicable for soft-delete enabled vaults.\n While the operation can be invoked on any vault, it will return an error if\n invoked on a non soft-delete enabled vault. This operation requires the\n keys/purge permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param key_name [String] The name of the key\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Recovers the deleted key to its latest version.\n\n The Recover Deleted Key operation is applicable for deleted keys in\n soft-delete enabled vaults. It recovers the deleted key back to its latest\n version under /keys. An attempt to recover an non-deleted key will return an\n error. Consider this the inverse of the delete operation on soft-delete\n enabled vaults. This operation requires the keys/recover permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param key_name [String] The name of the deleted key.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [KeyBundle] operation results.", "Deletes a secret from a specified key vault.\n\n The DELETE operation applies to any secret stored in Azure Key Vault. DELETE\n cannot be applied to an individual version of a secret. This operation\n requires the secrets/delete permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param secret_name [String] The name of the secret.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeletedSecretBundle] operation results.", "Gets the specified deleted secret.\n\n The Get Deleted Secret operation returns the specified deleted secret along\n with its attributes. This operation requires the secrets/get permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param secret_name [String] The name of the secret.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeletedSecretBundle] operation results.", "Permanently deletes the specified secret.\n\n The purge deleted secret operation removes the secret permanently, without\n the possibility of recovery. This operation can only be enabled on a\n soft-delete enabled vault. This operation requires the secrets/purge\n permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param secret_name [String] The name of the secret.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Recovers the deleted secret to the latest version.\n\n Recovers the deleted secret in the specified vault. This operation can only\n be performed on a soft-delete enabled vault. This operation requires the\n secrets/recover permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param secret_name [String] The name of the deleted secret.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SecretBundle] operation results.", "Backs up the specified secret.\n\n Requests that a backup of the specified secret be downloaded to the client.\n All versions of the secret will be downloaded. This operation requires the\n secrets/backup permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param secret_name [String] The name of the secret.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [BackupSecretResult] operation results.", "Restores a backed up secret to a vault.\n\n Restores a backed up secret, and all its versions, to a vault. This operation\n requires the secrets/restore permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param secret_bundle_backup The backup blob associated with a secret bundle.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SecretBundle] operation results.", "Deletes a certificate from a specified key vault.\n\n Deletes all versions of a certificate object along with its associated\n policy. Delete certificate cannot be used to remove individual versions of a\n certificate object. This operation requires the certificates/delete\n permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param certificate_name [String] The name of the certificate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeletedCertificateBundle] operation results.", "Sets the certificate contacts for the specified key vault.\n\n Sets the certificate contacts for the specified key vault. This operation\n requires the certificates/managecontacts permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param contacts [Contacts] The contacts for the key vault certificate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Contacts] operation results.", "Lists the certificate contacts for a specified key vault.\n\n The GetCertificateContacts operation returns the set of certificate contact\n resources in the specified key vault. This operation requires the\n certificates/managecontacts permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Contacts] operation results.", "Deletes the certificate contacts for a specified key vault.\n\n Deletes the certificate contacts for a specified key vault certificate. This\n operation requires the certificates/managecontacts permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Contacts] operation results.", "Lists the specified certificate issuer.\n\n The GetCertificateIssuer operation returns the specified certificate issuer\n resources in the specified key vault. This operation requires the\n certificates/manageissuers/getissuers permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param issuer_name [String] The name of the issuer.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [IssuerBundle] operation results.", "Deletes the specified certificate issuer.\n\n The DeleteCertificateIssuer operation permanently removes the specified\n certificate issuer from the vault. This operation requires the\n certificates/manageissuers/deleteissuers permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param issuer_name [String] The name of the issuer.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [IssuerBundle] operation results.", "Lists the policy for a certificate.\n\n The GetCertificatePolicy operation returns the specified certificate policy\n resources in the specified key vault. This operation requires the\n certificates/get permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param certificate_name [String] The name of the certificate in a given key\n vault.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CertificatePolicy] operation results.", "Gets the creation operation of a certificate.\n\n Gets the creation operation associated with a specified certificate. This\n operation requires the certificates/get permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param certificate_name [String] The name of the certificate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CertificateOperation] operation results.", "Deletes the creation operation for a specific certificate.\n\n Deletes the creation operation for a specified certificate that is in the\n process of being created. The certificate is no longer created. This\n operation requires the certificates/update permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param certificate_name [String] The name of the certificate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CertificateOperation] operation results.", "Retrieves information about the specified deleted certificate.\n\n The GetDeletedCertificate operation retrieves the deleted certificate\n information plus its attributes, such as retention interval, scheduled\n permanent deletion and the current deletion recovery level. This operation\n requires the certificates/get permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param certificate_name [String] The name of the certificate\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeletedCertificateBundle] operation results.", "Permanently deletes the specified deleted certificate.\n\n The PurgeDeletedCertificate operation performs an irreversible deletion of\n the specified certificate, without possibility for recovery. The operation is\n not available if the recovery level does not specify 'Purgeable'. This\n operation requires the certificate/purge permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param certificate_name [String] The name of the certificate\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Deletes a database.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database to be deleted.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns database metric definitions.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Resumes a data warehouse.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the data warehouse to resume.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the email template specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param template_name [TemplateName] Email Template Name Identifier. Possible\n values include: 'applicationApprovedNotificationMessage',\n 'accountClosedDeveloper',\n 'quotaLimitApproachingDeveloperNotificationMessage',\n 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault',\n 'inviteUserNotificationMessage', 'newCommentNotificationMessage',\n 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage',\n 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault',\n 'passwordResetByAdminNotificationMessage',\n 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists a collection of properties defined within a service instance.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EmailTemplateCollection] operation results.", "Gets the properties of the specified volume container name.\n\n @param device_name [String] The device name\n @param volume_container_name [String] The name of the volume container.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the metric definitions for the specified volume container.\n\n @param device_name [String] The device name\n @param volume_container_name [String] The volume container name.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MetricDefinitionList] operation results.", "Deletes the volume container.\n\n @param device_name [String] The device name\n @param volume_container_name [String] The name of the volume container.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates an application security group.\n\n @param resource_group_name [String] The name of the resource group.\n @param application_security_group_name [String] The name of the application\n security group.\n @param parameters [ApplicationSecurityGroup] Parameters supplied to the\n create or update ApplicationSecurityGroup operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates an application security group's tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param application_security_group_name [String] The name of the application\n security group.\n @param parameters [TagsObject] Parameters supplied to update application\n security group tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List all load balancers in a network interface.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_interface_name [String] The name of the network interface.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Create a job of the runbook.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param job_id The job id.\n @param parameters [JobCreateParameters] The parameters supplied to the create\n job operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a virtual machine from a VM scale set.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_scale_set_name [String] The name of the VM scale set.\n @param instance_id [String] The instance ID of the virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a virtual machine from a VM scale set.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_scale_set_name [String] The name of the VM scale set.\n @param instance_id [String] The instance ID of the virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Starts a virtual machine in a VM scale set.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_scale_set_name [String] The name of the VM scale set.\n @param instance_id [String] The instance ID of the virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Redeploys a virtual machine in a VM scale set.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_scale_set_name [String] The name of the VM scale set.\n @param instance_id [String] The instance ID of the virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Performs maintenance on a virtual machine in a VM scale set.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_scale_set_name [String] The name of the VM scale set.\n @param instance_id [String] The instance ID of the virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve the job schedule identified by job schedule name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param job_schedule_id The job schedule name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a job schedule.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param job_schedule_id The job schedule name.\n @param parameters [JobScheduleCreateParameters] The parameters supplied to\n the create job schedule operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the properties of a specified build task.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param build_task_name [String] The name of the container registry build\n task.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a storage insight instance.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Log Analytics Workspace name that contains the\n storageInsightsConfigs resource\n @param storage_insight_name [String] Name of the storageInsightsConfigs\n resource\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a storageInsightsConfigs resource\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Log Analytics Workspace name that contains the\n storageInsightsConfigs resource\n @param storage_insight_name [String] Name of the storageInsightsConfigs\n resource\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Validate operation for specified backed up item. This is a synchronous\n operation.\n\n @param vault_name [String] The name of the recovery services vault.\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param parameters [ValidateOperationRequest] resource validate operation\n request\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get batch operation status\n\n @param user_name [String] The name of the user.\n @param operation_batch_status_payload [OperationBatchStatusPayload] Payload\n to get the status of an operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationBatchStatusResponse] operation results.", "Gets the status of long running operation\n\n @param user_name [String] The name of the user.\n @param operation_status_payload [OperationStatusPayload] Payload to get the\n status of an operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatusResponse] operation results.", "Get personal preferences for a user\n\n @param user_name [String] The name of the user.\n @param personal_preferences_operations_payload\n [PersonalPreferencesOperationsPayload] Represents payload for any Environment\n operations like get, start, stop, connect\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [GetPersonalPreferencesResponse] operation results.", "List Environments for the user\n\n @param user_name [String] The name of the user.\n @param list_environments_payload [ListEnvironmentsPayload] Represents the\n payload to list environments owned by a user\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ListEnvironmentsResponse] operation results.", "List labs for the user.\n\n @param user_name [String] The name of the user.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ListLabsResponse] operation results.", "Register a user to a managed lab\n\n @param user_name [String] The name of the user.\n @param register_payload [RegisterPayload] Represents payload for Register\n action.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Deletes the specified network profile.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_profile_name [String] The name of the NetworkProfile.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the specified network profile in a specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_profile_name [String] The name of the public IP prefix.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve the usage for the account id.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [UsageListResult] operation results.", "Gets an elastic pool.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param elastic_pool_name [String] The name of the elastic pool.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an elastic pool.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param elastic_pool_name [String] The name of the elastic pool.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves the description for the specified rule.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param topic_name [String] The topic name.\n @param subscription_name [String] The subscription name.\n @param rule_name [String] The rule name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets an integration account partner.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param partner_name [String] The integration account partner name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified public IP address in a specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param public_ip_address_name [String] The name of the subnet.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a static or dynamic public IP address.\n\n @param resource_group_name [String] The name of the resource group.\n @param public_ip_address_name [String] The name of the public IP address.\n @param parameters [PublicIPAddress] Parameters supplied to the create or\n update public IP address operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get cluster code versions by environment\n\n Get cluster code versions by environment\n\n\n @param location [String] The location for the cluster code versions, this is\n different from cluster location\n @param environment [Enum] Cluster operating system, the default means all.\n Possible values include: 'Windows', 'Linux'\n @param api_version [String] The version of the API.\n @param subscription_id [String] The customer subscription identifier\n @param cluster_version [String] The cluster code version\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List cluster code versions by location\n\n List cluster code versions by location\n\n\n @param location [String] The location for the cluster code versions, this is\n different from cluster location\n @param api_version [String] The version of the API.\n @param subscription_id [String] The customer subscription identifier\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a role assignment.\n\n @param scope [String] The scope of the role assignment to create. The scope\n can be any REST resource instance. For example, use\n '/subscriptions/{subscription-id}/' for a subscription,\n '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a\n resource group, and\n '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}'\n for a resource.\n @param role_assignment_name [String] The name of the role assignment to\n create. It can be any valid GUID.\n @param parameters [RoleAssignmentCreateParameters] Parameters for the role\n assignment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the specified role assignment.\n\n @param scope [String] The scope of the role assignment.\n @param role_assignment_name [String] The name of the role assignment to get.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RoleAssignment] operation results.", "Gets role assignments for a resource.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RoleAssignmentListResult] operation results.", "Retrieves the details of a vpn connection.\n\n @param resource_group_name [String] The resource group name of the\n VpnGateway.\n @param gateway_name [String] The name of the gateway.\n @param connection_name [String] The name of the vpn connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Checks whether resource group exists.\n\n @param resource_group_name [String] The name of the resource group to check.\n The name is case insensitive.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Boolean] operation results.", "Captures the specified resource group as a template.\n\n @param resource_group_name [String] The name of the resource group to be\n created or updated.\n @param parameters [ExportTemplateRequest] Parameters supplied to the export\n template resource group operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ResourceGroupExportResult] operation results.", "Returns all versions for the specified application type.\n\n @param subscription_id [String] The customer subscription identifier\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster resource\n @param application_type_name [String] The name of the application type name\n resource\n @param api_version [String] The version of the API.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Provisions an application type version resource.\n\n @param subscription_id [String] The customer subscription identifier\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster resource\n @param application_type_name [String] The name of the application type name\n resource\n @param version [String] The application type version.\n @param api_version [String] The version of the API.\n @param parameters [VersionResource] The application type version resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified rule from a route filter.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_filter_name [String] The name of the route filter.\n @param rule_name [String] The name of the rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets details about the specified transformation.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param transformation_name [String] The name of the transformation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Generates a Uri for use in creating a webhook.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [String] operation results.", "Retrieve the webhook identified by webhook name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param webhook_name [String] The webhook name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create the webhook identified by webhook name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param webhook_name [String] The webhook name.\n @param parameters [WebhookCreateOrUpdateParameters] The create or update\n parameters for webhook.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update the webhook identified by webhook name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param webhook_name [String] The webhook name.\n @param parameters [WebhookUpdateParameters] The update parameters for\n webhook.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a specific trigger by name.\n\n @param device_name [String] The device name.\n @param name [String] The trigger name.\n @param resource_group_name [String] The resource group name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a trigger.\n\n @param device_name [String] Creates or updates a trigger\n @param name [String] The trigger name.\n @param trigger [Trigger] The trigger.\n @param resource_group_name [String] The resource group name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists the vulnerability assessment scans of a database.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VulnerabilityAssessmentScanRecordListResult] operation results.", "Gets all peerings in a specified ExpressRouteCrossConnection.\n\n @param resource_group_name [String] The name of the resource group.\n @param cross_connection_name [String] The name of the\n ExpressRouteCrossConnection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the specified peering for the ExpressRouteCrossConnection.\n\n @param resource_group_name [String] The name of the resource group.\n @param cross_connection_name [String] The name of the\n ExpressRouteCrossConnection.\n @param peering_name [String] The name of the peering.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an output from the streaming job.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param output_name [String] The name of the output.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets details about the specified output.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param output_name [String] The name of the output.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a protection container.\n\n Operation to create a protection container.\n\n @param fabric_name [String] Unique fabric ARM name.\n @param protection_container_name [String] Unique protection container ARM\n name.\n @param creation_input [CreateProtectionContainerInput] Creation input.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of a protectable item.\n\n The operation to get the details of a protectable item.\n\n @param fabric_name [String] Fabric name.\n @param protection_container_name [String] Protection container name.\n @param protectable_item_name [String] Protectable item name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve Azure Advisor configurations.\n\n @param resource_group [String] The name of the Azure resource group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ConfigurationListResult] operation results.", "List event types\n\n List event types for a topic type\n\n @param topic_type_name [String] Name of the topic type\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EventTypesListResult] operation results.", "Deletes the specified load balancer.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates or updates a load balancer.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param parameters [LoadBalancer] Parameters supplied to the create or update\n load balancer operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a load balancer tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param parameters [TagsObject] Parameters supplied to update load balancer\n tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Checks whether a domain name in the cloudapp.net zone is available for use.\n\n @param location [String] The location of the domain name.\n @param domain_name_label [String] The domain name to be verified. It must\n conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DnsNameAvailabilityResult] operation results.", "Retrieve a hybrid runbook worker group.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker\n group name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update a hybrid runbook worker group.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker\n group name\n @param parameters [HybridRunbookWorkerGroupUpdateParameters] The hybrid\n runbook worker group\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Detect anomalies for the entire series in batch.\n\n This operation generates a model using an entire series, each point is\n detected with the same model. With this method, points before and after a\n certain point are used to determine whether it is an anomaly. The entire\n detection can give user an overall status of the time series.\n\n @param body [Request] Time series points and period if needed. Advanced model\n parameters can also be set in the request.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EntireDetectResponse] operation results.", "Detect anomaly status of the latest point in time series.\n\n This operation generates a model using points before the latest one. With\n this method, only historical points are used to determine whether the target\n point is an anomaly. The latest point detecting operation matches the\n scenario of real-time monitoring of business metrics.\n\n @param body [Request] Time series points and period if needed. Advanced model\n parameters can also be set in the request.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [LastDetectResponse] operation results.", "Gets the specified network interface ip configuration.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_interface_name [String] The name of the network interface.\n @param ip_configuration_name [String] The name of the ip configuration name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gives the supported security providers for the virtual wan.\n\n @param resource_group_name [String] The resource group name.\n @param virtual_wanname [String] The name of the VirtualWAN for which\n supported security providers are needed.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VirtualWanSecurityProviders] operation results.", "Deletes a Media Service.\n\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param media_service_name [String] Name of the Media Service.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Updates a Media Service.\n\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param media_service_name [String] Name of the Media Service.\n @param parameters [MediaService] Media Service properties needed for update.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Regenerates a primary or secondary key for a Media Service.\n\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param media_service_name [String] Name of the Media Service.\n @param parameters [RegenerateKeyInput] Properties needed to regenerate the\n Media Service key.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all available virtual machine sizes to which the specified virtual\n machine can be resized.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_name [String] The name of the virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VirtualMachineSizeListResult] operation results.", "The operation to create or update a virtual machine.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_name [String] The name of the virtual machine.\n @param parameters [VirtualMachine] Parameters supplied to the Create Virtual\n Machine operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a virtual network gateway in the specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_gateway_name [String] The name of the virtual network\n gateway.\n @param parameters [VirtualNetworkGateway] Parameters supplied to create or\n update virtual network gateway operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a existing Live Event.\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param live_event_name [String] The name of the Live Event.\n @param parameters [LiveEvent] Live Event properties needed for creation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the Diagnostic specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param diagnostic_id [String] Diagnostic identifier. Must be unique in the\n current API Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Generates VPN profile for P2S client of the virtual network gateway in the\n specified resource group. Used for IKEV2 and radius based authentication.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_gateway_name [String] The name of the virtual network\n gateway.\n @param parameters [VpnClientParameters] Parameters supplied to the generate\n virtual network gateway VPN client package operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a xml format representation for supported vpn devices.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_gateway_name [String] The name of the virtual network\n gateway.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [String] operation results.", "Updates a virtual network gateway tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_gateway_name [String] The name of the virtual network\n gateway.\n @param parameters [TagsObject] Parameters supplied to update virtual network\n gateway tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete cluster resource\n\n Delete cluster resource\n\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster resource\n @param api_version [String] The version of the API.\n @param subscription_id [String] The customer subscription identifier\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a ServiceFabric cluster\n\n Create cluster resource\n\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster resource\n @param api_version [String] The version of the API.\n @param subscription_id [String] The customer subscription identifier\n @param parameters [Cluster] The cluster resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update cluster configuration\n\n Update cluster configuration\n\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster resource\n @param api_version [String] The version of the API.\n @param subscription_id [String] The customer subscription identifier\n @param parameters [ClusterUpdateParameters] The parameters which contains the\n property value and property name which used to update the cluster\n configuration.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a workflow run action repetition.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param run_name [String] The workflow run name.\n @param action_name [String] The workflow action name.\n @param repetition_name [String] The workflow repetition.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Check if the probe path is a valid path and the file can be accessed. Probe\n path is the path to a file hosted on the origin server to help accelerate the\n delivery of dynamic content via the CDN endpoint. This path is relative to\n the origin path specified in the endpoint configuration.\n\n @param validate_probe_input [ValidateProbeInput] Input to check.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ValidateProbeOutput] operation results.", "Update a key vault in the specified subscription.\n\n @param resource_group_name [String] The name of the Resource Group to which\n the server belongs.\n @param vault_name [String] Name of the vault\n @param parameters [VaultPatchParameters] Parameters to patch the vault\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "The List operation gets information about the vaults associated with the\n subscription.\n\n @param top [Integer] Maximum number of results to return.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the deleted Azure key vault.\n\n @param vault_name [String] The name of the vault.\n @param location [String] The location of the deleted vault.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeletedVault] operation results.", "Checks that the vault name is valid and is not already in use.\n\n @param vault_name [VaultCheckNameAvailabilityParameters] The name of the\n vault.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CheckNameAvailabilityResult] operation results.", "Create or update a key vault in the specified subscription.\n\n @param resource_group_name [String] The name of the Resource Group to which\n the server belongs.\n @param vault_name [String] Name of the vault\n @param parameters [VaultCreateOrUpdateParameters] Parameters to create or\n update the vault\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "It will validate if given feature with resource properties is supported in\n service\n\n @param azure_region [String] Azure region to hit Api\n @param parameters [FeatureSupportRequest] Feature support request object\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AzureVMResourceFeatureSupportResponse] operation results.", "Checks that the storage account name is valid and is not already in use.\n\n @param account_name [StorageAccountCheckNameAvailabilityParameters] The name\n of the storage account within the specified resource group. Storage account\n names must be between 3 and 24 characters in length and use numbers and\n lower-case letters only.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CheckNameAvailabilityResult] operation results.", "Regenerates one of the access keys for the specified storage account.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription. The name is case insensitive.\n @param account_name [String] The name of the storage account within the\n specified resource group. Storage account names must be between 3 and 24\n characters in length and use numbers and lower-case letters only.\n @param regenerate_key [StorageAccountRegenerateKeyParameters] Specifies name\n of the key which should be regenerated -- key1 or key2.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Revoke user delegation keys.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription. The name is case insensitive.\n @param account_name [String] The name of the storage account within the\n specified resource group. Storage account names must be between 3 and 24\n characters in length and use numbers and lower-case letters only.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets a KPI in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param kpi_name [String] The name of the KPI.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a KPI or updates an existing KPI in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param kpi_name [String] The name of the KPI.\n @param parameters [KpiResourceFormat] Parameters supplied to the\n create/update KPI operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a KPI in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param kpi_name [String] The name of the KPI.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all the KPIs in the specified hub.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [KpiListResult] operation results.", "Creates or updates a SQL virtual machine group.\n\n @param resource_group_name [String] Name of the resource group that contains\n the resource. You can obtain this value from the Azure Resource Manager API\n or the portal.\n @param sql_virtual_machine_group_name [String] Name of the SQL virtual\n machine group.\n @param parameters [SqlVirtualMachineGroup] The SQL virtual machine group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates SQL virtual machine group tags.\n\n @param resource_group_name [String] Name of the resource group that contains\n the resource. You can obtain this value from the Azure Resource Manager API\n or the portal.\n @param sql_virtual_machine_group_name [String] Name of the SQL virtual\n machine group.\n @param parameters [SqlVirtualMachineGroupUpdate] The SQL virtual machine\n group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates the Data Lake Analytics account object specified by the accountName\n with the contents of the account object.\n\n @param resource_group_name [String] The name of the Azure resource group that\n contains the Data Lake Analytics account.\n @param name [String] The name of the Data Lake Analytics account to update.\n @param parameters [DataLakeAnalyticsAccount] Parameters supplied to the\n update Data Lake Analytics account operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets messaging plan for specified namespace.\n\n @param resource_group_name [String] Name of the resource group within the\n azure subscription.\n @param namespace_name [String] The Namespace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MessagingPlan] operation results.", "Get the current Service Fabric cluster version.\n\n If a cluster upgrade is happening, then this API will return the lowest\n (older) version of the current and target cluster runtime versions.\n\n @param timeout [Integer] The server timeout for performing the operation in\n seconds. This timeout specifies the time duration that the client is willing\n to wait for the requested operation to complete. The default value for this\n parameter is 60 seconds.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ClusterVersion] operation results.", "Creates or updates a Virtual Network Tap.\n\n @param resource_group_name [String] The name of the resource group.\n @param tap_name [String] The name of the virtual network tap.\n @param parameters [VirtualNetworkTap] Parameters supplied to the create or\n update virtual network tap operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates and initialize new instance of the TopicCredentials class.\n @param topic_key [String] topic key", "Enables Serial Console for a subscription\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SetDisabledResult] operation results.", "Disables Serial Console for a subscription\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SetDisabledResult] operation results.", "Patch a volume\n\n @param body [VolumePatch] Volume object supplied in the body of the\n operation.\n @param resource_group_name [String] The name of the resource group.\n @param account_name [String] The name of the NetApp account\n @param pool_name [String] The name of the capacity pool\n @param volume_name [String] The name of the volume\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update a volume\n\n @param body [Volume] Volume object supplied in the body of the operation.\n @param resource_group_name [String] The name of the resource group.\n @param account_name [String] The name of the NetApp account\n @param pool_name [String] The name of the capacity pool\n @param volume_name [String] The name of the volume\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Volume] operation results.", "Update a VM scale set.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_scale_set_name [String] The name of the VM scale set to create or\n update.\n @param parameters [VirtualMachineScaleSetUpdate] The scale set object.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets an integration account session.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param session_name [String] The integration account session name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an integration account session.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param session_name [String] The integration account session name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Sets the managementpolicy to the specified storage account.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription. The name is case insensitive.\n @param account_name [String] The name of the storage account within the\n specified resource group. Storage account names must be between 3 and 24\n characters in length and use numbers and lower-case letters only.\n @param properties [ManagementPolicy] The ManagementPolicy set to a storage\n account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified authorization from the specified express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the express route circuit.\n @param authorization_name [String] The name of the authorization.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all authorizations in an express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the circuit.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Deletes the specified authorization from the specified express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the express route circuit.\n @param authorization_name [String] The name of the authorization.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the data policy rules associated with the specified storage account.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription. The name is case insensitive.\n @param account_name [String] The name of the storage account within the\n specified resource group. Storage account names must be between 3 and 24\n characters in length and use numbers and lower-case letters only.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [StorageAccountManagementPolicies] operation results.", "Deletes the data policy rules associated with the specified storage account.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription. The name is case insensitive.\n @param account_name [String] The name of the storage account within the\n specified resource group. Storage account names must be between 3 and 24\n characters in length and use numbers and lower-case letters only.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the detailed information for a given build.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param build_id [String] The build ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve the connection identified by connection name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param connection_name [String] The name of connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update a connection.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param connection_name [String] The parameters supplied to the create or\n update connection operation.\n @param parameters [ConnectionCreateOrUpdateParameters] The parameters\n supplied to the create or update connection operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve a list of connections.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ConnectionListResult] which provide lazy access to pages of the\n response.", "Creates or updates an application resource.\n\n Creates an application with the specified name and description. If an\n application with the same name already exists, then its description are\n updated to the one indicated in this request.\n\n @param application_resource_name [String] Service Fabric application resource\n name.\n @param application_resource_description [ApplicationResourceDescription]\n Description for creating an application resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the application with the given name.\n\n Gets the application with the given name. This includes the information about\n the application's services and other runtime information.\n\n @param application_resource_name [String] Service Fabric application resource\n name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplicationResourceDescription] operation results.", "Gets all the services in the application resource.\n\n The operation returns the service descriptions of all the services in the\n application resource.\n\n @param application_resource_name [String] Service Fabric application resource\n name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PagedServiceResourceDescriptionList] operation results.", "Gets the description of the specified service in an application resource.\n\n Gets the description of the service resource.\n\n @param application_resource_name [String] Service Fabric application resource\n name.\n @param service_resource_name [String] Service Fabric service resource name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ServiceResourceDescription] operation results.", "Gets replicas of a given service in an application resource.\n\n Gets the information about all replicas of a given service of an application.\n The information includes the runtime properties of the replica instance.\n\n @param application_resource_name [String] Service Fabric application resource\n name.\n @param service_resource_name [String] Service Fabric service resource name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PagedServiceResourceReplicaDescriptionList] operation results.", "Creates or updates a volume resource.\n\n Creates a volume resource with the specified name and description. If a\n volume with the same name already exists, then its description is updated to\n the one indicated in this request.\n\n @param volume_resource_name [String] Service Fabric volume resource name.\n @param volume_resource_description [VolumeResourceDescription] Description\n for creating a volume resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the volume resource.\n\n Gets the information about the volume resource with a given name. This\n information includes the volume description and other runtime information.\n\n @param volume_resource_name [String] Service Fabric volume resource name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VolumeResourceDescription] operation results.", "Retrieves the details of a P2SVpnServerConfiguration.\n\n @param resource_group_name [String] The resource group name of the\n P2SVpnServerConfiguration.\n @param virtual_wan_name [String] The name of the VirtualWan.\n @param p2svpn_server_configuration_name [String] The name of the\n P2SVpnServerConfiguration.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a new SignalR service and update an exiting SignalR service.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param resource_name [String] The name of the SignalR resource.\n @param parameters [SignalRCreateParameters] Parameters for the create or\n update operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Operation to update an exiting SignalR service.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param resource_name [String] The name of the SignalR resource.\n @param parameters [SignalRUpdateParameters] Parameters for the update\n operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a list of virtual machine extension image types.\n\n @param location [String] The name of a supported Azure region.\n @param publisher_name [String]\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Deletes the specified value of the named secret resource.\n\n Deletes the secret value resource identified by the name. The name of the\n resource is typically the version associated with that value. Deletion will\n fail if the specified value is in use.\n\n @param secret_resource_name [String] The name of the secret resource.\n @param secret_value_resource_name [String] The name of the secret resource\n value which is typically the version identifier for the value.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Lists the specified value of the secret resource.\n\n Lists the decrypted value of the specified named value of the secret\n resource. This is a privileged operation.\n\n @param secret_resource_name [String] The name of the secret resource.\n @param secret_value_resource_name [String] The name of the secret resource\n value which is typically the version identifier for the value.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SecretValue] operation results.", "Gets the Web Service Definition as specified by a subscription, resource\n group, and name. Note that the storage credentials and web service keys are\n not returned by this call. To get the web service access keys, call List\n Keys.\n\n @param resource_group_name [String] Name of the resource group in which the\n web service is located.\n @param web_service_name [String] The name of the web service.\n @param region [String] The region for which encrypted credential parameters\n are valid.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get IP addresses assigned to an App Service Environment.\n\n Get IP addresses assigned to an App Service Environment.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service Environment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AddressResponse] operation results.", "Get diagnostic information for an App Service Environment.\n\n Get diagnostic information for an App Service Environment.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service Environment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Get global metric definitions of an App Service Environment.\n\n Get global metric definitions of an App Service Environment.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service Environment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MetricDefinition] operation results.", "Get properties of a multi-role pool.\n\n Get properties of a multi-role pool.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service Environment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkerPoolResource] operation results.", "List all currently running operations on the App Service Environment.\n\n List all currently running operations on the App Service Environment.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service Environment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Delete an App Service Environment.\n\n Delete an App Service Environment.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service Environment.\n @param force_delete [Boolean] Specify true to force the deletion\n even if the App Service Environment contains resources. The default is\n false.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes all images from the list with list Id equal to list Id passed.\n\n @param list_id [String] List Id of the image list.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [String] operation results.", "Gets all image Ids from the list with list Id equal to list Id passed.\n\n @param list_id [String] List Id of the image list.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ImageIds] operation results.", "Deletes an image from the list with list Id and image Id passed.\n\n @param list_id [String] List Id of the image list.\n @param image_id [String] Id of the image.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [String] operation results.", "Check if an IoT Central application name is available.\n\n @param operation_inputs [OperationInputs] Set the name parameter in the\n OperationInputs structure to the name of the IoT Central application to\n check.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AppNameAvailabilityInfo] operation results.", "Create or update the metadata of an IoT Central application. The usual\n pattern to modify a property is to retrieve the IoT Central application\n metadata and security metadata, and then combine them with the modified\n values in a new body to update the IoT Central application.\n\n @param resource_group_name [String] The name of the resource group that\n contains the IoT Central application.\n @param resource_name [String] The ARM resource name of the IoT Central\n application.\n @param app [App] The IoT Central application metadata and security metadata.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update the metadata of an IoT Central application.\n\n @param resource_group_name [String] The name of the resource group that\n contains the IoT Central application.\n @param resource_name [String] The ARM resource name of the IoT Central\n application.\n @param app_patch [AppPatch] The IoT Central application metadata and security\n metadata.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a role definition by ID.\n\n @param role_definition_id [String] The fully qualified role definition ID.\n Use the format,\n /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}\n for subscription level role definitions, or\n /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for\n tenant level role definitions.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RoleDefinition] operation results.", "Gets a connection monitor by name.\n\n @param resource_group_name [String] The name of the resource group containing\n Network Watcher.\n @param network_watcher_name [String] The name of the Network Watcher\n resource.\n @param connection_monitor_name [String] The name of the connection monitor.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the property specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param prop_id [String] Identifier of the property.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a property.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param prop_id [String] Identifier of the property.\n @param parameters [PropertyContract] Create parameters.\n @param if_match [String] ETag of the Entity. Not required when creating an\n entity, but required when updating an entity.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the Single-Sign-On token for the API Management Service which is valid\n for 5 Minutes.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApiManagementServiceGetSsoTokenResult] operation results.", "Upload Custom Domain SSL certificate for an API Management service.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param parameters [ApiManagementServiceUploadCertificateParameters]\n Parameters supplied to the Upload SSL certificate for an API Management\n service operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates an existing API Management service.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied\n to the CreateOrUpdate API Management service operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Starts an existing CDN endpoint that is on a stopped state.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param endpoint_name [String] Name of the endpoint under the profile which is\n unique globally.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Endpoint] operation results.", "Removes a content from CDN.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param endpoint_name [String] Name of the endpoint under the profile which is\n unique globally.\n @param content_file_paths [PurgeParameters] The path to the content to be\n purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a\n single file, or a directory with a wildcard, e.g. '/pictures/*' which removes\n all folders and files in the directory.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Pre-loads a content to CDN. Available for Verizon Profiles.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param endpoint_name [String] Name of the endpoint under the profile which is\n unique globally.\n @param content_file_paths [LoadParameters] The path to the content to be\n loaded. Path should be a full URL, e.g. \u2018/pictures/city.png' which loads a\n single file\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates a new CDN endpoint with the specified endpoint name under the\n specified subscription, resource group and profile.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param endpoint_name [String] Name of the endpoint under the profile which is\n unique globally.\n @param endpoint [Endpoint] Endpoint properties\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an existing CDN endpoint with the specified endpoint name under the\n specified subscription, resource group and profile.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param endpoint_name [String] Name of the endpoint under the profile which is\n unique globally.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get list of applicable `Reservation`s.\n\n Get applicable `Reservation`s that are applied to this subscription.\n\n @param subscription_id [String] Id of the subscription\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AppliedReservations] operation results.", "Delete an existing person from a person group. All stored person data, and\n face features in the person entry will be deleted.\n\n @param person_group_id [String] Id referencing a particular person group.\n @param person_id Id referencing a particular person.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Deletes a job agent.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param job_agent_name [String] The name of the job agent to be deleted.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a list of job agents in a server.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [JobAgentListResult] which provide lazy access to pages of the\n response.", "Get the specified tap configuration on a network interface.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_interface_name [String] The name of the network interface.\n @param tap_configuration_name [String] The name of the tap configuration.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a new person in a specified large person group.\n\n @param large_person_group_id [String] Id referencing a particular large\n person group.\n @param name [String] User defined name, maximum length is 128.\n @param user_data [String] User specified data. Length should not exceed 16KB.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Person] operation results.", "Delete an existing person from a large person group. All stored person data,\n and face features in the person entry will be deleted.\n\n @param large_person_group_id [String] Id referencing a particular large\n person group.\n @param person_id Id referencing a particular person.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Retrieve a person's information, including registered persisted faces, name\n and userData.\n\n @param large_person_group_id [String] Id referencing a particular large\n person group.\n @param person_id Id referencing a particular person.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Person] operation results.", "Update name or userData of a person.\n\n @param large_person_group_id [String] Id referencing a particular large\n person group.\n @param person_id Id referencing a particular person.\n @param name [String] User defined name, maximum length is 128.\n @param user_data [String] User specified data. Length should not exceed 16KB.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the Search service with the given name in the given resource group.\n\n @param resource_group_name [String] The name of the resource group within the\n current subscription. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param search_service_name [String] The name of the Azure Search service\n associated with the specified resource group.\n @param search_management_request_options [SearchManagementRequestOptions]\n Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the built in policy set definition.\n\n @param policy_set_definition_name [String] The name of the policy set\n definition to get.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PolicySetDefinition] operation results.", "Creates or updates a policy set definition at management group level.\n\n @param policy_set_definition_name [String] The name of the policy set\n definition to create.\n @param parameters [PolicySetDefinition] The policy set definition properties.\n @param management_group_id [String] The ID of the management group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a policy set definition at management group level.\n\n @param policy_set_definition_name [String] The name of the policy set\n definition to delete.\n @param management_group_id [String] The ID of the management group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates or updates a Secret resource.\n\n Creates a Secret resource with the specified name, description and\n properties. If Secret resource with the same name exists, then it is updated\n with the specified description and properties. Once created, the kind and\n contentType of a secret resource cannot be updated.\n\n @param secret_resource_name [String] The name of the secret resource.\n @param secret_resource_description [SecretResourceDescription] Description\n for creating a secret resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SecretResourceDescription] operation results.", "Lists a collection of Identity Provider configured in the specified service\n instance.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the configuration details of the identity Provider configured in\n specified service instance.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param identity_provider_name [IdentityProviderType] Identity Provider Type\n identifier. Possible values include: 'facebook', 'google', 'microsoft',\n 'twitter', 'aad', 'aadB2C'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates an existing LogProfilesResource. To update other fields use the\n CreateOrUpdate method.\n\n @param log_profile_name [String] The name of the log profile.\n @param log_profiles_resource [LogProfileResourcePatch] Parameters supplied to\n the operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [LogProfileResource] operation results.", "Get a Media Services account\n\n Get the details of a Media Services account\n\n @param account_name [String] The Media Services account name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SubscriptionMediaService] operation results.", "Gets an availability group listener.\n\n @param resource_group_name [String] Name of the resource group that contains\n the resource. You can obtain this value from the Azure Resource Manager API\n or the portal.\n @param sql_virtual_machine_group_name [String] Name of the SQL virtual\n machine group.\n @param availability_group_listener_name [String] Name of the availability\n group listener.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an availability group listener.\n\n @param resource_group_name [String] Name of the resource group that contains\n the resource. You can obtain this value from the Azure Resource Manager API\n or the portal.\n @param sql_virtual_machine_group_name [String] Name of the SQL virtual\n machine group.\n @param availability_group_listener_name [String] Name of the availability\n group listener.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all available geo-locations.\n\n This operation provides all the locations that are available for resource\n providers; however, each resource provider may support a subset of this list.\n\n @param subscription_id [String] The ID of the target subscription.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [LocationListResult] operation results.", "Grants access to a snapshot.\n\n @param resource_group_name [String] The name of the resource group.\n @param snapshot_name [String] The name of the snapshot that is being created.\n The name can't be changed after the snapshot is created. Supported characters\n for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.\n @param grant_access_data [GrantAccessData] Access data object supplied in the\n body of the get snapshot access operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves the specified ExpressRouteLink resource.\n\n @param resource_group_name [String] The name of the resource group.\n @param express_route_port_name [String] The name of the ExpressRoutePort\n resource.\n @param link_name [String] The name of the ExpressRouteLink resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort\n resource.\n\n @param resource_group_name [String] The name of the resource group.\n @param express_route_port_name [String] The name of the ExpressRoutePort\n resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Deletes the elastic pool.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param elastic_pool_name [String] The name of the elastic pool to be deleted.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns elastic pool metrics.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param elastic_pool_name [String] The name of the elastic pool.\n @param filter [String] An OData filter expression that describes a subset of\n metrics to return.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a collection that contains the object IDs of the groups of which the\n user is a member.\n\n @param object_id [String] The object ID of the user for which to get group\n membership.\n @param parameters [UserGetMemberGroupsParameters] User filtering parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [UserGetMemberGroupsResult] operation results.", "Gets a list of users for the current tenant.\n\n @param next_link [String] Next link for the list operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Retrieve the Dsc node configurations by node configuration.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param node_configuration_name [String] The Dsc node configuration name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create the node configuration identified by node configuration name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param node_configuration_name [String] The create or update parameters for\n configuration.\n @param parameters [DscNodeConfigurationCreateOrUpdateParameters] The create\n or update parameters for configuration.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a disaster recovery configuration.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param disaster_recovery_configuration_name [String] The name of the disaster\n recovery configuration.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a disaster recovery configuration.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param disaster_recovery_configuration_name [String] The name of the disaster\n recovery configuration to be created/updated.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets information about the specified application.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param application_id [String] The ID of the application.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all of the applications in the specified account.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param maxresults [Integer] The maximum number of items to return in the\n response.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a HybridConnection .\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The Namespace Name\n @param hybrid_connection_name [String] The hybrid connection name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns the description for the specified HybridConnection.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The Namespace Name\n @param hybrid_connection_name [String] The hybrid connection name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a HybridConnection authorization rule\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The Namespace Name\n @param hybrid_connection_name [String] The hybrid connection name.\n @param authorization_rule_name [String] The authorizationRule name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete an activity log alert.\n\n @param resource_group_name [String] The name of the resource group.\n @param activity_log_alert_name [String] The name of the activity log alert.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get a list of all activity log alerts in a subscription.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ActivityLogAlertList] operation results.", "Gets a list of agent pools in the specified managed cluster.\n\n Gets a list of agent pools in the specified managed cluster. The operation\n returns properties of each agent pool.\n\n @param resource_group_name [String] The name of the resource group.\n @param managed_cluster_name [String] The name of the managed cluster\n resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the agent pool.\n\n Gets the details of the agent pool by managed cluster and resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param managed_cluster_name [String] The name of the managed cluster\n resource.\n @param agent_pool_name [String] The name of the agent pool.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Regenerate key for a topic\n\n Regenerate a shared access key for a topic\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription.\n @param topic_name [String] Name of the topic\n @param regenerate_key_request [TopicRegenerateKeyRequest] Request body to\n regenerate key\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List topics under an Azure subscription\n\n List all the topics under an Azure subscription\n\n @param filter [String] Filter the results using OData syntax.\n @param top [Integer] The number of results to return.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TopicsListResult] which provide lazy access to pages of the\n response.", "List topics under a resource group\n\n List all the topics under a resource group\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription.\n @param filter [String] Filter the results using OData syntax.\n @param top [Integer] The number of results to return.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TopicsListResult] which provide lazy access to pages of the\n response.", "Deletes the specified service endpoint policy.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_endpoint_policy_name [String] The name of the service endpoint\n policy.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the specified service Endpoint Policies in a specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_endpoint_policy_name [String] The name of the service endpoint\n policy.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a service Endpoint Policies.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_endpoint_policy_name [String] The name of the service endpoint\n policy.\n @param parameters [ServiceEndpointPolicy] Parameters supplied to the create\n or update service endpoint policy operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates service Endpoint Policies.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_endpoint_policy_name [String] The name of the service endpoint\n policy.\n @param parameters [TagsObject] Parameters supplied to update service endpoint\n policy tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "The Web Search API lets you send a search query to Bing and get back search\n results that include links to webpages, images, and more.\n\n @param query [String] The user's search query term. The term may not be\n empty. The term may contain Bing Advanced Operators. For example, to limit\n results to a specific domain, use the site: operator.\n @param accept_language [String] A comma-delimited list of one or more\n languages to use for user interface strings. The list is in decreasing order\n of preference. For additional information, including expected format, see\n [RFC2616](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). This\n header and the setLang query parameter are mutually exclusive; do not specify\n both. If you set this header, you must also specify the cc query parameter.\n Bing will use the first supported language it finds from the list, and\n combine that language with the cc parameter value to determine the market to\n return results for. If the list does not include a supported language, Bing\n will find the closest language and market that supports the request, and may\n use an aggregated or default market for the results instead of a specified\n one. You should use this header and the cc query parameter only if you\n specify multiple languages; otherwise, you should use the mkt and setLang\n query parameters. A user interface string is a string that's used as a label\n in a user interface. There are very few user interface strings in the JSON\n response objects. Any links in the response objects to Bing.com properties\n will apply the specified language.\n @param pragma [String] By default, Bing returns cached content, if available.\n To prevent Bing from returning cached content, set the Pragma header to\n no-cache (for example, Pragma: no-cache).\n @param user_agent [String] The user agent originating the request. Bing uses\n the user agent to provide mobile users with an optimized experience. Although\n optional, you are strongly encouraged to always specify this header. The\n user-agent should be the same string that any commonly used browser would\n send. For information about user agents, see [RFC\n 2616](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).\n @param client_id [String] Bing uses this header to provide users with\n consistent behavior across Bing API calls. Bing often flights new features\n and improvements, and it uses the client ID as a key for assigning traffic on\n different flights. If you do not use the same client ID for a user across\n multiple requests, then Bing may assign the user to multiple conflicting\n flights. Being assigned to multiple conflicting flights can lead to an\n inconsistent user experience. For example, if the second request has a\n different flight assignment than the first, the experience may be unexpected.\n Also, Bing can use the client ID to tailor web results to that client ID\u2019s\n search history, providing a richer experience for the user. Bing also uses\n this header to help improve result rankings by analyzing the activity\n generated by a client ID. The relevance improvements help with better quality\n of results delivered by Bing APIs and in turn enables higher click-through\n rates for the API consumer. IMPORTANT: Although optional, you should consider\n this header required. Persisting the client ID across multiple requests for\n the same end user and device combination enables 1) the API consumer to\n receive a consistent user experience, and 2) higher click-through rates via\n better quality of results from the Bing APIs. Each user that uses your\n application on the device must have a unique, Bing generated client ID. If\n you do not include this header in the request, Bing generates an ID and\n returns it in the X-MSEdge-ClientID response header. The only time that you\n should NOT include this header in a request is the first time the user uses\n your app on that device. Use the client ID for each Bing API request that\n your app makes for this user on the device. Persist the client ID. To persist\n the ID in a browser app, use a persistent HTTP cookie to ensure the ID is\n used across all sessions. Do not use a session cookie. For other apps such as\n mobile apps, use the device's persistent storage to persist the ID. The next\n time the user uses your app on that device, get the client ID that you\n persisted. Bing responses may or may not include this header. If the response\n includes this header, capture the client ID and use it for all subsequent\n Bing requests for the user on that device. If you include the\n X-MSEdge-ClientID, you must not include cookies in the request.\n @param client_ip [String] The IPv4 or IPv6 address of the client device. The\n IP address is used to discover the user's location. Bing uses the location\n information to determine safe search behavior. Although optional, you are\n encouraged to always specify this header and the X-Search-Location header. Do\n not obfuscate the address (for example, by changing the last octet to 0).\n Obfuscating the address results in the location not being anywhere near the\n device's actual location, which may result in Bing serving erroneous results.\n @param location [String] A semicolon-delimited list of key/value pairs that\n describe the client's geographical location. Bing uses the location\n information to determine safe search behavior and to return relevant local\n content. Specify the key/value pair as :. The following are the\n keys that you use to specify the user's location. lat (required): The\n latitude of the client's location, in degrees. The latitude must be greater\n than or equal to -90.0 and less than or equal to +90.0. Negative values\n indicate southern latitudes and positive values indicate northern latitudes.\n long (required): The longitude of the client's location, in degrees. The\n longitude must be greater than or equal to -180.0 and less than or equal to\n +180.0. Negative values indicate western longitudes and positive values\n indicate eastern longitudes. re (required): The radius, in meters, which\n specifies the horizontal accuracy of the coordinates. Pass the value returned\n by the device's location service. Typical values might be 22m for GPS/Wi-Fi,\n 380m for cell tower triangulation, and 18,000m for reverse IP lookup. ts\n (optional): The UTC UNIX timestamp of when the client was at the location.\n (The UNIX timestamp is the number of seconds since January 1, 1970.) head\n (optional): The client's relative heading or direction of travel. Specify the\n direction of travel as degrees from 0 through 360, counting clockwise\n relative to true north. Specify this key only if the sp key is nonzero. sp\n (optional): The horizontal velocity (speed), in meters per second, that the\n client device is traveling. alt (optional): The altitude of the client\n device, in meters. are (optional): The radius, in meters, that specifies the\n vertical accuracy of the coordinates. Specify this key only if you specify\n the alt key. Although many of the keys are optional, the more information\n that you provide, the more accurate the location results are. Although\n optional, you are encouraged to always specify the user's geographical\n location. Providing the location is especially important if the client's IP\n address does not accurately reflect the user's physical location (for\n example, if the client uses VPN). For optimal results, you should include\n this header and the X-MSEdge-ClientIP header, but at a minimum, you should\n include this header.\n @param answer_count [Integer] The number of answers that you want the\n response to include. The answers that Bing returns are based on ranking. For\n example, if Bing returns webpages, images, videos, and relatedSearches for a\n request and you set this parameter to two (2), the response includes webpages\n and images.If you included the responseFilter query parameter in the same\n request and set it to webpages and news, the response would include only\n webpages.\n @param country_code [String] A 2-character country code of the country where\n the results come from. This API supports only the United States market. If\n you specify this query parameter, it must be set to us. If you set this\n parameter, you must also specify the Accept-Language header. Bing uses the\n first supported language it finds from the languages list, and combine that\n language with the country code that you specify to determine the market to\n return results for. If the languages list does not include a supported\n language, Bing finds the closest language and market that supports the\n request, or it may use an aggregated or default market for the results\n instead of a specified one. You should use this query parameter and the\n Accept-Language query parameter only if you specify multiple languages;\n otherwise, you should use the mkt and setLang query parameters. This\n parameter and the mkt query parameter are mutually exclusive\u2014do not specify\n both.\n @param count [Integer] The number of search results to return in the\n response. The default is 10 and the maximum value is 50. The actual number\n delivered may be less than requested.Use this parameter along with the offset\n parameter to page results.For example, if your user interface displays 10\n search results per page, set count to 10 and offset to 0 to get the first\n page of results. For each subsequent page, increment offset by 10 (for\n example, 0, 10, 20). It is possible for multiple pages to include some\n overlap in results.\n @param freshness [Freshness] Filter search results by the following age\n values: Day\u2014Return webpages that Bing discovered within the last 24 hours.\n Week\u2014Return webpages that Bing discovered within the last 7 days.\n Month\u2014Return webpages that discovered within the last 30 days. This filter\n applies only to webpage results and not to the other results such as news and\n images. Possible values include: 'Day', 'Week', 'Month'\n @param market [String] The market where the results come from. Typically, mkt\n is the country where the user is making the request from. However, it could\n be a different country if the user is not located in a country where Bing\n delivers results. The market must be in the form -. For example, en-US. The string is case insensitive. If known, you are\n encouraged to always specify the market. Specifying the market helps Bing\n route the request and return an appropriate and optimal response. If you\n specify a market that is not listed in Market Codes, Bing uses a best fit\n market code based on an internal mapping that is subject to change. This\n parameter and the cc query parameter are mutually exclusive\u2014do not specify\n both.\n @param offset [Integer] The zero-based offset that indicates the number of\n search results to skip before returning results. The default is 0. The offset\n should be less than (totalEstimatedMatches - count). Use this parameter along\n with the count parameter to page results. For example, if your user interface\n displays 10 search results per page, set count to 10 and offset to 0 to get\n the first page of results. For each subsequent page, increment offset by 10\n (for example, 0, 10, 20). it is possible for multiple pages to include some\n overlap in results.\n @param promote [Array] A comma-delimited list of answers that you\n want the response to include regardless of their ranking. For example, if you\n set answerCount) to two (2) so Bing returns the top two ranked answers, but\n you also want the response to include news, you'd set promote to news. If the\n top ranked answers are webpages, images, videos, and relatedSearches, the\n response includes webpages and images because news is not a ranked answer.\n But if you set promote to video, Bing would promote the video answer into the\n response and return webpages, images, and videos. The answers that you want\n to promote do not count against the answerCount limit. For example, if the\n ranked answers are news, images, and videos, and you set answerCount to 1 and\n promote to news, the response contains news and images. Or, if the ranked\n answers are videos, images, and news, the response contains videos and news.\n Possible values are Computation, Images, News, RelatedSearches,\n SpellSuggestions, TimeZone, Videos, Webpages. Use only if you specify\n answerCount.\n @param response_filter [Array] A comma-delimited list of answers\n to include in the response. If you do not specify this parameter, the\n response includes all search answers for which there's relevant data.\n Possible filter values are Computation, Images, News, RelatedSearches,\n SpellSuggestions, TimeZone, Videos, Webpages. Although you may use this\n filter to get a single answer, you should instead use the answer-specific\n endpoint in order to get richer results. For example, to receive only images,\n send the request to one of the Image Search API endpoints. The\n RelatedSearches and SpellSuggestions answers do not support a separate\n endpoint like the Image Search API does (only the Web Search API returns\n them). To include answers that would otherwise be excluded because of\n ranking, see the promote query parameter.\n @param safe_search [SafeSearch] A filter used to filter adult content. Off:\n Return webpages with adult text, images, or videos. Moderate: Return webpages\n with adult text, but not adult images or videos. Strict: Do not return\n webpages with adult text, images, or videos. The default is Moderate. If the\n request comes from a market that Bing's adult policy requires that safeSearch\n is set to Strict, Bing ignores the safeSearch value and uses Strict. If you\n use the site: query operator, there is the chance that the response may\n contain adult content regardless of what the safeSearch query parameter is\n set to. Use site: only if you are aware of the content on the site and your\n scenario supports the possibility of adult content. Possible values include:\n 'Off', 'Moderate', 'Strict'\n @param set_lang [String] The language to use for user interface strings.\n Specify the language using the ISO 639-1 2-letter language code. For example,\n the language code for English is EN. The default is EN (English). Although\n optional, you should always specify the language. Typically, you set setLang\n to the same language specified by mkt unless the user wants the user\n interface strings displayed in a different language. This parameter and the\n Accept-Language header are mutually exclusive; do not specify both. A user\n interface string is a string that's used as a label in a user interface.\n There are few user interface strings in the JSON response objects. Also, any\n links to Bing.com properties in the response objects apply the specified\n language.\n @param text_decorations [Boolean] A Boolean value that determines whether\n display strings should contain decoration markers such as hit highlighting\n characters. If true, the strings may include markers. The default is false.\n To specify whether to use Unicode characters or HTML tags as the markers, see\n the textFormat query parameter.\n @param text_format [TextFormat] The type of markers to use for text\n decorations (see the textDecorations query parameter). Possible values are\n Raw\u2014Use Unicode characters to mark content that needs special formatting. The\n Unicode characters are in the range E000 through E019. For example, Bing uses\n E000 and E001 to mark the beginning and end of query terms for hit\n highlighting. HTML\u2014Use HTML tags to mark content that needs special\n formatting. For example, use tags to highlight query terms in display\n strings. The default is Raw. For display strings that contain escapable HTML\n characters such as <, >, and &, if textFormat is set to HTML, Bing escapes\n the characters as appropriate (for example, < is escaped to <). Possible\n values include: 'Raw', 'Html'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SearchResponse] operation results.", "Returns the list of databases of the given Kusto cluster.\n\n @param resource_group_name [String] The name of the resource group containing\n the Kusto cluster.\n @param cluster_name [String] The name of the Kusto cluster.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DatabaseListResult] operation results.", "Updates a database.\n\n @param resource_group_name [String] The name of the resource group containing\n the Kusto cluster.\n @param cluster_name [String] The name of the Kusto cluster.\n @param database_name [String] The name of the database in the Kusto cluster.\n @param parameters [DatabaseUpdate] The database parameters supplied to the\n Update operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all the storage account credentials in a manager.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [StorageAccountCredentialList] operation results.", "Gets the properties of the specified storage account credential name.\n\n @param storage_account_credential_name [String] The name of storage account\n credential to be fetched.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List all recommendations for a subscription.\n\n List all recommendations for a subscription.\n\n @param featured [Boolean] Specify true to return only the most\n critical recommendations. The default is false, which returns\n all recommendations.\n @param filter [String] Filter is specified by using OData syntax. Example:\n $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq\n 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq\n duration'[PT1H|PT1M|P1D]\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Disable all recommendations for an app.\n\n Disable all recommendations for an app.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param site_name [String] Name of the app.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Reset all recommendation opt-out settings for an app.\n\n Reset all recommendation opt-out settings for an app.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param site_name [String] Name of the app.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Retrieve the content of runbook identified by runbook name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param runbook_name [String] The runbook name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve the runbook identified by runbook name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param runbook_name [String] The runbook name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create the runbook identified by runbook name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param runbook_name [String] The runbook name.\n @param parameters [RunbookCreateOrUpdateParameters] The create or update\n parameters for runbook. Provide either content link for a published runbook\n or draft, not both.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update the runbook identified by runbook name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param runbook_name [String] The runbook name.\n @param parameters [RunbookUpdateParameters] The update parameters for\n runbook.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of a storage classification mapping.\n\n Gets the details of the specified storage classification mapping.\n\n @param fabric_name [String] Fabric name.\n @param storage_classification_name [String] Storage classification name.\n @param storage_classification_mapping_name [String] Storage classification\n mapping name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the labeled example utterances with the specified ID from a version\n of the application.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param example_id [Integer] The example ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all permissions the caller has for a resource group.\n\n @param resource_group_name [String] The name of the resource group to get the\n permissions for. The name is case insensitive.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PermissionGetResult] which provide lazy access to pages of the\n response.", "Gets upgrade profile for a managed cluster.\n\n Gets the details of the upgrade profile for a managed cluster with a\n specified resource group and name.\n\n @param resource_group_name [String] The name of the resource group.\n @param resource_name [String] The name of the managed cluster resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ManagedClusterUpgradeProfile] operation results.", "Gets cluster admin credential of a managed cluster.\n\n Gets cluster admin credential of the managed cluster with a specified\n resource group and name.\n\n @param resource_group_name [String] The name of the resource group.\n @param resource_name [String] The name of the managed cluster resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CredentialResults] operation results.", "Gets cluster user credential of a managed cluster.\n\n Gets cluster user credential of the managed cluster with a specified resource\n group and name.\n\n @param resource_group_name [String] The name of the resource group.\n @param resource_name [String] The name of the managed cluster resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CredentialResults] operation results.", "Updates tags on a managed cluster.\n\n Updates a managed cluster with the specified tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param resource_name [String] The name of the managed cluster resource.\n @param parameters [TagsObject] Parameters supplied to the Update Managed\n Cluster Tags operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a container service.\n\n Creates or updates a container service with the specified configuration of\n orchestrator, masters, and agents.\n\n @param resource_group_name [String] The name of the resource group.\n @param container_service_name [String] The name of the container service in\n the specified subscription and resource group.\n @param parameters [ContainerService] Parameters supplied to the Create or\n Update a Container Service operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a list of workflow runs.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param top [Integer] The number of items to be included in the result.\n @param filter [String] The filter to apply on the operation. Options for\n filters include: Status, StartTime, and ClientTrackingId.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets a workflow run.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param run_name [String] The workflow run name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the group specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param group_id [String] Group identifier. Must be unique in the current API\n Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all of the available subnet delegations for this resource group in this\n region.\n\n @param location [String] The location of the domain name.\n @param resource_group_name [String] The name of the resource group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets a list of virtual machine image offers for the specified location and\n publisher.\n\n @param location [String] The name of a supported Azure region.\n @param publisher_name [String] A valid image publisher.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets a list of virtual machine image publishers for the specified Azure\n location.\n\n @param location [String] The name of a supported Azure region.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Cancels a remediation at management group scope.\n\n @param management_group_id [String] Management group ID.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Creates or updates a remediation at management group scope.\n\n @param management_group_id [String] Management group ID.\n @param remediation_name [String] The name of the remediation.\n @param parameters [Remediation] The remediation parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets an existing remediation at management group scope.\n\n @param management_group_id [String] Management group ID.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Deletes an existing remediation at management group scope.\n\n @param management_group_id [String] Management group ID.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Cancels a remediation at subscription scope.\n\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Creates or updates a remediation at subscription scope.\n\n @param remediation_name [String] The name of the remediation.\n @param parameters [Remediation] The remediation parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Gets an existing remediation at subscription scope.\n\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Deletes an existing remediation at subscription scope.\n\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Cancels a remediation at resource group scope.\n\n @param resource_group_name [String] Resource group name.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Gets an existing remediation at resource group scope.\n\n @param resource_group_name [String] Resource group name.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Deletes an existing remediation at resource group scope.\n\n @param resource_group_name [String] Resource group name.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Cancel a remediation at resource scope.\n\n @param resource_id [String] Resource ID.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Gets an existing remediation at resource scope.\n\n @param resource_id [String] Resource ID.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Deletes an existing remediation at individual resource scope.\n\n @param resource_id [String] Resource ID.\n @param remediation_name [String] The name of the remediation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Remediation] operation results.", "Checks whether the container registry name is available for use. The name\n must contain only alphanumeric characters, be globally unique, and between 5\n and 60 characters in length.\n\n @param registry_name_check_request [RegistryNameCheckRequest] The object\n containing information for the availability request.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RegistryNameStatus] operation results.", "Gets the administrator login credentials for the specified container\n registry.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RegistryCredentials] operation results.", "Regenerates the administrator login credentials for the specified container\n registry.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RegistryCredentials] operation results.", "Delete a subscription resource tag value.\n\n @param tag_name [String] The name of the tag.\n @param tag_value [String] The value of the tag.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Create a subscription resource tag value.\n\n @param tag_name [String] The name of the tag.\n @param tag_value [String] The value of the tag.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TagValue] operation results.", "Create a subscription resource tag.\n\n @param tag_name [String] The name of the tag.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TagDetails] operation results.", "Retrieve the Dsc configuration compilation job identified by job id.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param compilation_job_id The Dsc configuration compilation job id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists the login credentials for the specified container registry.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RegistryListCredentialsResult] operation results.", "List the quantity of available pre-provisioned Event Hubs Clusters, indexed\n by Azure region.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AvailableClustersList] operation results.", "List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.\n\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param cluster_name [String] The name of the Event Hubs Cluster.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EHNamespaceIdListResult] operation results.", "Stops all containers in a container group.\n\n Stops all containers in a contaienr group. Compute resources will be\n deallocated and billing will stop.\n\n @param resource_group_name [String] The name of the resource group.\n @param container_group_name [String] The name of the container group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get the callback URL for a workflow trigger.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param trigger_name [String] The workflow trigger name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get full URL of an event subscription\n\n Get the full endpoint URL for an event subscription\n\n @param scope [String] The scope of the event subscription. The scope can be a\n subscription, or a resource group, or a top level resource belonging to a\n resource provider namespace, or an EventGrid topic. For example, use\n '/subscriptions/{subscriptionId}/' for a subscription,\n '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a\n resource group, and\n '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n for a resource, and\n '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n for an EventGrid topic.\n @param event_subscription_name [String] Name of the event subscription\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EventSubscriptionFullUrl] operation results.", "Directory objects that are owners of this service principal.\n\n The owners are a set of non-admin users who are allowed to modify this\n object.\n\n @param object_id [String] The object ID of the service principal for which to\n get owners.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DirectoryObjectListResult] operation results.", "Get the keyCredentials associated with the specified service principal.\n\n @param object_id [String] The object ID of the service principal for which to\n get keyCredentials.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [KeyCredentialListResult] operation results.", "Update the keyCredentials associated with a service principal.\n\n @param object_id [String] The object ID for which to get service principal\n information.\n @param parameters [KeyCredentialsUpdateParameters] Parameters to update the\n keyCredentials of an existing service principal.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the passwordCredentials associated with a service principal.\n\n @param object_id [String] The object ID of the service principal.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PasswordCredentialListResult] operation results.", "Updates the passwordCredentials associated with a service principal.\n\n @param object_id [String] The object ID of the service principal.\n @param parameters [PasswordCredentialsUpdateParameters] Parameters to update\n the passwordCredentials of an existing service principal.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Check the availability of name for resource\n\n @param name_availability_request [NameAvailabilityRequest] The required\n parameters for checking if resource name is available.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [NameAvailability] operation results.", "Gets computes in specified workspace.\n\n @param resource_group_name [String] Name of the resource group in which\n workspace is located.\n @param workspace_name [String] Name of Azure Machine Learning workspace.\n @param skiptoken [String] Continuation token for pagination.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates compute. This call will overwrite a compute if it exists.\n This is a nonrecoverable operation. If your intent is to create a new\n compute, do a GET first to verify that it does not exist yet.\n\n @param resource_group_name [String] Name of the resource group in which\n workspace is located.\n @param workspace_name [String] Name of Azure Machine Learning workspace.\n @param compute_name [String] Name of the Azure Machine Learning compute.\n @param parameters [ComputeResource] Payload with Machine Learning compute\n definition.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a queue from the specified namespace in a resource group.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param queue_name [String] The queue name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns a description for the specified queue.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param queue_name [String] The queue name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all authorization rules for a queue.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param queue_name [String] The queue name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Primary and secondary connection strings to the queue.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param queue_name [String] The queue name.\n @param authorization_rule_name [String] The authorization rule name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ResourceListKeys] operation results.", "Gets the queues within a namespace.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [QueueListResult] which provide lazy access to pages of the response.", "Retrieves information about the run-time state of a virtual machine.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_name [String] The name of the virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VirtualMachineInstanceView] operation results.", "The operation to update a virtual machine.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_name [String] The name of the virtual machine.\n @param parameters [VirtualMachineUpdate] Parameters supplied to the Update\n Virtual Machine operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all the virtual machines under the specified subscription for the\n specified location.\n\n @param location [String] The location for which virtual machines under the\n subscription are queried.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VirtualMachineListResult] which provide lazy access to pages of the\n response.", "Creates a new Server Active Directory Administrator or updates an existing\n server Active Directory Administrator.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param properties [ServerAzureADAdministrator] The required parameters for\n creating or updating an Active Directory Administrator.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the Cache specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param cache_id [String] Identifier of the Cache entity. Cache identifier\n (should be either 'default' or valid Azure region identifier).\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create Intent for Enabling backup of an item. This is a synchronous\n operation.\n\n @param vault_name [String] The name of the recovery services vault.\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param fabric_name [String] Fabric name associated with the backup item.\n @param intent_object_name [String] Intent object name.\n @param parameters [ProtectionIntentResource] resource backed up item\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the network settings of the specified device.\n\n @param device_name [String] The device name\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns calling user identity information.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CurrentUserIdentity] operation results.", "Get the ETag of the policy configuration at the Product level.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param product_id [String] Product identifier. Must be unique in the current\n API Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates an autoscale setting.\n\n @param resource_group_name [String] The name of the resource group.\n @param autoscale_setting_name [String] The autoscale setting name.\n @param parameters [AutoscaleSettingResource] Parameters supplied to the\n operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes and autoscale setting\n\n @param resource_group_name [String] The name of the resource group.\n @param autoscale_setting_name [String] The autoscale setting name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets a server key.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param key_name [String] The name of the server key to be retrieved.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a virtual wan p2s vpn gateway.\n\n @param resource_group_name [String] The resource group name of the\n P2SVpnGateway.\n @param gateway_name [String] The name of the gateway.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets a connector in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param connector_name [String] The name of the connector.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a connector or updates an existing connector in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param connector_name [String] The name of the connector.\n @param parameters [ConnectorResourceFormat] Parameters supplied to the\n CreateOrUpdate Connector operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a connector in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param connector_name [String] The name of the connector.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the properties of a specified task.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param task_name [String] The name of the container registry task.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets information about the specified certificate.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param certificate_name [String] The identifier for the certificate. This\n must be made up of algorithm and thumbprint separated by a dash, and must\n match the certificate data in the request. For example SHA1-a3d1c5.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified certificate.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param certificate_name [String] The identifier for the certificate. This\n must be made up of algorithm and thumbprint separated by a dash, and must\n match the certificate data in the request. For example SHA1-a3d1c5.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes all terms from the list with list Id equal to the list Id passed.\n\n @param list_id [String] List Id of the image list.\n @param language [String] Language of the terms.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [String] operation results.", "Lists a collection of current quota counter periods associated with the\n counter-key configured in the policy on the specified service instance. The\n api does not support paging yet.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param quota_counter_key [String] Quota counter key identifier.This is the\n result of expression defined in counter-key attribute of the quota-by-key\n policy.For Example, if you specify counter-key=\"boo\" in the policy, then it\u2019s\n accessible by \"boo\" counter key. But if it\u2019s defined as\n counter-key=\"@(\"b\"+\"a\")\" then it will be accessible by \"ba\" key\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a network watcher in the specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_watcher_name [String] The name of the network watcher.\n @param parameters [NetworkWatcher] Parameters that define the network watcher\n resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a network watcher tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_watcher_name [String] The name of the network watcher.\n @param parameters [TagsObject] Parameters supplied to update network watcher\n tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all network watchers by subscription.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [NetworkWatcherListResult] operation results.", "Deletes the specified network watcher resource.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_watcher_name [String] The name of the network watcher.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates or updates a firewall rule.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param firewall_rule_name [String] The name of the firewall rule.\n @param parameters [FirewallRule] The required parameters for creating or\n updating a firewall rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a firewall rule.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param firewall_rule_name [String] The name of the firewall rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a firewall rule.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param firewall_rule_name [String] The name of the firewall rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a Hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the Hub.\n @param parameters [Hub] Parameters supplied to the Update Hub operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the backup policy associated with the Recovery Services\n vault. This is an asynchronous operation. Use the GetPolicyOperationResult\n API to Get the operation status.\n\n @param vault_name [String] The name of the Recovery Services vault.\n @param resource_group_name [String] The name of the resource group associated\n with the Recovery Services vault.\n @param policy_name [String] The backup policy name used in this GET\n operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified backup policy from your Recovery Services vault. This\n is an asynchronous operation. Use the GetPolicyOperationResult API to Get the\n operation status.\n\n @param vault_name [String] The name of the Recovery Services vault.\n @param resource_group_name [String] The name of the resource group associated\n with the Recovery Services vault.\n @param policy_name [String] The name of the backup policy to be deleted.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a DDoS custom policy.\n\n @param resource_group_name [String] The name of the resource group.\n @param ddos_custom_policy_name [String] The name of the DDoS custom policy.\n @param parameters [DdosCustomPolicy] Parameters supplied to the create or\n update operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update a DDoS custom policy tags\n\n @param resource_group_name [String] The name of the resource group.\n @param ddos_custom_policy_name [String] The name of the DDoS custom policy.\n @param parameters [TagsObject] Parameters supplied to the update DDoS custom\n policy resource tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the managed application.\n\n @param application_id [String] The fully qualified ID of the managed\n application, including the managed application name and the managed\n application resource type. Use the format,\n /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Application] operation results.", "Gets a list of workflows by subscription.\n\n @param top [Integer] The number of items to be included in the result.\n @param filter [String] The filter to apply on the operation. Options for\n filters include: State, Trigger, and ReferencedResourceId.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Disables a workflow.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Enables a workflow.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets an OpenAPI definition for the workflow.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Object] operation results.", "Get the number of iot hubs in the subscription\n\n Get the number of free and paid iot hubs in the subscription\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [UserSubscriptionQuotaListResult] operation results.", "Gets the specified route table.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_table_name [String] The name of the route table.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified route table.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_table_name [String] The name of the route table.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Create or updates a route table in a specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_table_name [String] The name of the route table.\n @param parameters [RouteTable] Parameters supplied to the create or update\n route table operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a route table tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_table_name [String] The name of the route table.\n @param parameters [TagsObject] Parameters supplied to update route table\n tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the specified job name.\n\n @param device_name [String] The device name\n @param job_name [String] The job Name.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a local network gateway in the specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param local_network_gateway_name [String] The name of the local network\n gateway.\n @param parameters [LocalNetworkGateway] Parameters supplied to the create or\n update local network gateway operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a local network gateway tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param local_network_gateway_name [String] The name of the local network\n gateway.\n @param parameters [TagsObject] Parameters supplied to update local network\n gateway tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the managed application definition.\n\n @param application_definition_id [String] The fully qualified ID of the\n managed application definition, including the managed application name and\n the managed application definition resource type. Use the format,\n /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplicationDefinition] operation results.", "Creates a new managed application definition.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param application_definition_name [String] The name of the managed\n application definition.\n @param parameters [ApplicationDefinition] Parameters supplied to the create\n or update an managed application definition.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a capacity pool\n\n @param resource_group_name [String] The name of the resource group.\n @param account_name [String] The name of the NetApp account\n @param pool_name [String] The name of the capacity pool\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns backup management server registered to Recovery Services Vault.\n\n @param vault_name [String] The name of the recovery services vault.\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param backup_engine_name [String] Name of the backup management server.\n @param filter [String] OData filter options.\n @param skip_token [String] skipToken Filter.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [BackupEngineBaseResource] operation results.", "Replace all specified Event Hubs Cluster settings with those contained in the\n request body. Leaves the settings not specified in the request body\n unmodified.\n\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param cluster_name [String] The name of the Event Hubs Cluster.\n @param parameters [ClusterQuotaConfigurationProperties] Parameters for\n creating an Event Hubs Cluster resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns the list of devices for the specified manager.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param expand [String] Specify $expand=details to populate additional fields\n related to the device or $expand=rolloverdetails to populate additional\n fields related to the service data encryption key rollover on device\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns the properties of the specified device.\n\n @param device_name [String] The device name\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param expand [String] Specify $expand=details to populate additional fields\n related to the device or $expand=rolloverdetails to populate additional\n fields related to the service data encryption key rollover on device\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Patches the device.\n\n @param device_name [String] The device name\n @param parameters [DevicePatch] Patch representation of the device.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the metric definitions for the specified device.\n\n @param device_name [String] The device name\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns the update summary of the specified device name.\n\n @param device_name [String] The device name\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Synchronizes access keys for the auto storage account configured for the\n specified Batch account.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Regenerates the specified account key for the Batch account.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the account.\n @param parameters [BatchAccountRegenerateKeyParameters] The type of key to\n regenerate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all default security rules in a network security group.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_security_group_name [String] The name of the network security\n group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Get the specified default network security rule.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_security_group_name [String] The name of the network security\n group.\n @param default_security_rule_name [String] The name of the default security\n rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a Recovery Services vault.\n\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param vault_name [String] The name of the recovery services vault.\n @param vault [Vault] Recovery Services Vault to be created.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates the vault.\n\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param vault_name [String] The name of the recovery services vault.\n @param vault [PatchVault] Recovery Services Vault to be created.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a machine learning workspace with the specified parameters.\n\n @param resource_group_name [String] Name of the resource group in which\n workspace is located.\n @param workspace_name [String] Name of Azure Machine Learning workspace.\n @param parameters [WorkspaceUpdateParameters] The parameters for updating a\n machine learning workspace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Resync all the keys associated with this workspace. This includes keys for\n the storage account, app insights and password for container registry\n\n @param resource_group_name [String] Name of the resource group in which\n workspace is located.\n @param workspace_name [String] Name of Azure Machine Learning workspace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Lists all the available machine learning workspaces under the specified\n subscription.\n\n @param skiptoken [String] Continuation token for pagination.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Updates the given recovery plan.\n\n The operation to update a recovery plan.\n\n @param recovery_plan_name [String] Recovery plan name.\n @param input [UpdateRecoveryPlanInput] Update recovery plan input\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RecoveryPlan] operation results.", "Retrieves the details of a HubVirtualNetworkConnection.\n\n @param resource_group_name [String] The resource group name of the\n VirtualHub.\n @param virtual_hub_name [String] The name of the VirtualHub.\n @param connection_name [String] The name of the vpn connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves the details of all HubVirtualNetworkConnections.\n\n @param resource_group_name [String] The resource group name of the\n VirtualHub.\n @param virtual_hub_name [String] The name of the VirtualHub.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Get a list of workspaces which the current user has administrator privileges\n and are not associated with an Azure Subscription. The subscriptionId\n parameter in the Url is ignored.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the schema for a given workspace.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Log Analytics workspace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SearchGetSchemaResponse] operation results.", "Purges data in an Log Analytics workspace by a set of user-defined filters.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Log Analytics workspace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkspacePurgeResponse] operation results.", "Gets status of an ongoing purge operation.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Log Analytics workspace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkspacePurgeStatusResponse] operation results.", "Gets a job.\n\n @param resource_group_name [String] The resource group name.\n @param job_collection_name [String] The job collection name.\n @param job_name [String] The job name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates an instance pool.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param instance_pool_name [String] The name of the instance pool to be\n created or updated.\n @param parameters [InstancePool] The requested instance pool resource state.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates an instance pool.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param instance_pool_name [String] The name of the instance pool to be\n updated.\n @param parameters [InstancePoolUpdate] The requested instance pool resource\n state.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the specified network security rule.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_security_group_name [String] The name of the network security\n group.\n @param security_rule_name [String] The name of the security rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified network security rule.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_security_group_name [String] The name of the network security\n group.\n @param security_rule_name [String] The name of the security rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or Update the module identified by module name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param module_name [String] The name of module.\n @param parameters [ModuleCreateOrUpdateParameters] The create or update\n parameters for module.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update the module identified by module name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param module_name [String] The name of module.\n @param parameters [ModuleUpdateParameters] The update parameters for module.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a list of the available domains.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Get information about a specific domain.\n\n @param domain_id The id of the domain to get information about.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Domain] operation results.", "Gets the number of untagged images.\n\n This API returns the images which have no tags for a given project and\n optionally an iteration. If no iteration is specified the\n current workspace is used.\n\n @param project_id The project id.\n @param iteration_id The iteration id. Defaults to workspace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Number] operation results.", "Associate a set of images with a set of tags.\n\n @param project_id The project id.\n @param batch [ImageTagCreateBatch] Batch of image tags. Limited to 128 tags\n per batch.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ImageTagCreateSummary] operation results.", "Create a set of image regions.\n\n This API accepts a batch of image regions, and optionally tags, to update\n existing images with region information.\n There is a limit of 64 entries in the batch.\n\n @param project_id The project id.\n @param batch [ImageRegionCreateBatch] Batch of image regions which include a\n tag and bounding box. Limited to 64.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ImageRegionCreateSummary] operation results.", "Delete a set of image regions.\n\n @param project_id The project id.\n @param region_ids Regions to delete. Limited to 64.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Delete images from the set of training images.\n\n @param project_id The project id.\n @param image_ids Ids of the images to be deleted. Limited to 256 images per\n batch.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Add the provided batch of images to the set of training images.\n\n This API accepts a batch of files, and optionally tags, to create images.\n There is a limit of 64 images and 20 tags.\n\n @param project_id The project id.\n @param batch [ImageFileCreateBatch] The batch of image files to add. Limited\n to 64 images and 20 tags per batch.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ImageCreateSummary] operation results.", "Add the provided images urls to the set of training images.\n\n This API accepts a batch of urls, and optionally tags, to create images.\n There is a limit of 64 images and 20 tags.\n\n @param project_id The project id.\n @param batch [ImageUrlCreateBatch] Image urls and tag ids. Limited to 64\n images and 20 tags per batch.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ImageCreateSummary] operation results.", "Add the specified predicted images to the set of training images.\n\n This API creates a batch of images from predicted images specified. There is\n a limit of 64 images and 20 tags.\n\n @param project_id The project id.\n @param batch [ImageIdCreateBatch] Image and tag ids. Limited to 64 images and\n 20 tags per batch.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ImageCreateSummary] operation results.", "Get region proposals for an image. Returns empty array if no proposals are\n found.\n\n This API will get region proposals for an image along with confidences for\n the region. It returns an empty array if no proposals are found.\n\n @param project_id The project id.\n @param image_id The image id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ImageRegionProposal] operation results.", "Delete a set of predicted images and their associated prediction results.\n\n @param project_id The project id.\n @param ids The prediction ids. Limited to 64.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get images that were sent to your prediction endpoint.\n\n @param project_id The project id.\n @param query [PredictionQueryToken] Parameters used to query the predictions.\n Limited to combining 2 tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PredictionQueryResult] operation results.", "Get your projects.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Create a project.\n\n @param name [String] Name of the project.\n @param description [String] The description of the project.\n @param domain_id The id of the domain to use for this project. Defaults to\n General.\n @param classification_type [Enum] The type of classifier to create for this\n project. Possible values include: 'Multiclass', 'Multilabel'\n @param target_export_platforms [Array] List of platforms the trained\n model is intending exporting to.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a specific project.\n\n @param project_id The id of the project to get.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Project] operation results.", "Update a specific project.\n\n @param project_id The id of the project to update.\n @param updated_project [Project] The updated project model.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Project] operation results.", "Get iterations for the project.\n\n @param project_id The project id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Get a specific iteration.\n\n @param project_id The id of the project the iteration belongs to.\n @param iteration_id The id of the iteration to get.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Iteration] operation results.", "Delete a specific iteration of a project.\n\n @param project_id The project id.\n @param iteration_id The iteration id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Unpublish a specific iteration.\n\n @param project_id The project id.\n @param iteration_id The iteration id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get the list of exports for a specific iteration.\n\n @param project_id The project id.\n @param iteration_id The iteration id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Delete a tag from the project.\n\n @param project_id The project id.\n @param tag_id Id of the tag to be deleted.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get the tags for a given project and iteration.\n\n @param project_id The project id.\n @param iteration_id The iteration id. Defaults to workspace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets an integration account agreement.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param agreement_name [String] The integration account agreement name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an integration account agreement.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param agreement_name [String] The integration account agreement name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "De-associates subscription from the management group.\n\n @param group_id [String] Management Group ID.\n @param subscription_id [String] Subscription ID.\n @param cache_control [String] Indicates that the request shouldn't utilize\n any caches.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a database's vulnerability assessment rule baseline.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param database_name [String] The name of the database for which the\n vulnerability assessment rule baseline is defined.\n @param rule_id [String] The vulnerability assessment rule ID.\n @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of\n the vulnerability assessment rule baseline (default implies a baseline on a\n database level rule and master for server level rule). Possible values\n include: 'master', 'default'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Removes the database's vulnerability assessment rule baseline.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param database_name [String] The name of the database for which the\n vulnerability assessment rule baseline is defined.\n @param rule_id [String] The vulnerability assessment rule ID.\n @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of\n the vulnerability assessment rule baseline (default implies a baseline on a\n database level rule and master for server level rule). Possible values\n include: 'master', 'default'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all available server variables.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Lists all available request headers.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Lists all available response headers.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Lists all available web application firewall rule sets.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results.", "Lists available Ssl options for configuring Ssl policy.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplicationGatewayAvailableSslOptions] operation results.", "Gets Ssl predefined policy with the specified policy name.\n\n @param predefined_policy_name [String] Name of Ssl predefined policy.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplicationGatewaySslPredefinedPolicy] operation results.", "Creates or updates the specified application gateway.\n\n @param resource_group_name [String] The name of the resource group.\n @param application_gateway_name [String] The name of the application gateway.\n @param parameters [ApplicationGateway] Parameters supplied to the create or\n update application gateway operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all the available prebuilt entities in a version of the application.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets information about customizable prebuilt intents added to a version of\n the application.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets all prebuilt entities used in a version of the application.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets all prebuilt intent and entity model information used in a version of\n this application.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets details about the specified Analysis Services server.\n\n @param resource_group_name [String] The name of the Azure Resource group of\n which a given Analysis Services server is part. This name must be at least 1\n character in length, and no more than 90.\n @param server_name [String] The name of the Analysis Services server. It must\n be a minimum of 3 characters, and a maximum of 63.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AnalysisServicesServer] operation results.", "Lists eligible SKUs for Analysis Services resource provider.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SkuEnumerationForNewResourceResult] operation results.", "Lists eligible SKUs for an Analysis Services resource.\n\n @param resource_group_name [String] The name of the Azure Resource group of\n which a given Analysis Services server is part. This name must be at least 1\n character in length, and no more than 90.\n @param server_name [String] The name of the Analysis Services server. It must\n be at least 3 characters in length, and no more than 63.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SkuEnumerationForExistingResourceResult] operation results.", "Return the gateway status of the specified Analysis Services server instance.\n\n @param resource_group_name [String] The name of the Azure Resource group of\n which a given Analysis Services server is part. This name must be at least 1\n character in length, and no more than 90.\n @param server_name [String] The name of the Analysis Services server.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [GatewayListStatusLive] operation results.", "Dissociates a Unified Gateway associated with the server.\n\n @param resource_group_name [String] The name of the Azure Resource group of\n which a given Analysis Services server is part. This name must be at least 1\n character in length, and no more than 90.\n @param server_name [String] The name of the Analysis Services server. It must\n be at least 3 characters in length, and no more than 63.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "List the result of the specified operation.\n\n @param location [String] The region name which the operation will lookup\n into.\n @param operation_id [String] The target operation Id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "List the status of operation.\n\n @param location [String] The region name which the operation will lookup\n into.\n @param operation_id [String] The target operation Id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatus] operation results.", "Provisions the specified Analysis Services server based on the configuration\n specified in the request.\n\n @param resource_group_name [String] The name of the Azure Resource group of\n which a given Analysis Services server is part. This name must be at least 1\n character in length, and no more than 90.\n @param server_name [String] The name of the Analysis Services server. It must\n be a minimum of 3 characters, and a maximum of 63.\n @param server_parameters [AnalysisServicesServer] Contains the information\n used to provision the Analysis Services server.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates the current state of the specified Analysis Services server.\n\n @param resource_group_name [String] The name of the Azure Resource group of\n which a given Analysis Services server is part. This name must be at least 1\n character in length, and no more than 90.\n @param server_name [String] The name of the Analysis Services server. It must\n be at least 3 characters in length, and no more than 63.\n @param server_update_parameters [AnalysisServicesServerUpdateParameters]\n Request object that contains the updated information for the server.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Resumes operation of the specified Analysis Services server instance.\n\n @param resource_group_name [String] The name of the Azure Resource group of\n which a given Analysis Services server is part. This name must be at least 1\n character in length, and no more than 90.\n @param server_name [String] The name of the Analysis Services server. It must\n be at least 3 characters in length, and no more than 63.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get a Content Key Policy\n\n Get the details of a Content Key Policy in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param content_key_policy_name [String] The Content Key Policy name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a Content Key Policy\n\n Deletes a Content Key Policy in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param content_key_policy_name [String] The Content Key Policy name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets load balancer backend address pool.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param backend_address_pool_name [String] The name of the backend address\n pool.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a sync agent.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server on which the sync agent is\n hosted.\n @param sync_agent_name [String] The name of the sync agent.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a sync agent.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server on which the sync agent is\n hosted.\n @param sync_agent_name [String] The name of the sync agent.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets specific OpenID Connect Provider.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param opid [String] Identifier of the OpenID Connect Provider.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the value of the quota counter associated with the counter-key in the\n policy for the specific period in service instance.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param quota_counter_key [String] Quota counter key identifier.This is the\n result of expression defined in counter-key attribute of the quota-by-key\n policy.For Example, if you specify counter-key=\"boo\" in the policy, then it\u2019s\n accessible by \"boo\" counter key. But if it\u2019s defined as\n counter-key=\"@(\"b\"+\"a\")\" then it will be accessible by \"ba\" key\n @param quota_period_key [String] Quota period key identifier.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates an existing quota counter value in the specified service instance.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param quota_counter_key [String] Quota counter key identifier.This is the\n result of expression defined in counter-key attribute of the quota-by-key\n policy.For Example, if you specify counter-key=\"boo\" in the policy, then it\u2019s\n accessible by \"boo\" counter key. But if it\u2019s defined as\n counter-key=\"@(\"b\"+\"a\")\" then it will be accessible by \"ba\" key\n @param quota_period_key [String] Quota period key identifier.\n @param parameters [QuotaCounterValueContractProperties] The value of the\n Quota counter to be applied on the specified period.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets an integration account schema.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param schema_name [String] The integration account schema name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an integration account schema.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param schema_name [String] The integration account schema name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a SQL virtual machine.\n\n @param resource_group_name [String] Name of the resource group that contains\n the resource. You can obtain this value from the Azure Resource Manager API\n or the portal.\n @param sql_virtual_machine_name [String] Name of the SQL virtual machine.\n @param expand [String] The child resources to include in the response.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a SQL virtual machine.\n\n @param resource_group_name [String] Name of the resource group that contains\n the resource. You can obtain this value from the Azure Resource Manager API\n or the portal.\n @param sql_virtual_machine_name [String] Name of the SQL virtual machine.\n @param parameters [SqlVirtualMachine] The SQL virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a SQL virtual machine.\n\n @param resource_group_name [String] Name of the resource group that contains\n the resource. You can obtain this value from the Azure Resource Manager API\n or the portal.\n @param sql_virtual_machine_name [String] Name of the SQL virtual machine.\n @param parameters [SqlVirtualMachineUpdate] The SQL virtual machine.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List available SKUs for the requested Cognitive Services account\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription.\n @param account_name [String] The name of the cognitive services account\n within the specified resource group. Cognitive Services account names must be\n between 3 and 24 characters in length and use numbers and lower-case letters\n only.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CognitiveServicesAccountEnumerateSkusResult] operation results.", "Checks the availability of the given service namespace across all Azure\n subscriptions. This is useful because the domain name is created based on the\n service namespace name.\n\n @param parameters [CheckAvailabilityParameters] The namespace name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CheckAvailabilityResult] operation results.", "Patches the existing namespace\n\n @param resource_group_name [String] The name of the resource group.\n @param namespace_name [String] The namespace name.\n @param parameters [NamespacePatchParameters] Parameters supplied to patch a\n Namespace Resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists the policies for the specified container registry.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RegistryPolicies] operation results.", "Updates the properties of an existing pool.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param pool_name [String] The pool name. This must be unique within the\n account.\n @param parameters [Pool] Pool properties that should be updated. Properties\n that are supplied will be updated, any property not supplied will be\n unchanged.\n @param if_match [String] The entity state (ETag) version of the pool to\n update. This value can be omitted or set to \"*\" to apply the operation\n unconditionally.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a new pool inside the specified account.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param pool_name [String] The pool name. This must be unique within the\n account.\n @param parameters [Pool] Additional parameters for pool creation.\n @param if_match [String] The entity state (ETag) version of the pool to\n update. A value of \"*\" can be used to apply the operation only if the pool\n already exists. If omitted, this operation will always be applied.\n @param if_none_match [String] Set to '*' to allow a new pool to be created,\n but to prevent updating an existing pool. Other values will be ignored.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Pool] operation results.", "Creates an application package record.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param application_id [String] The ID of the application.\n @param version [String] The version of the application.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an application package record and its associated binary file.\n\n @param resource_group_name [String] The name of the resource group that\n contains the Batch account.\n @param account_name [String] The name of the Batch account.\n @param application_id [String] The ID of the application.\n @param version [String] The version of the application to delete.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified Data Lake Analytics firewall rule.\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Analytics account.\n @param firewall_rule_name [String] The name of the firewall rule to retrieve.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified firewall rule from the specified Data Lake Analytics\n account\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Analytics account.\n @param firewall_rule_name [String] The name of the firewall rule to delete.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "The configuration object for the specified cluster. This API is not\n recommended and might be removed in the future. Please consider using List\n configurations API instead.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster.\n @param configuration_name [String] The name of the cluster configuration.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates the specified ExpressRoutePort resource.\n\n @param resource_group_name [String] The name of the resource group.\n @param express_route_port_name [String] The name of the ExpressRoutePort\n resource.\n @param parameters [ExpressRoutePort] Parameters supplied to the create\n ExpressRoutePort operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update ExpressRoutePort tags\n\n @param resource_group_name [String] The name of the resource group.\n @param express_route_port_name [String] The name of the ExpressRoutePort\n resource.\n @param parameters [TagsObject] Parameters supplied to update ExpressRoutePort\n resource tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the tag specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param tag_id [String] Tag identifier. Must be unique in the current API\n Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all Tags associated with the Operation.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TagCollection] operation results.", "Checks whether the specified user, group, contact, or service principal is a\n direct or transitive member of the specified group.\n\n @param parameters [CheckGroupMembershipParameters] The check group membership\n parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CheckGroupMembershipResult] operation results.", "Remove a member from a group.\n\n @param group_object_id [String] The object ID of the group from which to\n remove the member.\n @param member_object_id [String] Member object id\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Add a member to a group.\n\n @param group_object_id [String] The object ID of the group to which to add\n the member.\n @param parameters [GroupAddMemberParameters] The URL of the member object,\n such as\n https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets endpoint keys for an endpoint\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EndpointKeysDTO] operation results.", "Re-generates an endpoint key.\n\n @param key_type [String] Type of Key\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EndpointKeysDTO] operation results.", "Discovers all the containers in the subscription that can be backed up to\n Recovery Services Vault. This is an\n asynchronous operation. To know the status of the operation, call\n GetRefreshOperationResult API.\n\n @param vault_name [String] The name of the recovery services vault.\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param fabric_name [String] Fabric name associated the container.\n @param filter [String] OData filter options.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Lists existing CDN endpoints within a profile.\n\n @param profile_name [String] Name of the CDN profile within the resource\n group.\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EndpointListResult] operation results.", "Deletes an existing CDN endpoint with the specified parameters.\n\n @param endpoint_name [String] Name of the endpoint within the CDN profile.\n @param profile_name [String] Name of the CDN profile within the resource\n group.\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates virtual wan vpn gateway tags.\n\n @param resource_group_name [String] The resource group name of the\n VpnGateway.\n @param gateway_name [String] The name of the gateway.\n @param vpn_gateway_parameters [TagsObject] Parameters supplied to update a\n virtual wan vpn gateway tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Cancels the asynchronous operation on the database.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database.\n @param operation_id The operation identifier.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a database service objective.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param service_objective_name [String] The name of the service objective to\n retrieve.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets details of a specific long running operation.\n\n @param operation_id [String] Operation id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Operation] operation results.", "Creates a new CDN profile with the specified parameters.\n\n @param profile_name [String] Name of the CDN profile within the resource\n group.\n @param profile_properties [ProfileCreateParameters] Profile properties needed\n for creation.\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get lab account\n\n @param resource_group_name [String] The name of the resource group.\n @param lab_account_name [String] The name of the lab Account.\n @param expand [String] Specify the $expand query. Example:\n 'properties($expand=sizeConfiguration)'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete lab account. This operation can take a while to complete\n\n @param resource_group_name [String] The name of the resource group.\n @param lab_account_name [String] The name of the lab Account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get regional availability information for each size category configured under\n a lab account\n\n @param resource_group_name [String] The name of the resource group.\n @param lab_account_name [String] The name of the lab Account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [GetRegionalAvailabilityResponse] operation results.", "Updates an existing AlertRuleResource. To update other fields use the\n CreateOrUpdate method.\n\n @param resource_group_name [String] The name of the resource group.\n @param rule_name [String] The name of the rule.\n @param alert_rules_resource [AlertRuleResourcePatch] Parameters supplied to\n the operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a job collection.\n\n @param resource_group_name [String] The resource group name.\n @param job_collection_name [String] The job collection name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets a deleted database that can be restored\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param restorable_droppeded_database_id [String] The id of the deleted\n database in the form of databaseName,deletionTimeInFileTimeFormat\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified route filter.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_filter_name [String] The name of the route filter.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the specified route filter.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_filter_name [String] The name of the route filter.\n @param expand [String] Expands referenced express route bgp peering\n resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a specified persisted script action of the cluster.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster.\n @param script_name [String] The name of the script.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the Api Version Set specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param version_set_id [String] Api Version Set identifier. Must be unique in\n the current API Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a server.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param parameters [Server] The requested server resource state.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update an identity in the specified subscription and resource\n group.\n\n @param resource_group_name [String] The name of the Resource Group to which\n the identity belongs.\n @param resource_name [String] The name of the identity resource.\n @param parameters [Identity] Parameters to create or update the identity\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update an identity in the specified subscription and resource group.\n\n @param resource_group_name [String] The name of the Resource Group to which\n the identity belongs.\n @param resource_name [String] The name of the identity resource.\n @param parameters [Identity] Parameters to update the identity\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified nat gateway in a specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param nat_gateway_name [String] The name of the nat gateway.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates nat gateway tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param nat_gateway_name [String] The name of the nat gateway.\n @param parameters [TagsObject] Parameters supplied to update nat gateway\n tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a nat gateway.\n\n @param resource_group_name [String] The name of the resource group.\n @param nat_gateway_name [String] The name of the nat gateway.\n @param parameters [NatGateway] Parameters supplied to the create or update\n nat gateway operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates the specified Azure Firewall.\n\n @param resource_group_name [String] The name of the resource group.\n @param azure_firewall_name [String] The name of the Azure Firewall.\n @param parameters [AzureFirewall] Parameters supplied to the create or update\n Azure Firewall operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get an Asset\n\n Get the details of an Asset in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param asset_name [String] The Asset name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete an Asset.\n\n Deletes an Asset in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param asset_name [String] The Asset name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified load balancer load balancing rule.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param load_balancing_rule_name [String] The name of the load balancing rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates the policy.\n\n The operation to create a replication policy\n\n @param policy_name [String] Replication policy name\n @param input [CreatePolicyInput] Create policy input\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Policy] operation results.", "Updates the protection profile.\n\n The operation to update a replication policy.\n\n @param policy_name [String] Protection profile Id.\n @param input [UpdatePolicyInput] Update Protection Profile Input\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Policy] operation results.", "Gets an existing custom domain within an endpoint.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param endpoint_name [String] Name of the endpoint under the profile which is\n unique globally.\n @param custom_domain_name [String] Name of the custom domain within an\n endpoint.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the management lock of a resource group.\n\n @param resource_group_name [String] The resource group name.\n @param lock_name [String] The name of lock.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets a management lock at the resource group level.\n\n @param resource_group_name [String] The resource group name.\n @param lock_name [String] The lock name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ManagementLockObject] operation results.", "Create or update a management lock at the subscription level.\n\n @param lock_name [String] The name of lock.\n @param parameters [ManagementLockObject] The management lock parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ManagementLockObject] operation results.", "Gets an authorization policy in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param authorization_policy_name [String] The name of the policy.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets subscription-level properties and limits for Data Lake Analytics\n specified by resource location.\n\n @param location [String] The resource location without whitespace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CapabilityInformation] operation results.", "Gets a list of supported orchestrators in the specified subscription.\n\n Gets a list of supported orchestrators in the specified subscription. The\n operation returns properties of each orchestrator including version and\n available upgrades.\n\n @param location [String] The name of a supported Azure region.\n @param resource_type [String] resource type for which the list of\n orchestrators needs to be returned\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OrchestratorVersionProfileListResult] operation results.", "Delete a Spatial Anchors Account.\n\n @param resource_group_name [String] Name of an Azure resource group.\n @param spatial_anchors_account_name [String] Name of an Mixed Reality Spatial\n Anchors Account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get Both of the 2 Keys of a Spatial Anchors Account\n\n @param resource_group_name [String] Name of an Azure resource group.\n @param spatial_anchors_account_name [String] Name of an Mixed Reality Spatial\n Anchors Account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SpatialAnchorsAccountKeys] operation results.", "Deletes the specified logger.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param logger_id [String] Logger identifier. Must be unique in the API\n Management service instance.\n @param if_match [String] ETag of the Entity. ETag should match the current\n entity state from the header response of the GET request or it should be *\n for unconditional update.\n @param force [Boolean] Force deletion even if diagnostic is attached.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Obtains the details of a suppression.\n\n @param resource_uri [String] The fully qualified Azure Resource Manager\n identifier of the resource to which the recommendation applies.\n @param recommendation_id [String] The recommendation ID.\n @param name [String] The name of the suppression.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a list of all extensions in a VM scale set.\n\n @param resource_group_name [String] The name of the resource group.\n @param vm_scale_set_name [String] The name of the VM scale set containing the\n extension.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Delete the dsc node identified by node id.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param node_id [String] The node id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update the dsc node.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param node_id [String] Parameters supplied to the update dsc node.\n @param parameters [DscNodeUpdateParameters] Parameters supplied to the update\n dsc node.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve all the job streams for the compilation Job.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param job_id The job id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [JobStreamListResult] operation results.", "Deletes an existing CDN profile with the specified parameters. Deleting a\n profile will result in the deletion of all of the sub-resources including\n endpoints, origins and custom domains.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.\n Supplemental portal is used to configure advanced feature capabilities that\n are not yet available in the Azure portal, such as core reports in a standard\n profile; rules engine, advanced HTTP reports, and real-time stats and alerts\n in a premium profile. The SSO URI changes approximately every 10 minutes.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SsoUri] operation results.", "Updates an existing CDN profile with the specified profile name under the\n specified subscription and resource group.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param profile_name [String] Name of the CDN profile which is unique within\n the resource group.\n @param profile_update_parameters [ProfileUpdateParameters] Profile properties\n needed to update an existing profile.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates the manager.\n\n @param parameters [Manager] The manager.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns the encryption settings of the manager.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [EncryptionSettings] operation results.", "Returns the extended information of the specified manager name.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ManagerExtendedInfo] operation results.", "Deletes the extended info of the manager.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Returns the activation key of the manager.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Key] operation results.", "Returns the symmetric encrypted public encryption key of the manager.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SymmetricEncryptedSecret] operation results.", "Re-generates and returns the activation key of the manager.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Key] operation results.", "Deletes the specified virtual network.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_name [String] The name of the virtual network.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates or updates a virtual network in the specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_name [String] The name of the virtual network.\n @param parameters [VirtualNetwork] Parameters supplied to the create or\n update virtual network operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a virtual network tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_name [String] The name of the virtual network.\n @param parameters [TagsObject] Parameters supplied to update virtual network\n tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the specified service endpoint policy definitions from service endpoint\n policy.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_endpoint_policy_name [String] The name of the service endpoint\n policy name.\n @param service_endpoint_policy_definition_name [String] The name of the\n service endpoint policy definition name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all service endpoint policy definitions in a service end point policy.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_endpoint_policy_name [String] The name of the service endpoint\n policy name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Returns the provisioning status of the resource\n\n @return [String] provisioning status of the resource", "Returns the amount of time in seconds for long running operation polling delay.\n\n @return [Integer] Amount of time in seconds for long running operation polling delay.", "Updates the polling state from the fields of given response object.\n @param response [Net::HTTPResponse] the HTTP response.", "Gets the specified Data Lake Store trusted identity provider.\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Store account.\n @param trusted_id_provider_name [String] The name of the trusted identity\n provider to retrieve.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified trusted identity provider from the specified Data Lake\n Store account\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Store account.\n @param trusted_id_provider_name [String] The name of the trusted identity\n provider to delete.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Summarizes policy states for the resources under the management group.\n\n @param management_group_name [String] Management group name.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SummarizeResults] operation results.", "Queries policy states for the resources under the subscription.\n\n @param policy_states_resource [PolicyStatesResource] The virtual resource\n under PolicyStates resource type. In a given time range, 'latest' represents\n the latest policy state(s), whereas 'default' represents all policy state(s).\n Possible values include: 'default', 'latest'\n @param subscription_id [String] Microsoft Azure subscription ID.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Summarizes policy states for the resources under the subscription.\n\n @param subscription_id [String] Microsoft Azure subscription ID.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SummarizeResults] operation results.", "Summarizes policy states for the resource.\n\n @param resource_id [String] Resource ID.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SummarizeResults] operation results.", "Queries policy states for the subscription level policy set definition.\n\n @param policy_states_resource [PolicyStatesResource] The virtual resource\n under PolicyStates resource type. In a given time range, 'latest' represents\n the latest policy state(s), whereas 'default' represents all policy state(s).\n Possible values include: 'default', 'latest'\n @param subscription_id [String] Microsoft Azure subscription ID.\n @param policy_set_definition_name [String] Policy set definition name.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PolicyStatesQueryResults] operation results.", "Queries policy states for the subscription level policy definition.\n\n @param policy_states_resource [PolicyStatesResource] The virtual resource\n under PolicyStates resource type. In a given time range, 'latest' represents\n the latest policy state(s), whereas 'default' represents all policy state(s).\n Possible values include: 'default', 'latest'\n @param subscription_id [String] Microsoft Azure subscription ID.\n @param policy_definition_name [String] Policy definition name.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PolicyStatesQueryResults] operation results.", "Gets OData metadata XML document.\n\n @param scope [String] A valid scope, i.e. management group, subscription,\n resource group, or resource ID. Scope used has no effect on metadata\n returned.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [String] operation results.", "Creates and initialize new instance of the DeserializationError class.\n @param [String] message message the human readable description of error.\n @param [String] exception_message the inner exception stacktrace.\n @param [String] exception_stacktrace the inner exception stacktrace.\n @param [MsRest::HttpOperationResponse] the request and response", "Gets the current usage count and the limit for the resources of the location\n under the subscription.\n\n @param location [String] The location of the Azure Storage resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [UsageListResult] operation results.", "Returns review details for the review Id passed.\n\n @param team_name [String] Your Team Name.\n @param review_id [String] Id of the review.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Review] operation results.", "Get the Job Details for a Job Id.\n\n @param team_name [String] Your Team Name.\n @param job_id [String] Id of the job.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Job] operation results.", "Publish video review to make it available for review.\n\n @param team_name [String] Your team name.\n @param review_id [String] Id of the review.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets information about the specified network interface.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_interface_name [String] The name of the network interface.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the capabilities for the specified location.\n\n @param location [String] The location.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CapabilitiesResult] operation results.", "Lists the usages for the specified location.\n\n @param location [String] The location.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [UsagesListResult] operation results.", "Regenerate a primary or secondary agent registration key\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the\n agent registration key to be regenerated\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a workflow access key.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param access_key_name [String] The workflow access key name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a Private DNS zone. Does not modify virtual network links or DNS\n records within the zone.\n\n @param resource_group_name [String] The name of the resource group.\n @param private_zone_name [String] The name of the Private DNS zone (without a\n terminating dot).\n @param parameters [PrivateZone] Parameters supplied to the Update operation.\n @param if_match [String] The ETag of the Private DNS zone. Omit this value to\n always overwrite the current zone. Specify the last-seen ETag value to\n prevent accidentally overwriting any concurrent changes.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PrivateZone] operation results.", "Creates a view or updates an exisiting view in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param view_name [String] The name of the view.\n @param parameters [ViewResourceFormat] Parameters supplied to the\n CreateOrUpdate View operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a view in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param view_name [String] The name of the view.\n @param user_id [String] The user ID. Use * to retreive hub level view.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Calculate price for a `ReservationOrder`.\n\n Calculate price for placing a `ReservationOrder`.\n\n @param body [PurchaseRequest] Information needed for calculate or purchase\n reservation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CalculatePriceResponse] operation results.", "Creates a connector mapping or updates an existing connector mapping in the\n connector.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param connector_name [String] The name of the connector.\n @param mapping_name [String] The name of the connector mapping.\n @param parameters [ConnectorMappingResourceFormat] Parameters supplied to the\n CreateOrUpdate Connector Mapping operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a connector mapping in the connector.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param connector_name [String] The name of the connector.\n @param mapping_name [String] The name of the connector mapping.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update log search Rule.\n\n @param resource_group_name [String] The name of the resource group.\n @param rule_name [String] The name of the rule.\n @param parameters [LogSearchRuleResourcePatch] The parameters of the rule to\n update.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List the Log Search rules within a subscription group.\n\n @param filter [String] The filter to apply on the operation. For more\n information please see\n https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [LogSearchRuleResourceCollection] operation results.", "Attempts to enable a user managed key vault for encryption of the specified\n Data Lake Store account.\n\n @param resource_group_name [String] The name of the Azure resource group that\n contains the Data Lake Store account.\n @param account_name [String] The name of the Data Lake Store account to\n attempt to enable the Key Vault for.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets a workflow version.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param version_id [String] The workflow versionId.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the callback url for a trigger of a workflow version.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param version_id [String] The workflow versionId.\n @param trigger_name [String] The workflow trigger name.\n @param parameters [GetCallbackUrlParameters] The callback URL parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets information about the specified interaction.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param interaction_name [String] The name of the interaction.\n @param locale_code [String] Locale of interaction to retrieve, default is\n en-us.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates an interaction or updates an existing interaction within a hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param interaction_name [String] The name of the interaction.\n @param parameters [InteractionResourceFormat] Parameters supplied to the\n CreateOrUpdate Interaction operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Queries policy events for the resources under the subscription.\n\n @param subscription_id [String] Microsoft Azure subscription ID.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PolicyEventsQueryResults] operation results.", "Deletes the specified Logger from Diagnostic.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param diagnostic_id [String] Diagnostic identifier. Must be unique in the\n current API Management service instance.\n @param loggerid [String] Logger identifier. Must be unique in the API\n Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves the subscription's current quota information in a particular\n region.\n\n @param location [String] The region in which to retrieve the subscription's\n quota information. You can find out which regions Azure Stream Analytics is\n supported in here: https://azure.microsoft.com/en-us/regions/\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SubscriptionQuotasListResult] operation results.", "Create vault extended info.\n\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param vault_name [String] The name of the recovery services vault.\n @param resource_resource_extended_info_details [VaultExtendedInfoResource]\n Details of ResourceExtendedInfo\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update vault extended info.\n\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param vault_name [String] The name of the recovery services vault.\n @param resource_resource_extended_info_details [VaultExtendedInfoResource]\n Details of ResourceExtendedInfo\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all of the available CDN REST API operations.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationListResult] operation results.", "Gets the properties of the specified replication.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param replication_name [String] The name of the replication.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a replication from a container registry.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param replication_name [String] The name of the replication.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified interface endpoint by resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param interface_endpoint_name [String] The name of the interface endpoint.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates an interface endpoint in the specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param interface_endpoint_name [String] The name of the interface endpoint.\n @param parameters [InterfaceEndpoint] Parameters supplied to the create or\n update interface endpoint operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete environment. This operation can take a while to complete\n\n @param resource_group_name [String] The name of the resource group.\n @param lab_account_name [String] The name of the lab Account.\n @param lab_name [String] The name of the lab.\n @param environment_setting_name [String] The name of the environment Setting.\n @param environment_name [String] The name of the environment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update a role.\n\n @param device_name [String] The device name.\n @param name [String] The role name.\n @param role [Role] The role properties.\n @param resource_group_name [String] The resource group name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the status of the most recent synchronization between the configuration\n database and the Git repository.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TenantConfigurationSyncStateContract] operation results.", "List database schemas\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database.\n @param filter [String] An OData filter expression that filters elements in\n the collection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves information about a gallery Image Definition.\n\n @param resource_group_name [String] The name of the resource group.\n @param gallery_name [String] The name of the Shared Image Gallery from which\n the Image Definitions are to be retrieved.\n @param gallery_image_name [String] The name of the gallery Image Definition\n to be retrieved.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets an image.\n\n @param resource_group_name [String] The name of the resource group.\n @param image_name [String] The name of the image.\n @param expand [String] The expand expression to apply on the operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update an image.\n\n @param resource_group_name [String] The name of the resource group.\n @param image_name [String] The name of the image.\n @param parameters [Image] Parameters supplied to the Create Image operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update an image.\n\n @param resource_group_name [String] The name of the resource group.\n @param image_name [String] The name of the image.\n @param parameters [ImageUpdate] Parameters supplied to the Update Image\n operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update the specified ExpressRouteCrossConnection.\n\n @param resource_group_name [String] The name of the resource group.\n @param cross_connection_name [String] The name of the\n ExpressRouteCrossConnection.\n @param parameters [ExpressRouteCrossConnection] Parameters supplied to the\n update express route crossConnection operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the currently advertised ARP table associated with the express route\n cross connection in a resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param cross_connection_name [String] The name of the\n ExpressRouteCrossConnection.\n @param peering_name [String] The name of the peering.\n @param device_path [String] The path of the device\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a DDoS protection plan.\n\n @param resource_group_name [String] The name of the resource group.\n @param ddos_protection_plan_name [String] The name of the DDoS protection\n plan.\n @param parameters [DdosProtectionPlan] Parameters supplied to the create or\n update operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update a DDoS protection plan tags\n\n @param resource_group_name [String] The name of the resource group.\n @param ddos_protection_plan_name [String] The name of the DDoS protection\n plan.\n @param parameters [TagsObject] Parameters supplied to the update DDoS\n protection plan resource tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the capabilities available for the specified location.\n\n @param location_id [String] The location id whose capabilities are retrieved.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [LocationCapabilities] operation results.", "Discovers the containers in the subscription that can be protected in a\n Recovery Services vault. This is an asynchronous operation. To learn the\n status of the operation, use the GetRefreshOperationResult API.\n\n @param vault_name [String] The name of the Recovery Services vault.\n @param resource_group_name [String] The name of the resource group associated\n with the Recovery Services vault.\n @param fabric_name [String] The fabric name associated with the container.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves\n information about the specified virtual network gateway connection shared key\n through Network resource provider.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_gateway_connection_name [String] The virtual network\n gateway connection shared key name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ConnectionSharedKey] operation results.", "Creates or updates a virtual network gateway connection in the specified\n resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_gateway_connection_name [String] The name of the\n virtual network gateway connection.\n @param parameters [VirtualNetworkGatewayConnection] Parameters supplied to\n the create or update virtual network gateway connection operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a virtual network gateway connection tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_gateway_connection_name [String] The name of the\n virtual network gateway connection.\n @param parameters [TagsObject] Parameters supplied to update virtual network\n gateway connection tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a linked service instance.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Name of the Log Analytics Workspace that\n contains the linkedServices resource\n @param linked_service_name [String] Name of the linked service.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a linked service instance.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Name of the Log Analytics Workspace that\n contains the linkedServices resource\n @param linked_service_name [String] Name of the linked service.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the linked services instances in a workspace.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Name of the Log Analytics Workspace that\n contains the linked services.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [LinkedServiceListResult] operation results.", "Retrieve the Dsc node report data by node id and report id.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param node_id [String] The Dsc node id.\n @param report_id [String] The report id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets network mapping by name.\n\n Gets the details of an ASR network mapping\n\n @param fabric_name [String] Primary fabric name.\n @param network_name [String] Primary network name.\n @param network_mapping_name [String] Network mapping name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates network mapping.\n\n The operation to create an ASR network mapping.\n\n @param fabric_name [String] Primary fabric name.\n @param network_name [String] Primary network name.\n @param network_mapping_name [String] Network mapping name.\n @param input [CreateNetworkMappingInput] Create network mapping input.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves a built-in policy definition.\n\n This operation retrieves the built-in policy definition with the given name.\n\n @param policy_definition_name [String] The name of the built-in policy\n definition to get.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PolicyDefinition] operation results.", "Deletes a policy definition in a management group.\n\n This operation deletes the policy definition in the given management group\n with the given name.\n\n @param policy_definition_name [String] The name of the policy definition to\n delete.\n @param management_group_id [String] The ID of the management group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Deletes an existing CDN origin within an endpoint.\n\n @param origin_name [String] Name of the origin. Must be unique within\n endpoint.\n @param endpoint_name [String] Name of the endpoint within the CDN profile.\n @param profile_name [String] Name of the CDN profile within the resource\n group.\n @param resource_group_name [String] Name of the resource group within the\n Azure subscription.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Origin] operation results.", "List managed database schemas\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param database_name [String] The name of the database.\n @param filter [String] An OData filter expression that filters elements in\n the collection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DatabaseSchemaListResult] which provide lazy access to pages of the\n response.", "Returns list Id details of the term list with list Id equal to list Id\n passed.\n\n @param list_id [String] List Id of the image list.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TermList] operation results.", "Deletes term list with the list Id equal to list Id passed.\n\n @param list_id [String] List Id of the image list.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [String] operation results.", "Creates a Term List\n\n @param content_type [String] The content type.\n @param body [Body] Schema of the body.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TermList] operation results.", "gets all the Term Lists\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Refreshes the index of the list with list Id equal to list ID passed.\n\n @param list_id [String] List Id of the image list.\n @param language [String] Language of the terms.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RefreshIndex] operation results.", "Gets the specified route from a route table.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_table_name [String] The name of the route table.\n @param route_name [String] The name of the route.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all routes in a route table.\n\n @param resource_group_name [String] The name of the resource group.\n @param route_table_name [String] The name of the route table.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Retrieves the VM Insights onboarding status for the specified resource or\n resource scope.\n\n @param resource_uri [String] The fully qualified Azure Resource manager\n identifier of the resource, or scope, whose status to retrieve.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VMInsightsOnboardingStatus] operation results.", "Create a variable.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param variable_name [String] The variable name.\n @param parameters [VariableCreateOrUpdateParameters] The parameters supplied\n to the create or update variable operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update a variable.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param variable_name [String] The variable name.\n @param parameters [VariableUpdateParameters] The parameters supplied to the\n update variable operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve the variable identified by variable name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param variable_name [String] The name of variable.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified public IP prefix in a specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param public_ip_prefix_name [String] The name of the Public IP Prefix.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a static or dynamic public IP prefix.\n\n @param resource_group_name [String] The name of the resource group.\n @param public_ip_prefix_name [String] The name of the public IP prefix.\n @param parameters [PublicIPPrefix] Parameters supplied to the create or\n update public IP prefix operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates public IP prefix tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param public_ip_prefix_name [String] The name of the public IP prefix.\n @param parameters [TagsObject] Parameters supplied to update public IP prefix\n tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets load balancer probe.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param probe_name [String] The name of the probe.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified peering from the specified express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the express route circuit.\n @param peering_name [String] The name of the peering.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete gallery image.\n\n @param resource_group_name [String] The name of the resource group.\n @param lab_account_name [String] The name of the lab Account.\n @param gallery_image_name [String] The name of the gallery Image.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a path from the path template and the path_params and skip_encoding_path_params\n @return [URI] body the HTTP response body.", "Gets publishing user\n\n Gets publishing user\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [User] operation results.", "Updates publishing user\n\n Updates publishing user\n\n @param user_details [User] Details of publishing user\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [User] operation results.", "Gets source control token\n\n Gets source control token\n\n @param source_control_type [String] Type of source control\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SourceControl] operation results.", "Updates source control token\n\n Updates source control token\n\n @param source_control_type [String] Type of source control\n @param request_message [SourceControl] Source control token information\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SourceControl] operation results.", "Gets list of available geo regions plus ministamps\n\n Gets list of available geo regions plus ministamps\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeploymentLocations] operation results.", "List all SKUs.\n\n List all SKUs.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SkuInfos] operation results.", "Verifies if this VNET is compatible with an App Service Environment by\n analyzing the Network Security Group rules.\n\n Verifies if this VNET is compatible with an App Service Environment by\n analyzing the Network Security Group rules.\n\n @param parameters [VnetParameters] VNET information\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VnetValidationFailureDetails] operation results.", "Move resources between resource groups.\n\n Move resources between resource groups.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param move_resource_envelope [CsmMoveResourceEnvelope] Object that\n represents the resource to move.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Validate if a resource can be created.\n\n Validate if a resource can be created.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param validate_request [ValidateRequest] Request with the resources to\n validate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ValidateResponse] operation results.", "Validate whether a resource can be moved.\n\n Validate whether a resource can be moved.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param move_resource_envelope [CsmMoveResourceEnvelope] Object that\n represents the resource to move.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the source controls available for Azure websites.\n\n Gets the source controls available for Azure websites.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SourceControlCollection] operation results.", "List all apps that are assigned to a hostname.\n\n List all apps that are assigned to a hostname.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [IdentifierCollection] operation results.", "List all premier add-on offers.\n\n List all premier add-on offers.\n\n @param next_page_link [String] The NextLink from the previous successful call\n to List operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PremierAddOnOfferCollection] operation results.", "Lists supported cloud appliance models and supported configurations.\n\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CloudApplianceConfigurationList] operation results.", "Gets an incident associated to an alert rule\n\n @param resource_group_name [String] The name of the resource group.\n @param rule_name [String] The name of the rule.\n @param incident_name [String] The name of the incident to retrieve.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a list of incidents associated to an alert rule\n\n @param resource_group_name [String] The name of the resource group.\n @param rule_name [String] The name of the rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [IncidentListResult] operation results.", "Gets the detailed information for a given run.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param run_id [String] The run ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all issues associated with the specified API.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param api_id [String] API identifier. Must be unique in the current API\n Management service instance.\n @param filter [String] | Field | Usage | Supported\n operators | Supported functions\n |
|-------------|-------------|-------------|-------------|
| name |\n filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith\n |
| userId | filter | ge, le, eq, ne, gt, lt | substringof, contains,\n startswith, endswith |
| state | filter | eq | |
\n @param expand_comments_attachments [Boolean] Expand the comment attachments.\n @param top [Integer] Number of records to return.\n @param skip [Integer] Number of records to skip.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [IssueCollection] which provide lazy access to pages of the response.", "Lists all subscriptions of the API Management service instance.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param filter [String] | Field | Supported operators | Supported\n functions |\n |--------------|------------------------|---------------------------------------------|\n | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | stateComment | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | productId | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | state | eq |\n |\n @param top [Integer] Number of records to return.\n @param skip [Integer] Number of records to skip.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified Subscription entity.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param sid [String] Subscription entity Identifier. The entity represents the\n association between a user and a product in API Management.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates the subscription of specified user to the specified\n product.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param sid [String] Subscription entity Identifier. The entity represents the\n association between a user and a product in API Management.\n @param parameters [SubscriptionCreateParameters] Create parameters.\n @param notify [Boolean] Notify change in Subscription State.\n - If false, do not send any email notification for change of state of\n subscription\n - If true, send email notification of change of state of subscription\n @param if_match [String] ETag of the Entity. Not required when creating an\n entity, but required when updating an entity.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SubscriptionContract] operation results.", "Get projects in a service\n\n The project resource is a nested resource representing a stored migration\n project. This method returns a list of projects owned by a service resource.\n\n @param group_name [String] Name of the resource group\n @param service_name [String] Name of the service\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Get project information\n\n The project resource is a nested resource representing a stored migration\n project. The GET method retrieves information about a project.\n\n @param group_name [String] Name of the resource group\n @param service_name [String] Name of the service\n @param project_name [String] Name of the project\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a data source instance.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Name of the Log Analytics Workspace that\n contains the datasource.\n @param data_source_name [String] Name of the datasource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a datasource instance.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Name of the Log Analytics Workspace that\n contains the datasource.\n @param data_source_name [String] Name of the datasource\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete lab. This operation can take a while to complete\n\n @param resource_group_name [String] The name of the resource group.\n @param lab_account_name [String] The name of the lab Account.\n @param lab_name [String] The name of the lab.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets provider operations metadata for all resource providers.\n\n @param api_version [String] The API version to use for this operation.\n @param expand [String] Specifies whether to expand the values.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Provides the details of the backed up item. This is an asynchronous\n operation. To know the status of the operation,\n call the GetItemOperationResult API.\n\n @param vault_name [String] The name of the recovery services vault.\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param fabric_name [String] Fabric name associated with the backed up item.\n @param container_name [String] Container name associated with the backed up\n item.\n @param protected_item_name [String] Backed up item name whose details are to\n be fetched.\n @param filter [String] OData filter options.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Enables backup of an item or to modifies the backup policy information of an\n already backed up item. This is an\n asynchronous operation. To know the status of the operation, call the\n GetItemOperationResult API.\n\n @param vault_name [String] The name of the recovery services vault.\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param fabric_name [String] Fabric name associated with the backup item.\n @param container_name [String] Container name associated with the backup\n item.\n @param protected_item_name [String] Item name to be backed up.\n @param parameters [ProtectedItemResource] resource backed up item\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Returns the properties of the specified bandwidth setting name.\n\n @param bandwidth_setting_name [String] The name of bandwidth setting to be\n fetched.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the upload location for the user to be able to upload the source.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SourceUploadDefinition] operation results.", "Get Live Output\n\n Gets a Live Output.\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param live_event_name [String] The name of the Live Event.\n @param live_output_name [String] The name of the Live Output.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete Live Output\n\n Deletes a Live Output.\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param live_event_name [String] The name of the Live Event.\n @param live_output_name [String] The name of the Live Output.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a new server, or will overwrite an existing server.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param parameters [ServerForCreate] The required parameters for creating or\n updating a server.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Check service health status\n\n The services resource is the top-level resource that represents the Data\n Migration Service. This action performs a health check and returns the status\n of the service and virtual machine size.\n\n @param group_name [String] Name of the resource group\n @param service_name [String] Name of the service\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DataMigrationServiceStatusResponse] operation results.", "Create or update DMS Instance\n\n The services resource is the top-level resource that represents the Data\n Migration Service. The PUT method creates a new service or updates an\n existing one. When a service is updated, existing child resources (i.e.\n tasks) are unaffected. Services currently support a single kind, \"vm\", which\n refers to a VM-based service, although other kinds may be added in the\n future. This method can change the kind, SKU, and network of the service, but\n if tasks are currently running (i.e. the service is busy), this will fail\n with 400 Bad Request (\"ServiceIsBusy\"). The provider will reply when\n successful with 200 OK or 201 Created. Long-running operations use the\n provisioningState property.\n\n @param parameters [DataMigrationService] Information about the service\n @param group_name [String] Name of the resource group\n @param service_name [String] Name of the service\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update DMS Service Instance\n\n The services resource is the top-level resource that represents the Data\n Migration Service. The PATCH method updates an existing service. This method\n can change the kind, SKU, and network of the service, but if tasks are\n currently running (i.e. the service is busy), this will fail with 400 Bad\n Request (\"ServiceIsBusy\").\n\n @param parameters [DataMigrationService] Information about the service\n @param group_name [String] Name of the resource group\n @param service_name [String] Name of the service\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Queues project for training\n\n @param project_id The project id\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Iteration] operation results.", "Create a project\n\n @param name [String] Name of the project\n @param description [String] The description of the project\n @param domain_id The id of the domain to use for this project. Defaults to\n General\n @param classification_type [Enum] The type of classifier to create for this\n project. Possible values include: 'Multiclass', 'Multilabel'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Project] operation results.", "Queries the resources managed by Azure Resource Manager for all subscriptions\n specified in the request.\n\n @param query [QueryRequest] Request specifying query and its options.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [QueryResponse] operation results.", "Get task information\n\n The tasks resource is a nested, proxy-only resource representing work\n performed by a DMS instance. The GET method retrieves information about a\n task.\n\n @param group_name [String] Name of the resource group\n @param service_name [String] Name of the service\n @param project_name [String] Name of the project\n @param task_name [String] Name of the Task\n @param expand [String] Expand the response\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Provides the list of records from the activity logs.\n\n @param filter [String] Reduces the set of data collected.
The **$filter**\n argument is very restricted and allows only the following patterns.
-\n *List events for a resource group*: $filter=eventTimestamp ge\n '2014-07-16T04:36:37.6407898Z' and eventTimestamp le\n '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq\n 'resourceGroupName'.
- *List events for resource*: $filter=eventTimestamp\n ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le\n '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.
- *List\n events for a subscription in a time range*: $filter=eventTimestamp ge\n '2014-07-16T04:36:37.6407898Z' and eventTimestamp le\n '2014-07-20T04:36:37.6407898Z'.
- *List events for a resource provider*:\n $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp\n le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq\n 'resourceProviderName'.
- *List events for a correlation Id*:\n $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp\n le '2014-07-20T04:36:37.6407898Z' and correlationId eq\n 'correlationID'.

**NOTE**: No other syntax is allowed.\n @param select [String] Used to fetch events with only the given\n properties.
The **$select** argument is a comma separated list of property\n names to be returned. Possible values are: *authorization*, *claims*,\n *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*,\n *httpRequest*, *level*, *operationId*, *operationName*, *properties*,\n *resourceGroupName*, *resourceProviderName*, *resourceId*, *status*,\n *submissionTimestamp*, *subStatus*, *subscriptionId*\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Backs up the specified certificate.\n\n Requests that a backup of the specified certificate be downloaded to the\n client. All versions of the certificate will be downloaded. This operation\n requires the certificates/backup permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param certificate_name [String] The name of the certificate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [BackupCertificateResult] operation results.", "Restores a backed up certificate to a vault.\n\n Restores a backed up certificate, and all its versions, to a vault. This\n operation requires the certificates/restore permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param certificate_bundle_backup The backup blob associated with a\n certificate bundle.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CertificateBundle] operation results.", "Gets the specified deleted storage account.\n\n The Get Deleted Storage Account operation returns the specified deleted\n storage account along with its attributes. This operation requires the\n storage/get permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param storage_account_name [String] The name of the storage account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeletedStorageBundle] operation results.", "Permanently deletes the specified storage account.\n\n The purge deleted storage account operation removes the secret permanently,\n without the possibility of recovery. This operation can only be performed on\n a soft-delete enabled vault. This operation requires the storage/purge\n permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param storage_account_name [String] The name of the storage account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Recovers the deleted storage account.\n\n Recovers the deleted storage account in the specified vault. This operation\n can only be performed on a soft-delete enabled vault. This operation requires\n the storage/recover permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param storage_account_name [String] The name of the storage account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [StorageBundle] operation results.", "Backs up the specified storage account.\n\n Requests that a backup of the specified storage account be downloaded to the\n client. This operation requires the storage/backup permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param storage_account_name [String] The name of the storage account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [BackupStorageResult] operation results.", "Restores a backed up storage account to a vault.\n\n Restores a backed up storage account to a vault. This operation requires the\n storage/restore permission.\n\n @param vault_base_url [String] The vault name, for example\n https://myvault.vault.azure.net.\n @param storage_bundle_backup The backup blob associated with a storage\n account.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [StorageBundle] operation results.", "Gets the specified Peer Express Route Circuit Connection from the specified\n express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the express route circuit.\n @param peering_name [String] The name of the peering.\n @param connection_name [String] The name of the peer express route circuit\n connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets all global reach peer connections associated with a private peering in\n an express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the circuit.\n @param peering_name [String] The name of the peering.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a virtual network link to the specified Private DNS zone.\n\n @param resource_group_name [String] The name of the resource group.\n @param private_zone_name [String] The name of the Private DNS zone (without a\n terminating dot).\n @param virtual_network_link_name [String] The name of the virtual network\n link.\n @param parameters [VirtualNetworkLink] Parameters supplied to the\n CreateOrUpdate operation.\n @param if_match [String] The ETag of the virtual network link to the Private\n DNS zone. Omit this value to always overwrite the current virtual network\n link. Specify the last-seen ETag value to prevent accidentally overwriting\n any concurrent changes.\n @param if_none_match [String] Set to '*' to allow a new virtual network link\n to the Private DNS zone to be created, but to prevent updating an existing\n link. Other values will be ignored.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VirtualNetworkLink] operation results.", "Gets a virtual network link to the specified Private DNS zone.\n\n @param resource_group_name [String] The name of the resource group.\n @param private_zone_name [String] The name of the Private DNS zone (without a\n terminating dot).\n @param virtual_network_link_name [String] The name of the virtual network\n link.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists the virtual network links to the specified Private DNS zone.\n\n @param resource_group_name [String] The name of the resource group.\n @param private_zone_name [String] The name of the Private DNS zone (without a\n terminating dot).\n @param top [Integer] The maximum number of virtual network links to return.\n If not specified, returns up to 100 virtual network links.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Implements Csm operations Api to exposes the list of available Csm Apis under\n the resource provider\n\n Implements Csm operations Api to exposes the list of available Csm Apis under\n the resource provider\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CsmOperationCollection] which provide lazy access to pages of the\n response.", "Deletes a notification hub associated with a namespace.\n\n @param resource_group_name [String] The name of the resource group.\n @param namespace_name [String] The namespace name.\n @param notification_hub_name [String] The notification hub name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists the notification hubs associated with a namespace.\n\n @param resource_group_name [String] The name of the resource group.\n @param namespace_name [String] The namespace name.\n @param notification_hub_name [String] The notification hub name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an Event Hub from the specified Namespace and resource group.\n\n @param resource_group_name [String] Name of the resource group within the\n azure subscription.\n @param namespace_name [String] The Namespace name\n @param event_hub_name [String] The Event Hub name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets an Event Hubs description for the specified Event Hub.\n\n @param resource_group_name [String] Name of the resource group within the\n azure subscription.\n @param namespace_name [String] The Namespace name\n @param event_hub_name [String] The Event Hub name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the authorization rules for an Event Hub.\n\n @param resource_group_name [String] Name of the resource group within the\n azure subscription.\n @param namespace_name [String] The Namespace name\n @param event_hub_name [String] The Event Hub name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the ACS and SAS connection strings for the Event Hub.\n\n @param resource_group_name [String] Name of the resource group within the\n azure subscription.\n @param namespace_name [String] The Namespace name\n @param event_hub_name [String] The Event Hub name\n @param authorization_rule_name [String] The authorization rule name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Cancel a currently running template deployment.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param deployment_name [String] The name of the deployment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get a list of deployments.\n\n @param resource_group_name [String] The name of the resource group to filter\n by. The name is case insensitive.\n @param filter [String] The filter to apply on the operation.\n @param top [Integer] Query parameters. If null is passed returns all\n deployments.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a named template deployment using a template.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param deployment_name [String] The name of the deployment.\n @param parameters [Deployment] Additional parameters supplied to the\n operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the authorization server specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param authsid [String] Identifier of the authorization server.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates an existing sync member.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database on which the sync\n group is hosted.\n @param sync_group_name [String] The name of the sync group on which the sync\n member is hosted.\n @param sync_member_name [String] The name of the sync member.\n @param parameters [SyncMember] The requested sync member resource state.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a Service Fabric cluster resource.\n\n Create or update a Service Fabric cluster resource with the specified name.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster resource.\n @param parameters [Cluster] The cluster resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified Express Route Circuit Connection from the specified\n express route circuit.\n\n @param resource_group_name [String] The name of the resource group.\n @param circuit_name [String] The name of the express route circuit.\n @param peering_name [String] The name of the peering.\n @param connection_name [String] The name of the express route circuit\n connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "List keys for a domain\n\n List the two keys used to publish to a domain\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription.\n @param domain_name [String] Name of the domain\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DomainSharedAccessKeys] operation results.", "Checks that Group entity specified by identifier is associated with the\n Product entity.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param product_id [String] Product identifier. Must be unique in the current\n API Management service instance.\n @param group_id [String] Group identifier. Must be unique in the current API\n Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Checks the availability of a Traffic Manager Relative DNS name.\n\n @param parameters [CheckTrafficManagerRelativeDnsNameAvailabilityParameters]\n The Traffic Manager name parameters supplied to the\n CheckTrafficManagerNameAvailability operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TrafficManagerNameAvailability] operation results.", "Lists all Traffic Manager profiles within a resource group.\n\n @param resource_group_name [String] The name of the resource group containing\n the Traffic Manager profiles to be listed.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ProfileListResult] operation results.", "Create or update a Traffic Manager profile.\n\n @param resource_group_name [String] The name of the resource group containing\n the Traffic Manager profile.\n @param profile_name [String] The name of the Traffic Manager profile.\n @param parameters [Profile] The Traffic Manager profile parameters supplied\n to the CreateOrUpdate operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update a Traffic Manager profile.\n\n @param resource_group_name [String] The name of the resource group containing\n the Traffic Manager profile.\n @param profile_name [String] The name of the Traffic Manager profile.\n @param parameters [Profile] The Traffic Manager profile parameters supplied\n to the Update operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the certificate list.\n\n Returns the list of certificates.\n\n @param resource_group_name [String] The name of the resource group that\n contains the IoT hub.\n @param resource_name [String] The name of the IoT hub.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CertificateListDescription] operation results.", "Get the certificate.\n\n Returns the certificate.\n\n @param resource_group_name [String] The name of the resource group that\n contains the IoT hub.\n @param resource_name [String] The name of the IoT hub.\n @param certificate_name [String] The name of the certificate\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates new or updates existing specified API of the API Management service\n instance.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param api_id [String] API revision identifier. Must be unique in the current\n API Management service instance. Non-current revision has ;rev=n as a suffix\n where n is the revision number.\n @param parameters [ApiCreateOrUpdateParameter] Create or update parameters.\n @param if_match [String] ETag of the Entity. Not required when creating an\n entity, but required when updating an entity.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete guest diagnostics association settings.\n\n @param resource_uri [String] The fully qualified ID of the resource,\n including the resource name and resource type.\n @param association_name [String] The name of the diagnostic settings\n association.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Lists a collection of operations associated with tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param api_id [String] API revision identifier. Must be unique in the current\n API Management service instance. Non-current revision has ;rev=n as a suffix\n where n is the revision number.\n @param filter [String] | Field | Supported operators | Supported\n functions |\n |-------------|------------------------|---------------------------------------------|\n | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | apiName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | method | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,\n endswith |\n @param top [Integer] Number of records to return.\n @param skip [Integer] Number of records to skip.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the role assignment in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param assignment_name [String] The name of the role assignment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the role assignment in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param assignment_name [String] The name of the role assignment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a role assignment in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param assignment_name [String] The assignment name\n @param parameters [RoleAssignmentResourceFormat] Parameters supplied to the\n CreateOrUpdate RoleAssignment operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets an integration account map.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param map_name [String] The integration account map name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an integration account map.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param map_name [String] The integration account map name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete the container instance service association link for the subnet.\n\n Delete the container instance service association link for the subnet. This\n operation unblocks user from deleting subnet.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_name [String] The name of the virtual network.\n @param subnet_name [String] The name of the subnet.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Check if a domain is available for registration.\n\n Check if a domain is available for registration.\n\n @param identifier [NameIdentifier] Name of the domain.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DomainAvailablilityCheckResult] operation results.", "Generate a single sign-on request for the domain management portal.\n\n Generate a single sign-on request for the domain management portal.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DomainControlCenterSsoRequest] operation results.", "Delete a domain.\n\n Delete a domain.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param domain_name [String] Name of the domain.\n @param force_hard_delete_domain [Boolean] Specify true to delete\n the domain immediately. The default is false which deletes the\n domain after 24 hours.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Renew a domain.\n\n Renew a domain.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param domain_name [String] Name of the domain.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Deletes a function from the streaming job.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param function_name [String] The name of the function.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets details about the specified function.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param function_name [String] The name of the function.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a management lock by scope.\n\n @param scope [String] The scope for the lock.\n @param lock_name [String] The name of lock.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get a management lock by scope.\n\n @param scope [String] The scope for the lock.\n @param lock_name [String] The name of lock.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ManagementLockObject] operation results.", "Gets a management lock at the subscription level.\n\n @param lock_name [String] The name of the lock to get.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ManagementLockObject] operation results.", "Gets the Batch service quotas for the specified subscription at the given\n location.\n\n @param location_name [String] The desired region for the quotas.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [BatchLocationQuota] operation results.", "Update a Traffic Manager endpoint.\n\n @param resource_group_name [String] The name of the resource group containing\n the Traffic Manager endpoint to be updated.\n @param profile_name [String] The name of the Traffic Manager profile.\n @param endpoint_type [String] The type of the Traffic Manager endpoint to be\n updated.\n @param endpoint_name [String] The name of the Traffic Manager endpoint to be\n updated.\n @param parameters [Endpoint] The Traffic Manager endpoint parameters supplied\n to the Update operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update a Traffic Manager endpoint.\n\n @param resource_group_name [String] The name of the resource group containing\n the Traffic Manager endpoint to be created or updated.\n @param profile_name [String] The name of the Traffic Manager profile.\n @param endpoint_type [String] The type of the Traffic Manager endpoint to be\n created or updated.\n @param endpoint_name [String] The name of the Traffic Manager endpoint to be\n created or updated.\n @param parameters [Endpoint] The Traffic Manager endpoint parameters supplied\n to the CreateOrUpdate operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a Traffic Manager endpoint.\n\n @param resource_group_name [String] The name of the resource group containing\n the Traffic Manager endpoint to be deleted.\n @param profile_name [String] The name of the Traffic Manager profile.\n @param endpoint_type [String] The type of the Traffic Manager endpoint to be\n deleted.\n @param endpoint_name [String] The name of the Traffic Manager endpoint to be\n deleted.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets load balancer frontend IP configuration.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param frontend_ipconfiguration_name [String] The name of the frontend IP\n configuration.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the backup.\n\n @param device_name [String] The device name\n @param backup_name [String] The backup name.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Retrieve the configuration identified by configuration name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param configuration_name [String] The configuration name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Details of a specific setting\n\n @param setting_name [String] Auto provisioning setting key\n @param setting [AutoProvisioningSetting] Auto provisioning setting key\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AutoProvisioningSetting] operation results.", "Gets information about the specified relationship Link.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param relationship_link_name [String] The name of the relationship link.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a relationship link within a hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param relationship_link_name [String] The name of the relationship.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all the intelligence packs possible and whether they are enabled or\n disabled for a given workspace.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Name of the Log Analytics Workspace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the shared keys for a workspace.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Name of the Log Analytics Workspace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SharedKeys] operation results.", "Gets a list of usage metrics for a workspace.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] The name of the workspace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkspaceListUsagesResult] operation results.", "Gets a list of management groups connected to a workspace.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] The name of the workspace.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkspaceListManagementGroupsResult] operation results.", "This operation enables an item to be backed up, or modifies the existing\n backup policy information for an item that has been backed up. This is an\n asynchronous operation. To learn the status of the operation, call the\n GetItemOperationResult API.\n\n @param vault_name [String] The name of the Recovery Services vault.\n @param resource_group_name [String] The name of the resource group associated\n with the Recovery Services vault.\n @param fabric_name [String] The fabric name associated with the backup item.\n @param container_name [String] The container name associated with the backup\n item.\n @param protected_item_name [String] The name of the backup item.\n @param resource_protected_item [ProtectedItemResource] The resource backup\n item.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets information about the specified relationship.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param relationship_name [String] The name of the relationship.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a relationship or updates an existing relationship within a hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param relationship_name [String] The name of the Relationship.\n @param parameters [RelationshipResourceFormat] Parameters supplied to the\n CreateOrUpdate Relationship operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get all App Service plans for a subcription.\n\n Get all App Service plans for a subcription.\n\n @param detailed [Boolean] Specify true to return all App Service\n plan properties. The default is false, which returns a subset of\n the properties.\n Retrieval of all properties may increase the API latency.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "List all capabilities of an App Service plan.\n\n List all capabilities of an App Service plan.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service plan.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Get the maximum number of Hybrid Connections allowed in an App Service plan.\n\n Get the maximum number of Hybrid Connections allowed in an App Service plan.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service plan.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [HybridConnectionLimits] operation results.", "Gets all selectable sku's for a given App Service Plan\n\n Gets all selectable sku's for a given App Service Plan\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of App Service Plan\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Object] operation results.", "Get all Virtual Networks associated with an App Service plan.\n\n Get all Virtual Networks associated with an App Service plan.\n\n @param resource_group_name [String] Name of the resource group to which the\n resource belongs.\n @param name [String] Name of the App Service plan.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Update automatic tuning properties for target database.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database.\n @param parameters [DatabaseAutomaticTuning] The requested automatic tuning\n resource state.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified network security group.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_security_group_name [String] The name of the network security\n group.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a network security group in the specified resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_security_group_name [String] The name of the network security\n group.\n @param parameters [NetworkSecurityGroup] Parameters supplied to the create or\n update network security group operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a network security group tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_security_group_name [String] The name of the network security\n group.\n @param parameters [TagsObject] Parameters supplied to update network security\n group tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the properties of the specified backup policy name.\n\n @param device_name [String] The device name\n @param backup_policy_name [String] The name of backup policy to be fetched.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates the backup policy.\n\n @param device_name [String] The device name\n @param backup_policy_name [String] The name of the backup policy to be\n created/updated.\n @param parameters [BackupPolicy] The backup policy.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an input from the streaming job.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param input_name [String] The name of the input.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets details about the specified input.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param input_name [String] The name of the input.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a Volume resource.\n\n Creates a Volume resource with the specified name, description and\n properties. If Volume resource with the same name exists, then it is updated\n with the specified description and properties.\n\n @param volume_resource_name [String] The identity of the volume.\n @param volume_resource_description [VolumeResourceDescription] Description\n for creating a Volume resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VolumeResourceDescription] operation results.", "Gets a widget type in the specified hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param widget_type_name [String] The name of the widget type.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "This operation Completes Migration of entities by pointing the connection\n strings to Premium namespace and any entities created after the operation\n will be under Premium Namespace. CompleteMigration operation will fail when\n entity migration is in-progress.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "This operation reverts Migration\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates or update policy with specified rule set name within a resource\n group.\n\n @param resource_group_name [String] The name of the resource group.\n @param policy_name [String] The name of the policy.\n @param parameters [WebApplicationFirewallPolicy] Policy to be created.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Pauses a database.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database to be paused.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Database] operation results.", "Resumes a database.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database to be resumed.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Database] operation results.", "Deletes the database.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get Workflows resource\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param workflow_id [String] workflow Id\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update a proximity placement group.\n\n @param resource_group_name [String] The name of the resource group.\n @param proximity_placement_group_name [String] The name of the proximity\n placement group.\n @param parameters [ProximityPlacementGroup] Parameters supplied to the Create\n Proximity Placement Group operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update a proximity placement group.\n\n @param resource_group_name [String] The name of the resource group.\n @param proximity_placement_group_name [String] The name of the proximity\n placement group.\n @param parameters [ProximityPlacementGroupUpdate] Parameters supplied to the\n Update Proximity Placement Group operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a proximity placement group.\n\n @param resource_group_name [String] The name of the resource group.\n @param proximity_placement_group_name [String] The name of the proximity\n placement group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Retrieve the certificate identified by certificate name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param certificate_name [String] The name of certificate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a certificate.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param certificate_name [String] The parameters supplied to the create or\n update certificate operation.\n @param parameters [CertificateCreateOrUpdateParameters] The parameters\n supplied to the create or update certificate operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update a certificate.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param certificate_name [String] The parameters supplied to the update\n certificate operation.\n @param parameters [CertificateUpdateParameters] The parameters supplied to\n the update certificate operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Checks whether the deployment exists.\n\n @param deployment_name [String] The name of the deployment to check.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Boolean] operation results.", "Validates whether the specified template is syntactically correct and will be\n accepted by Azure Resource Manager..\n\n @param deployment_name [String] The name of the deployment.\n @param parameters [Deployment] Parameters to validate.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeploymentValidateResult] operation results.", "Exports the template used for specified deployment.\n\n @param deployment_name [String] The name of the deployment from which to get\n the template.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DeploymentExportResult] operation results.", "Gets a list of Serial Console API operations.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [SerialConsoleOperations] operation results.", "Creates or updates global policy configuration for the tenant.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param parameters The policy content details.\n @param if_match [String] The entity state (Etag) version of the tenant policy\n to update. A value of \"*\" can be used for If-Match to unconditionally apply\n the operation.\n @param [Hash{String => String}] A hash of custom headers that will be added\n to the HTTP request.\n\n @return [Concurrent::Promise] Promise object which holds the HTTP response.", "Gets information about the specified profile.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param profile_name [String] The name of the profile.\n @param locale_code [String] Locale of profile to retrieve, default is en-us.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a profile within a Hub, or updates an existing profile.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param profile_name [String] The name of the profile.\n @param parameters [ProfileResourceFormat] Parameters supplied to the\n create/delete Profile type operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the appliance.\n\n @param appliance_id [String] The fully qualified ID of the appliance,\n including the appliance name and the appliance resource type. Use the format,\n /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Appliance] operation results.", "apps - Assign a LUIS Azure account to an application\n\n Assigns an Azure account to the application.\n\n @param app_id The application ID.\n @param azure_account_info_object [AzureAccountInfoObject] The Azure account\n information object.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatus] operation results.", "apps - Get LUIS Azure accounts assigned to the application\n\n Gets the LUIS Azure accounts assigned to the application for the user using\n his ARM token.\n\n @param app_id The application ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "apps - Removes an assigned LUIS Azure account from an application\n\n Removes assigned Azure account from the application.\n\n @param app_id The application ID.\n @param azure_account_info_object [AzureAccountInfoObject] The Azure account\n information object.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatus] operation results.", "user - Get LUIS Azure accounts\n\n Gets the LUIS Azure accounts for the user using his ARM token.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Create or update the metadata of an IoT hub.\n\n Create or update the metadata of an Iot hub. The usual pattern to modify a\n property is to retrieve the IoT hub metadata and security metadata, and then\n combine them with the modified values in a new body to update the IoT hub.\n\n @param resource_group_name [String] The name of the resource group that\n contains the IoT hub.\n @param resource_name [String] The name of the IoT hub.\n @param iot_hub_description [IotHubDescription] The IoT hub metadata and\n security metadata.\n @param if_match [String] ETag of the IoT Hub. Do not specify for creating a\n brand new IoT Hub. Required to update an existing IoT Hub.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update an existing IoT Hubs tags.\n\n Update an existing IoT Hub tags. to update other fields use the\n CreateOrUpdate method\n\n @param resource_group_name [String] Resource group identifier.\n @param resource_name [String] Name of iot hub to update.\n @param iot_hub_tags [TagsResource] Updated tag information to set into the\n iot hub instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List all the build steps for a given build task.\n\n @param resource_group_name [String] The name of the resource group to which\n the container registry belongs.\n @param registry_name [String] The name of the container registry.\n @param build_task_name [String] The name of the container registry build\n task.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a Prediction in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param prediction_name [String] The name of the Prediction.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a Prediction or updates an existing Prediction in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param prediction_name [String] The name of the Prediction.\n @param parameters [PredictionResourceFormat] Parameters supplied to the\n create/update Prediction operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a Prediction in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param prediction_name [String] The name of the Prediction.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists report records by Product.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param filter [String] | Field | Usage | Supported\n operators | Supported functions\n |
|-------------|-------------|-------------|-------------|
|\n timestamp | filter | ge, le | |
| displayName | select, orderBy |\n | |
| apiRegion | filter | eq | |
| userId | filter | eq |\n |
| productId | select, filter | eq | |
| subscriptionId |\n filter | eq | |
| callCountSuccess | select, orderBy | | |\n
| callCountBlocked | select, orderBy | | |
|\n callCountFailed | select, orderBy | | |
| callCountOther |\n select, orderBy | | |
| callCountTotal | select, orderBy | |\n |
| bandwidth | select, orderBy | | |
| cacheHitsCount |\n select | | |
| cacheMissCount | select | | |
|\n apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | |\n |
| apiTimeMax | select | | |
| serviceTimeAvg | select |\n | |
| serviceTimeMin | select | | |
| serviceTimeMax |\n select | | |
\n @param top [Integer] Number of records to return.\n @param skip [Integer] Number of records to skip.\n @param orderby [String] OData order by query option.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ReportCollection] which provide lazy access to pages of the\n response.", "Gets if Serial Console is disabled for a subscription.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [GetDisabledResult] operation results.", "Gets information about the availability of updates based on the last scan of\n the device. It also gets information about any ongoing download or install\n jobs on the device.\n\n @param device_name [String] The device name.\n @param resource_group_name [String] The resource group name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [UpdateSummary] operation results.", "Gets the extension properties for the specified HDInsight cluster extension.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster.\n @param extension_name [String] The name of the cluster extension.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Regenerates the specified account key for the specified Cognitive Services\n account.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription.\n @param account_name [String] The name of Cognitive Services account.\n @param key_name [KeyName] key name to generate (Key1|Key2). Possible values\n include: 'Key1', 'Key2'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update a NetApp account\n\n @param body [NetAppAccount] NetApp Account object supplied in the body of the\n operation.\n @param resource_group_name [String] The name of the resource group.\n @param account_name [String] The name of the NetApp account\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "The delete subnet operation deletes the specified subnet.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_name [String] The name of the virtual network.\n @param subnet_name [String] The name of the subnet.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Validates a workflow.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param workflow [Workflow] The workflow.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Checks by ID whether a resource exists.\n\n @param resource_id [String] The fully qualified ID of the resource, including\n the resource name and resource type. Use the format,\n /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n @param api_version [String] The API version to use for the operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Boolean] operation results.", "Gets a resource by ID.\n\n @param resource_id [String] The fully qualified ID of the resource, including\n the resource name and resource type. Use the format,\n /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n @param api_version [String] The API version to use for the operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [GenericResource] operation results.", "Patch HDInsight cluster with the specified parameters.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster.\n @param parameters [ClusterPatchParameters] The cluster patch request.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the gateway settings for the specified cluster.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [GatewaySettings] operation results.", "Gets the details for the currently logged-in user.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AADObject] operation results.", "Creates or updates diagnostic settings for the specified resource.\n\n @param resource_uri [String] The identifier of the resource.\n @param parameters [DiagnosticSettingsResource] Parameters supplied to the\n operation.\n @param name [String] The name of the diagnostic setting.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the user specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param user_id [String] User identifier. Must be unique in the current API\n Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the given replica of the service of an application.\n\n Gets the information about the service replica with the given name. The\n information include the description and other properties of the service\n replica.\n\n @param application_resource_name [String] The identity of the application.\n @param service_resource_name [String] The identity of the service.\n @param replica_name [String] Service Fabric replica name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all the replicas of a service.\n\n Gets the information about all replicas of a service. The information include\n the description and other properties of the service replica.\n\n @param application_resource_name [String] The identity of the application.\n @param service_resource_name [String] The identity of the service.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PagedServiceReplicaDescriptionList] operation results.", "Create or update an availability set.\n\n @param resource_group_name [String] The name of the resource group.\n @param availability_set_name [String] The name of the availability set.\n @param parameters [AvailabilitySet] Parameters supplied to the Create\n Availability Set operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update an availability set.\n\n @param resource_group_name [String] The name of the resource group.\n @param availability_set_name [String] The name of the availability set.\n @param parameters [AvailabilitySetUpdate] Parameters supplied to the Update\n Availability Set operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete an availability set.\n\n @param resource_group_name [String] The name of the resource group.\n @param availability_set_name [String] The name of the availability set.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Updates an application resource with the specified name.\n\n @param subscription_id [String] The customer subscription identifier\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster resource\n @param application_name [String] The name of the application resource.\n @param api_version [String] The version of the API.\n @param parameters [ApplicationResourceUpdate] The application resource for\n patch operations.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplicationResourceUpdate] operation results.", "Lists the failover groups in a location.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param location_name [String] The name of the region where the resource is\n located.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Creates or updates a failover group.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param location_name [String] The name of the region where the resource is\n located.\n @param failover_group_name [String] The name of the failover group.\n @param parameters [InstanceFailoverGroup] The failover group parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create or update a domain topic\n\n Asynchronously creates or updates a new domain topic with the specified\n parameters.\n\n @param resource_group_name [String] The name of the resource group within the\n user's subscription.\n @param domain_name [String] Name of the domain\n @param domain_topic_name [String] Name of the domain topic\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a link in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param link_name [String] The name of the link.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a link or updates an existing link in the hub.\n\n @param resource_group_name [String] The name of the resource group.\n @param hub_name [String] The name of the hub.\n @param link_name [String] The name of the link.\n @param parameters [LinkResourceFormat] Parameters supplied to the\n CreateOrUpdate Link operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a managed database.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param database_name [String] The name of the database.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List Asset Filters\n\n List Asset Filters associated with the specified Asset.\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param asset_name [String] The Asset name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified Data Lake Store virtual network rule.\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Store account.\n @param virtual_network_rule_name [String] The name of the virtual network\n rule to retrieve.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified virtual network rule from the specified Data Lake Store\n account.\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Store account.\n @param virtual_network_rule_name [String] The name of the virtual network\n rule to delete.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified saved search in a given workspace.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Log Analytics workspace name\n @param saved_search_name [String] Name of the saved search.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified saved search for a given workspace.\n\n @param resource_group_name [String] The name of the resource group to get.\n The name is case insensitive.\n @param workspace_name [String] Log Analytics workspace name\n @param saved_search_name [String] The id of the saved search.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists the marketplaces for a scope by billing period and billingAccountId.\n Marketplaces are available via this API only for May 1, 2014 or later.\n\n @param billing_account_id [String] BillingAccount ID\n @param billing_period_name [String] Billing Period Name.\n @param filter [String] May be used to filter marketplaces by\n properties/usageEnd (Utc time), properties/usageStart (Utc time),\n properties/resourceGroup, properties/instanceName or properties/instanceId.\n The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not\n currently support 'ne', 'or', or 'not'.\n @param top [Integer] May be used to limit the number of results to the most\n recent N marketplaces.\n @param skiptoken [String] Skiptoken is only used if a previous operation\n returned a partial result. If a previous response contains a nextLink\n element, the value of the nextLink element will include a skiptoken parameter\n that specifies a starting point to use for subsequent calls.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates and initialize new instance of the ServiceClient class.\n\n @param credentials [MsRest::ServiceClientCredentials] credentials to authorize\n HTTP requests made by the service client.\n @param options additional parameters for the HTTP request (not implemented yet).\n\n\n @param base_url [String] the base url for the request.\n @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.\n @param path [String] the path, relative to {base_url}.\n @param options [Hash{String=>String}] specifying any request options like :credentials, :body, etc.\n @return [Concurrent::Promise] Promise object which holds the HTTP response.", "Get an assembly for an integration account.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param assembly_artifact_name [String] The assembly artifact name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete an assembly for an integration account.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param assembly_artifact_name [String] The assembly artifact name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the content callback url for an integration account assembly.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param assembly_artifact_name [String] The assembly artifact name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Adds a user to the allowed list of users to access this LUIS application.\n Users are added using their email address.\n\n @param app_id The application ID.\n @param user_to_add [UserCollaborator] A model containing the user's email\n address.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatus] operation results.", "Removes a user from the allowed list of users to access this LUIS\n application. Users are removed using their email address.\n\n @param app_id The application ID.\n @param user_to_delete [UserCollaborator] A model containing the user's email\n address.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatus] operation results.", "Creates a role assignment by ID.\n\n @param role_assignment_id [String] The fully qualified ID of the role\n assignment, including the scope, resource name and resource type. Use the\n format,\n /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.\n Example:\n /subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.\n @param parameters [RoleAssignmentCreateParameters] Parameters for the role\n assignment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [RoleAssignment] operation results.", "Delete an action group.\n\n @param resource_group_name [String] The name of the resource group.\n @param action_group_name [String] The name of the action group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Deletes a job credential.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param job_agent_name [String] The name of the job agent.\n @param credential_name [String] The name of the credential.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a step execution of a job execution.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param job_agent_name [String] The name of the job agent.\n @param job_name [String] The name of the job to get.\n @param job_execution_id The unique id of the job execution\n @param step_name [String] The name of the step.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a virtual network rule.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param virtual_network_rule_name [String] The name of the virtual network\n rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the virtual network rule with the given name.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param virtual_network_rule_name [String] The name of the virtual network\n rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve the connectiontype identified by connectiontype name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param connection_type_name [String] The name of connectiontype.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a connectiontype.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param connection_type_name [String] The parameters supplied to the create or\n update connectiontype operation.\n @param parameters [ConnectionTypeCreateOrUpdateParameters] The parameters\n supplied to the create or update connectiontype operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates the specified compute policy. During update, the compute\n policy with the specified name will be replaced with this new compute policy.\n An account supports, at most, 50 policies\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Analytics account.\n @param compute_policy_name [String] The name of the compute policy to create\n or update.\n @param parameters [CreateOrUpdateComputePolicyParameters] Parameters supplied\n to create or update the compute policy. The max degree of parallelism per job\n property, min priority per job property, or both must be present.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified Data Lake Analytics compute policy.\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Analytics account.\n @param compute_policy_name [String] The name of the compute policy to\n retrieve.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified compute policy from the specified Data Lake Analytics\n account\n\n @param resource_group_name [String] The name of the Azure resource group.\n @param account_name [String] The name of the Data Lake Analytics account.\n @param compute_policy_name [String] The name of the compute policy to delete.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a batch configuration for an integration account.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param batch_configuration_name [String] The batch configuration name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a batch configuration for an integration account.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param batch_configuration_name [String] The batch configuration name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a Application resource.\n\n Creates a Application resource with the specified name, description and\n properties. If Application resource with the same name exists, then it is\n updated with the specified description and properties.\n\n @param application_resource_name [String] The identity of the application.\n @param application_resource_description [ApplicationResourceDescription]\n Description for creating a Application resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplicationResourceDescription] operation results.", "Deletes a WCFRelays .\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The Namespace Name\n @param relay_name [String] The relay name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns the description for the specified WCFRelays.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The Namespace Name\n @param relay_name [String] The relay name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates the settings in a version of the application.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param list_of_app_version_setting_object [Array] A\n list of the updated application version settings.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a new LUIS app.\n\n @param application_create_object [ApplicationCreateObject] An application\n containing Name, Description (optional), Culture, Usage Scenario (optional),\n Domain (optional) and initial version ID (optional) of the application.\n Default value for the version ID is \"0.1\". Note: the culture cannot be\n changed after the app is created.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Uuid] operation results.", "Lists all of the user's applications.\n\n @param skip [Integer] The number of entries to skip. Default value is 0.\n @param take [Integer] The number of entries to return. Maximum page size is\n 500. Default is 100.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Imports an application to LUIS, the application's structure is included in\n the request body.\n\n @param luis_app [LuisApp] A LUIS application structure.\n @param app_name [String] The application name to create. If not specified,\n the application name will be read from the imported object. If the\n application name already exists, an error is returned.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Uuid] operation results.", "Gets the endpoint URLs for the prebuilt Cortana applications.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PersonalAssistantsResponse] operation results.", "Gets the available application domains.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the application available usage scenarios.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets a list of supported cultures. Cultures are equivalent to the written\n language and locale. For example,\"en-us\" represents the U.S. variation of\n English.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Gets the logs of the past month's endpoint queries for the application.\n\n @param app_id The application ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [NOT_IMPLEMENTED] operation results.", "Updates the name or description of the application.\n\n @param app_id The application ID.\n @param application_update_object [ApplicationUpdateObject] A model containing\n Name and Description of the application.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatus] operation results.", "Publishes a specific version of the application.\n\n @param app_id The application ID.\n @param application_publish_object [ApplicationPublishObject] The application\n publish object. The region is the target region that the application is\n published to.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ProductionOrStagingEndpointInfo] operation results.", "Get the application settings including 'UseAllTrainingData'.\n\n @param app_id The application ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplicationSettings] operation results.", "Updates the application settings including 'UseAllTrainingData'.\n\n @param app_id The application ID.\n @param application_setting_update_object [ApplicationSettingUpdateObject] An\n object containing the new application settings.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatus] operation results.", "Get the application publish settings including 'UseAllTrainingData'.\n\n @param app_id The application ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PublishSettings] operation results.", "Updates the application publish settings including 'UseAllTrainingData'.\n\n @param app_id The application ID.\n @param publish_setting_update_object [PublishSettingUpdateObject] An object\n containing the new publish application settings.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationStatus] operation results.", "Returns the available endpoint deployment regions and URLs.\n\n @param app_id The application ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Hash] operation results.", "Gets all the available custom prebuilt domains for all cultures.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Adds a prebuilt domain along with its intent and entity models as a new\n application.\n\n @param prebuilt_domain_create_object [PrebuiltDomainCreateObject] A prebuilt\n domain create object containing the name and culture of the domain.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Uuid] operation results.", "Gets all the available prebuilt domains for a specific culture.\n\n @param culture [String] Culture.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "package - Gets published LUIS application package in binary stream GZip\n format\n\n Packages a published LUIS application as a GZip file to be used in the LUIS\n container.\n\n @param app_id The application ID.\n @param slot_name [String] The publishing slot name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [NOT_IMPLEMENTED] operation results.", "package - Gets trained LUIS application package in binary stream GZip format\n\n Packages trained LUIS application as GZip file to be used in the LUIS\n container.\n\n @param app_id The application ID.\n @param version_id [String] The version ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [NOT_IMPLEMENTED] operation results.", "Gets all the Image Lists.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "configures configurable options to default values", "Updates an Azure Dev Spaces Controller.\n\n Updates the properties of an existing Azure Dev Spaces Controller with the\n specified update parameters.\n\n @param resource_group_name [String] Resource group to which the resource\n belongs.\n @param name [String] Name of the resource.\n @param controller_update_parameters [ControllerUpdateParameters]\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists connection details for an Azure Dev Spaces Controller.\n\n Lists connection details for the underlying container resources of an Azure\n Dev Spaces Controller.\n\n @param resource_group_name [String] Resource group to which the resource\n belongs.\n @param name [String] Name of the resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ControllerConnectionDetailsList] operation results.", "Creates an Azure Dev Spaces Controller.\n\n Creates an Azure Dev Spaces Controller with the specified create parameters.\n\n @param resource_group_name [String] Resource group to which the resource\n belongs.\n @param name [String] Name of the resource.\n @param controller [Controller] Controller create parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "List a workflow run request history.\n\n @param resource_group_name [String] The resource group name.\n @param workflow_name [String] The workflow name.\n @param run_name [String] The workflow run name.\n @param action_name [String] The workflow action name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Deletes the data connection with the given name.\n\n @param resource_group_name [String] The name of the resource group containing\n the Kusto cluster.\n @param cluster_name [String] The name of the Kusto cluster.\n @param database_name [String] The name of the database in the Kusto cluster.\n @param data_connection_name [String] The name of the data connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets the details of a Replication protected item.\n\n Gets the details of an ASR replication protected item.\n\n @param fabric_name [String] Fabric unique name.\n @param protection_container_name [String] Protection container name.\n @param replicated_protected_item_name [String] Replication protected item\n name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the list of replication protected items.\n\n Gets the list of ASR replication protected items in the vault.\n\n @param skip_token [String] The pagination token. Possible values: \"FabricId\"\n or \"FabricId_CloudId\" or null\n @param filter [String] OData filter options.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a given SyncGroup.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param sync_group_name [String] Name of Sync Group resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the container backup status\n\n @param azure_region [String] Azure region to hit Api\n @param parameters [BackupStatusRequest] Container Backup Status Request\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [BackupStatusResponse] operation results.", "Check the give Namespace name availability.\n\n @param resource_group_name [String] Name of the resource group within the\n azure subscription.\n @param namespace_name [String] The Namespace name\n @param parameters [CheckNameAvailabilityParameter] Parameters to check\n availability of the given Alias name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a target group.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param job_agent_name [String] The name of the job agent.\n @param target_group_name [String] The name of the target group.\n @param parameters [JobTargetGroup] The requested state of the target group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a target group.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param job_agent_name [String] The name of the job agent.\n @param target_group_name [String] The name of the target group.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Security pricing configuration in the subscriptionSecurity pricing\n configuration in the subscription\n\n @param pricing_name [String] name of the pricing configuration\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Pricing] operation results.", "Security pricing configuration in the subscription\n\n @param pricing_name [String] name of the pricing configuration\n @param pricing [Pricing] Pricing object\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Pricing] operation results.", "Gets the specified subnet by virtual network and resource group.\n\n @param resource_group_name [String] The name of the resource group.\n @param virtual_network_name [String] The name of the virtual network.\n @param subnet_name [String] The name of the subnet.\n @param expand [String] Expands referenced resources.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a server communication link.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param communication_link_name [String] The name of the server communication\n link.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns a server communication link.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param communication_link_name [String] The name of the server communication\n link.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Lists all of the applications for the HDInsight cluster.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Array] operation results.", "Lists properties of the specified application.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster.\n @param application_name [String] The constant value for the application name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the specified application on the HDInsight cluster.\n\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster.\n @param application_name [String] The constant value for the application name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a Gateway resource.\n\n Creates a Gateway resource with the specified name, description and\n properties. If Gateway resource with the same name exists, then it is updated\n with the specified description and properties. Use Gateway resource to\n provide public connectivity to application services.\n\n @param gateway_resource_name [String] The identity of the gateway.\n @param gateway_resource_description [GatewayResourceDescription] Description\n for creating a Gateway resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [GatewayResourceDescription] operation results.", "Gets the budget for a resource group under a subscription by budget name.\n\n @param resource_group_name [String] Azure Resource Group Name.\n @param budget_name [String] Budget Name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Budget] operation results.", "The operation to delete a budget.\n\n @param resource_group_name [String] Azure Resource Group Name.\n @param budget_name [String] Budget Name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "creating settings about where we should store your security data and logs\n\n @param workspace_setting_name [String] Name of the security setting\n @param workspace_setting [WorkspaceSetting] Security data setting object\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkspaceSetting] operation results.", "Settings about where we should store your security data and logs\n\n @param workspace_setting_name [String] Name of the security setting\n @param workspace_setting [WorkspaceSetting] Security data setting object\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkspaceSetting] operation results.", "Indicates which operations can be performed by the Power BI Resource\n Provider.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [OperationList] operation results.", "Gets details of a specific knowledgebase.\n\n @param kb_id [String] Knowledgebase id.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [KnowledgebaseDTO] operation results.", "Asynchronous operation to modify a knowledgebase.\n\n @param kb_id [String] Knowledgebase id.\n @param update_kb [UpdateKbOperationDTO] Post body of the request.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Operation] operation results.", "Asynchronous operation to create a new knowledgebase.\n\n @param create_kb_payload [CreateKbDTO] Post body of the request.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Operation] operation results.", "Download the knowledgebase.\n\n @param kb_id [String] Knowledgebase id.\n @param environment [EnvironmentType] Specifies whether environment is Test or\n Prod. Possible values include: 'Prod', 'Test'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [QnADocumentsDTO] operation results.", "Checks if the specified management group name is valid and unique\n\n @param check_name_availability_request [CheckNameAvailabilityRequest]\n Management group name availability check parameters.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CheckNameAvailabilityResult] operation results.", "Starts backfilling subscriptions for the Tenant.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TenantBackfillStatusResult] operation results.", "Gets tenant backfill status\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TenantBackfillStatusResult] operation results.", "Retrieve the credential identified by credential name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param credential_name [String] The name of credential.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a credential.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param credential_name [String] The parameters supplied to the create or\n update credential operation.\n @param parameters [CredentialCreateOrUpdateParameters] The parameters\n supplied to the create or update credential operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update a credential.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param credential_name [String] The parameters supplied to the Update\n credential operation.\n @param parameters [CredentialUpdateParameters] The parameters supplied to the\n Update credential operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the details of the certificate specified by its identifier.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param certificate_id [String] Identifier of the certificate entity. Must be\n unique in the current API Management service instance.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Serialize the object to JSON\n @param options [Hash] hash map contains options to convert to json.\n @return [String] JSON serialized version of the object", "Deserialize the object from JSON\n @param json [String] JSON string representation of the object\n @return [JSONable] object built from json input", "Retrieve the activity in the module identified by module name and activity\n name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param module_name [String] The name of module.\n @param activity_name [String] The name of activity.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a schedule.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param schedule_name [String] The schedule name.\n @param parameters [ScheduleCreateOrUpdateParameters] The parameters supplied\n to the create or update schedule operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Update the schedule identified by schedule name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param schedule_name [String] The schedule name.\n @param parameters [ScheduleUpdateParameters] The parameters supplied to the\n update schedule operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieve the schedule identified by schedule name.\n\n @param resource_group_name [String] Name of an Azure Resource group.\n @param automation_account_name [String] The name of the automation account.\n @param schedule_name [String] The schedule name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves information about a gallery Image Version.\n\n @param resource_group_name [String] The name of the resource group.\n @param gallery_name [String] The name of the Shared Image Gallery in which\n the Image Definition resides.\n @param gallery_image_name [String] The name of the gallery Image Definition\n in which the Image Version resides.\n @param gallery_image_version_name [String] The name of the gallery Image\n Version to be retrieved.\n @param expand [ReplicationStatusTypes] The expand expression to apply on the\n operation. Possible values include: 'ReplicationStatus'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a recommended elastic pool.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param recommended_elastic_pool_name [String] The name of the recommended\n elastic pool to be retrieved.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a Streaming Locator\n\n Get the details of a Streaming Locator in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param streaming_locator_name [String] The Streaming Locator name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a Streaming Locator\n\n Deletes a Streaming Locator in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param streaming_locator_name [String] The Streaming Locator name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets latest heatmap for Traffic Manager profile.\n\n @param resource_group_name [String] The name of the resource group containing\n the Traffic Manager endpoint.\n @param profile_name [String] The name of the Traffic Manager profile.\n @param top_left [Array] The top left latitude,longitude pair of the\n rectangular viewport to query for.\n @param bot_right [Array] The bottom right latitude,longitude pair of\n the rectangular viewport to query for.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a dropped database's short term retention policy.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param restorable_dropped_database_id [String]\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Sets a database's long term retention policy.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param restorable_dropped_database_id [String]\n @param parameters [ManagedBackupShortTermRetentionPolicy] The long term\n retention policy info.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves an existing Power BI Workspace Collection.\n\n @param resource_group_name [String] Azure resource group\n @param workspace_collection_name [String] Power BI Embedded Workspace\n Collection name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkspaceCollection] operation results.", "Update an existing Power BI Workspace Collection with the specified\n properties.\n\n @param resource_group_name [String] Azure resource group\n @param workspace_collection_name [String] Power BI Embedded Workspace\n Collection name\n @param body [UpdateWorkspaceCollectionRequest] Update workspace collection\n request\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Retrieves the primary and secondary access keys for the specified Power BI\n Workspace Collection.\n\n @param resource_group_name [String] Azure resource group\n @param workspace_collection_name [String] Power BI Embedded Workspace\n Collection name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [WorkspaceCollectionAccessKeys] operation results.", "Returns the properties of the specified access control record name.\n\n @param access_control_record_name [String] Name of access control record to\n be fetched.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or Updates an access control record.\n\n @param access_control_record_name [String] The name of the access control\n record.\n @param parameters [AccessControlRecord] The access control record to be added\n or updated.\n @param resource_group_name [String] The resource group name\n @param manager_name [String] The manager name\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns an application type name resource.\n\n @param subscription_id [String] The customer subscription identifier\n @param resource_group_name [String] The name of the resource group.\n @param cluster_name [String] The name of the cluster resource\n @param application_type_name [String] The name of the application type name\n resource\n @param api_version [String] The version of the API.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a server firewall rule.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param firewall_rule_name [String] The name of the server firewall rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets details about the specified streaming job.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param expand [String] The $expand OData query parameter. This is a\n comma-separated list of additional streaming job properties to include in the\n response, beyond the default set returned when this parameter is absent. The\n default set is all streaming job properties other than 'inputs',\n 'transformation', 'outputs', and 'functions'.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a streaming job.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param job_name [String] The name of the streaming job.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Create a new StorageSyncService.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param parameters [StorageSyncServiceCreateParameters] Storage Sync Service\n resource name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Patch a given StorageSyncService.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param parameters [StorageSyncServiceUpdateParameters] Storage Sync Service\n resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a given StorageSyncService.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param storage_sync_service_name [String] Name of Storage Sync Service\n resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Removes the database's vulnerability assessment.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param database_name [String] The name of the database for which the\n vulnerability assessment is defined.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates an API Management service. This is long running operation\n and could take several minutes to complete.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param parameters [ApiManagementServiceResource] Parameters supplied to the\n CreateOrUpdate API Management service operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Checks that API entity specified by identifier is associated with the Product\n entity.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param product_id [String] Product identifier. Must be unique in the current\n API Management service instance.\n @param api_id [String] API revision identifier. Must be unique in the current\n API Management service instance. Non-current revision has ;rev=n as a suffix\n where n is the revision number.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the sensitivity label of a given column\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server.\n @param database_name [String] The name of the database.\n @param schema_name [String] The name of the schema.\n @param table_name [String] The name of the table.\n @param column_name [String] The name of the column.\n @param sensitivity_label_source [SensitivityLabelSource] The source of the\n sensitivity label. Possible values include: 'current', 'recommended'\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get a Streaming Policy\n\n Get the details of a Streaming Policy in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param streaming_policy_name [String] The Streaming Policy name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Create a Streaming Policy\n\n Create a Streaming Policy in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param streaming_policy_name [String] The Streaming Policy name.\n @param parameters [StreamingPolicy] The request parameters\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete a Streaming Policy\n\n Deletes a Streaming Policy in the Media Services account\n\n @param resource_group_name [String] The name of the resource group within the\n Azure subscription.\n @param account_name [String] The Media Services account name.\n @param streaming_policy_name [String] The Streaming Policy name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the default Geographic Hierarchy used by the Geographic traffic routing\n method.\n\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [TrafficManagerGeographicHierarchy] operation results.", "Gets a list of managed instance keys.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param filter [String] An OData filter expression that filters elements in\n the collection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a managed instance key.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param key_name [String] The name of the managed instance key to be\n retrieved.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a managed instance key.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param key_name [String] The name of the managed instance key to be operated\n on (updated or created).\n @param parameters [ManagedInstanceKey] The requested managed instance key\n resource state.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the managed instance key with the given name.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param key_name [String] The name of the managed instance key to be deleted.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates guest diagnostics settings.\n\n @param resource_group_name [String] The name of the resource group.\n @param diagnostic_settings_name [String] The name of the diagnostic setting.\n @param parameters [GuestDiagnosticSettingsPatchResource] The configuration to\n patch.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Delete guest diagnostics settings.\n\n @param resource_group_name [String] The name of the resource group.\n @param diagnostic_settings_name [String] The name of the diagnostic setting.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Creates and initialize new instance of the HttpOperationException class.\n @param [Hash] the HTTP request data (uri, body, headers).\n @param [Faraday::Response] the HTTP response object.\n @param [String] body the HTTP response body.\n @param [String] error message.", "Check Name Availability for global uniqueness\n\n @param location [String] The location in which uniqueness will be verified.\n @param check_name_availability [CheckNameAvailabilityRequest] Check Name\n Availability Request.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [CheckNameAvailabilityResponse] operation results.", "Gets a recoverable managed database.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param managed_instance_name [String] The name of the managed instance.\n @param recoverable_database_name [String]\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns the SKUs available for the provided resource.\n\n @param resource_group_name [String] The name of the resource group containing\n the Kusto cluster.\n @param cluster_name [String] The name of the Kusto cluster.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ListResourceSkusResult] operation results.", "Create or update a Kusto cluster.\n\n @param resource_group_name [String] The name of the resource group containing\n the Kusto cluster.\n @param cluster_name [String] The name of the Kusto cluster.\n @param parameters [Cluster] The Kusto cluster parameters supplied to the\n CreateOrUpdate operation.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a virtual cluster.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param virtual_cluster_name [String] The name of the virtual cluster.\n @param parameters [VirtualClusterUpdate] The requested managed instance\n resource state.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets a server DNS alias.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server that the alias is pointing\n to.\n @param dns_alias_name [String] The name of the server DNS alias.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a server dns alias.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server that the alias is pointing\n to.\n @param dns_alias_name [String] The name of the server DNS alias.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the server DNS alias with the given name.\n\n @param resource_group_name [String] The name of the resource group that\n contains the resource. You can obtain this value from the Azure Resource\n Manager API or the portal.\n @param server_name [String] The name of the server that the alias is pointing\n to.\n @param dns_alias_name [String] The name of the server DNS alias.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the appliance definition.\n\n @param appliance_definition_id [String] The fully qualified ID of the\n appliance definition, including the appliance name and the appliance\n definition resource type. Use the format,\n /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [ApplianceDefinition] operation results.", "Creates a new appliance definition.\n\n @param resource_group_name [String] The name of the resource group. The name\n is case insensitive.\n @param appliance_definition_name [String] The name of the appliance\n definition.\n @param parameters [ApplianceDefinition] Parameters supplied to the create or\n update an appliance definition.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns an Event Hub connection.\n\n @param resource_group_name [String] The name of the resource group containing\n the Kusto cluster.\n @param cluster_name [String] The name of the Kusto cluster.\n @param database_name [String] The name of the database in the Kusto cluster.\n @param event_hub_connection_name [String] The name of the event hub\n connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes the Event Hub connection with the given name.\n\n @param resource_group_name [String] The name of the resource group containing\n the Kusto cluster.\n @param cluster_name [String] The name of the Kusto cluster.\n @param database_name [String] The name of the database in the Kusto cluster.\n @param event_hub_connection_name [String] The name of the event hub\n connection.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get cluster code versions by environment and version\n\n @param location [String] The location for the cluster code versions, this is\n different from cluster location\n @param environment [Enum] Cluster operating system, the default means all.\n Possible values include: 'Windows', 'Linux'\n @param cluster_version [String] The cluster code version\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Get the policy configuration at the API level.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param api_id [String] API revision identifier. Must be unique in the current\n API Management service instance. Non-current revision has ;rev=n as a suffix\n where n is the revision number.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PolicyCollection] operation results.", "Fetches the usages of the vault.\n\n @param resource_group_name [String] The name of the resource group where the\n recovery services vault is present.\n @param vault_name [String] The name of the recovery services vault.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [VaultUsageList] operation results.", "Queries policy events for the subscription level policy set definition.\n\n @param subscription_id [String] Microsoft Azure subscription ID.\n @param policy_set_definition_name [String] Policy set definition name.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Queries policy events for the subscription level policy definition.\n\n @param subscription_id [String] Microsoft Azure subscription ID.\n @param policy_definition_name [String] Policy definition name.\n @param query_options [QueryOptions] Additional parameters for the operation\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a topic from the specified namespace and resource group.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param topic_name [String] The topic name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets authorization rules for a topic.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param topic_name [String] The topic name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Returns the specified authorization rule.\n\n @param resource_group_name [String] Name of the Resource group within the\n Azure subscription.\n @param namespace_name [String] The namespace name\n @param topic_name [String] The topic name.\n @param authorization_rule_name [String] The authorization rule name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates or updates a Network resource.\n\n Creates a Network resource with the specified name, description and\n properties. If Network resource with the same name exists, then it is updated\n with the specified description and properties. Network resource provides\n connectivity between application services.\n\n @param network_resource_name [String] The identity of the network.\n @param network_resource_description [NetworkResourceDescription] Description\n for creating a Network resource.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [NetworkResourceDescription] operation results.", "Update an existing application.\n\n @param application_object_id [String] Application object ID.\n @param parameters [ApplicationUpdateParameters] Parameters to update an\n existing application.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Directory objects that are owners of the application.\n\n The owners are a set of non-admin users who are allowed to modify this\n object.\n\n @param application_object_id [String] The object ID of the application for\n which to get owners.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DirectoryObjectListResult] operation results.", "Get the keyCredentials associated with an application.\n\n @param application_object_id [String] Application object ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [KeyCredentialListResult] operation results.", "Update the keyCredentials associated with an application.\n\n @param application_object_id [String] Application object ID.\n @param parameters [KeyCredentialsUpdateParameters] Parameters to update the\n keyCredentials of an existing application.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Get the passwordCredentials associated with an application.\n\n @param application_object_id [String] Application object ID.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PasswordCredentialListResult] operation results.", "Update passwordCredentials associated with an application.\n\n @param application_object_id [String] Application object ID.\n @param parameters [PasswordCredentialsUpdateParameters] Parameters to update\n passwordCredentials of an existing application.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.", "Gets a deny assignment by ID.\n\n @param deny_assignment_id [String] The fully qualified deny assignment ID.\n For example, use the format,\n /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}\n for subscription level deny assignments, or\n /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for\n tenant level deny assignments.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [DenyAssignment] operation results.", "Check if an IoT Central application subdomain is available.\n\n @param operation_inputs [OperationInputs] Set the name parameter in the\n OperationInputs structure to the subdomain of the IoT Central application to\n check.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [AppAvailabilityInfo] operation results.", "Determine if Notification Recipient Email subscribed to the notification.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param notification_name [NotificationName] Notification Name Identifier.\n Possible values include: 'RequestPublisherNotificationMessage',\n 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage',\n 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher',\n 'QuotaLimitApproachingPublisherNotificationMessage'\n @param email [String] Email identifier.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Adds the Email address to the list of Recipients for the Notification.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param notification_name [NotificationName] Notification Name Identifier.\n Possible values include: 'RequestPublisherNotificationMessage',\n 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage',\n 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher',\n 'QuotaLimitApproachingPublisherNotificationMessage'\n @param email [String] Email identifier.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Removes the email from the list of Notification.\n\n @param resource_group_name [String] The name of the resource group.\n @param service_name [String] The name of the API Management service.\n @param notification_name [NotificationName] Notification Name Identifier.\n Possible values include: 'RequestPublisherNotificationMessage',\n 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage',\n 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher',\n 'QuotaLimitApproachingPublisherNotificationMessage'\n @param email [String] Email identifier.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Updates a network interface tags.\n\n @param resource_group_name [String] The name of the resource group.\n @param network_interface_name [String] The name of the network interface.\n @param parameters [TagsObject] Parameters supplied to update network\n interface tags.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Unregisters provider from a subscription.\n\n @param resource_provider_namespace [String] Namespace of the resource\n provider.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Provider] operation results.", "Registers provider to be used with a subscription.\n\n @param resource_provider_namespace [String] Namespace of the resource\n provider.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [Provider] operation results.", "Gets a resource provider.\n\n @param resource_provider_namespace [String] Namespace of the resource\n provider.\n @param expand [String] The $expand query parameter. e.g. To include property\n aliases in response, use $expand=resourceTypes/aliases.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets an integration account certificate.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param certificate_name [String] The integration account certificate name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes an integration account certificate.\n\n @param resource_group_name [String] The resource group name.\n @param integration_account_name [String] The integration account name.\n @param certificate_name [String] The integration account certificate name.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Gets the specified load balancer outbound rule.\n\n @param resource_group_name [String] The name of the resource group.\n @param load_balancer_name [String] The name of the load balancer.\n @param outbound_rule_name [String] The name of the outbound rule.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Creates a policy assignment.\n\n Policy assignments are inherited by child resources. For example, when you\n apply a policy to a resource group that policy is assigned to all resources\n in the group.\n\n @param scope [String] The scope of the policy assignment.\n @param policy_assignment_name [String] The name of the policy assignment.\n @param parameters [PolicyAssignment] Parameters for the policy assignment.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [MsRestAzure::AzureOperationResponse] HTTP response information.", "Deletes a policy assignment by ID.\n\n When providing a scope for the assignment, use\n '/subscriptions/{subscription-id}/' for subscriptions,\n '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for\n resource groups, and\n '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider-namespace}/{resource-type}/{resource-name}'\n for resources.\n\n @param policy_assignment_id [String] The ID of the policy assignment to\n delete. Use the format\n '/{scope}/providers/Microsoft.Authorization/policyAssignments/{policy-assignment-name}'.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PolicyAssignment] operation results.", "Gets a policy assignment by ID.\n\n When providing a scope for the assignment, use\n '/subscriptions/{subscription-id}/' for subscriptions,\n '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for\n resource groups, and\n '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider-namespace}/{resource-type}/{resource-name}'\n for resources.\n\n @param policy_assignment_id [String] The ID of the policy assignment to get.\n Use the format\n '/{scope}/providers/Microsoft.Authorization/policyAssignments/{policy-assignment-name}'.\n @param custom_headers [Hash{String => String}] A hash of custom headers that\n will be added to the HTTP request.\n\n @return [PolicyAssignment] operation results.", "Sets up the numeric value tracker. It will check whether the value and category\n options are set that are used to extract and categorize the values during\n parsing. Two lambda procedures are created for these tasks", "Get the value information from the request and store it in the respective categories.\n\n If a request can contain multiple usable values for this tracker, the :multiple option\n should be set to true. In this case, all the values and respective categories will be\n read from the request using the #every method from the fields given in the :value and\n :category option.\n\n If the request contains only one suitable value and the :multiple is not set, it will\n read the single value and category from the fields provided in the :value and :category\n option, or calculate it with any lambda procedure that is assigned to these options. The\n request will be passed to procedure as input for the calculation.\n\n @param [RequestLogAnalyzer::Request] request The request to get the information from.", "Display a value", "Returns the title of this tracker for reports", "Returns all the categories and the tracked duration as a hash than can be exported to YAML", "Returns the bucket index for a value", "Returns a single value representing a bucket.", "Returns the upper bound value that would include x% of the hits.", "Returns a percentile interval, i.e. the lower bound and the upper bound of the values\n that represent the x%-interval for the bucketized dataset.\n\n A 90% interval means that 5% of the values would have been lower than the lower bound and\n 5% would have been higher than the upper bound, leaving 90% of the values within the bounds.\n You can also provide a Range to specify the lower bound and upper bound percentages (e.g. 5..95).", "Returns the column header for a statistics table to report on the statistics result", "Returns a row of statistics information for a report table, given a category", "Check if a file has a compressed extention in the filename.\n If recognized, return the command string used to decompress the file", "Parses a log file. Creates an IO stream for the provided file, and sends it to parse_io for\n further handling. This method supports progress updates that can be used to display a progressbar\n\n If the logfile is compressed, it is uncompressed to stdout and read.\n TODO: Check if IO.popen encounters problems with the given command line.\n TODO: Fix progress bar that is broken for IO.popen, as it returns a single string.\n\n file:: The file that should be parsed.\n options:: A Hash of options that will be pased to parse_io.", "Combines the different lines of a request into a single Request object. It will start a\n new request when a header line is encountered en will emit the request when a footer line\n is encountered.\n\n Combining the lines is done using heuristics. Problems can occur in this process. The\n current parse strategy defines how these cases are handled.\n\n When using the 'assume-correct' parse strategy (default):\n - Every line that is parsed before a header line is ignored as it cannot be included in\n any request. It will emit a :no_current_request warning.\n - If a header line is found before the previous requests was closed, the previous request\n will be yielded and a new request will be started.\n\n When using the 'cautious' parse strategy:\n - Every line that is parsed before a header line is ignored as it cannot be included in\n any request. It will emit a :no_current_request warning.\n - A header line that is parsed before a request is closed by a footer line, is a sign of\n an unproperly ordered file. All data that is gathered for the request until then is\n discarded and the next request is ignored as well. An :unclosed_request warning is\n emitted.\n\n request_data:: A hash of data that was parsed from the last line.", "Handles the parsed request by sending it into the pipeline.\n\n - It will call RequestLogAnalyzer::Request#validate on the request instance\n - It will send the request into the pipeline, checking whether it was accepted by all the filters.\n - It will update the parsed_requests and skipped_requests variables accordingly\n\n request:: The parsed request instance (RequestLogAnalyzer::Request)", "Creates a regular expression to match a hostname or ip address", "Create a regular expression for a timestamp, generated by a strftime call.\n Provide the format string to construct a matching regular expression.\n Set blank to true to allow and empty string, or set blank to a string to set\n a substitute for the nil value.", "Allow the field to be blank if this option is given. This can be true to\n allow an empty string or a string alternative for the nil value.", "Checks whether the line definitions form a valid language.\n A file format should have at least a header and a footer line type", "Parses a line by trying to parse it using every line definition in this file format", "Exports all the tracker results to YAML. It will call the to_yaml_object method\n for every tracker and combines these into a single YAML export.", "Check if categories are set up", "Initialize the class\n Note that the options are only applicable if should_update? is not overwritten\n by the inheriting class.\n\n === Options\n * :if Handle request if this proc is true for the handled request.\n * :unless Handle request if this proc is false for the handled request.\n * :line_type Line type this tracker will accept.\n Sets up the tracker's should_update? checks.", "Creates a lambda expression to return a static field from a request. If the\n argument already is a lambda exprssion, it will simply return the argument.", "matches the line and converts the captured values using the request's\n convert_value function.", "Adds another line to the request when it is parsed in the LogParser.\n\n The line should be provided as a hash with the attributes line_definition, :captures,\n :lineno and :source set. This function is called from LogParser.", "Adds another line to the request using a plain hash.\n\n The line should be provides as a hash of the fields parsed from the line.", "Checks whether the given line type was parsed from the log file for this request", "Returns an array of all the \"field\" values that were captured for this request", "Checks whether this request is completed. A completed request contains both a parsed header\n line and a parsed footer line. Not that calling this function in single line mode will always\n return false.", "Check if duration and catagory option have been received,", "Keep request if @mode == :select and request has the field and value.\n Drop request if @mode == :reject and request has the field and value.\n Returns nil otherwise.\n request Request Object", "Genrate HTML header and associated stylesheet", "Source change handler", "Adds a request filter to the controller.", "Push a request through the entire filterchain (@filters).\n request The request to filter.\n Returns the filtered request or nil.", "Push a request to all the aggregators (@aggregators).\n request The request to push to the aggregators.", "Runs RequestLogAnalyzer\n 1. Call prepare on every aggregator\n 2. Generate requests from source object\n 3. Filter out unwanted requests\n 4. Call aggregate for remaning requests on every aggregator\n 4. Call finalize on every aggregator\n 5. Call report on every aggregator\n 6. Finalize Source", "Display a duration", "Establishes a connection to the database and creates the necessary database schema for the\n current file format", "Aggregates a request into the database\n This will create a record in the requests table and create a record for every line that has been parsed,\n in which the captured values will be stored.", "Records w warining in the warnings table.", "Records source changes in the sources table", "Prints a short report of what has been inserted into the database", "the way to add items to the set.", "the way to remove items from the set.", "Determines whether the given attributes hash is \"empty\".\n This isn't a literal emptiness - it's an attempt to discern whether the user intended it to be empty or not.", "The actual \"add_existing\" algorithm", "Adds two rendering options.\n\n ==render :super\n\n This syntax skips all template overrides and goes directly to the provided ActiveScaffold templates.\n Useful if you want to wrap an existing template. Just call super!\n\n ==render :active_scaffold => #{controller.to_s}, options = {}+\n\n Lets you embed an ActiveScaffold by referencing the controller where it's configured.\n\n You may specify options[:constraints] for the embedded scaffold. These constraints have three effects:\n * the scaffold's only displays records matching the constraint\n * all new records created will be assigned the constrained values\n * constrained columns will be hidden (they're pretty boring at this point)\n\n You may also specify options[:conditions] for the embedded scaffold. These only do 1/3 of what\n constraints do (they only limit search results). Any format accepted by ActiveRecord::Base.find is valid.\n\n Defining options[:label] lets you completely customize the list title for the embedded scaffold.\n\n options[:xhr] force to load embedded scaffold with AJAX even when render_component gem is installed.", "provides a quick way to set any property of the object from a hash", "Add a nested ActionLink", "A somewhat complex method to actually create a new record. The complexity is from support for subforms and associated records.\n If you want to customize this behavior, consider using the +before_create_save+ and +after_create_save+ callbacks.", "To be called after your finished configuration", "add a clause to the sorting, assuming the column is sortable", "builds an order-by clause", "possibly converts the given argument into a column object from @columns (if it's not already)", "the way to add columns to the set. this is primarily useful for virtual columns.\n note that this also makes columns inheritable", "associate an action_link with this column", "adds an ActionLink, creating one from the arguments if need be", "adds a link to a specific group\n groups are represented as a string separated by a dot\n eg member.crud", "finds an ActionLink by matching the action", "iterates over the links, possibly by type", "nests a subgroup in the column set", "A simple method to handle the actual destroying of a record\n May be overridden to customize the behavior", "Returns search conditions based on the current scaffold constraints.\n\n Supports constraints based on either a column name (in which case it checks for an association\n or just uses the search_sql) or a database field name.\n\n All of this work is primarily to support nested scaffolds in a manner generally useful for other\n embedded scaffolds.", "We do NOT want to use .search_sql. If anything, search_sql will refer\n to a human-searchable value on the associated record.", "Applies constraints to the given record.\n\n Searches through the known columns for association columns. If the given constraint is an association,\n it assumes that the constraint value is an id. It then does a association.klass.find with the value\n and adds the associated object to the record.\n\n For some operations ActiveRecord will automatically update the database. That's not always ok.\n If it *is* ok (e.g. you're in a transaction), then set :allow_autosave to true.", "Returns an enumerator for iterating over timestamps in the schedule\n\n @example Return the events\n schedule = Montrose::Schedule.build do |s|\n s << { every: :day }\n end\n schedule.events\n\n @return [Enumerator] an enumerator of recurrence timestamps", "Given a time instance, advances state of when all\n recurrence rules on the stack match, and yielding\n time to the block, otherwise, invokes break? on\n non-matching rules.\n\n @param [Time] time - time instance candidate for recurrence", "Add campaign IDs to message. Limit of 3 per message.\n\n @param [String] campaign_id A defined campaign ID to add to the message.\n @return [void]", "Add tags to message. Limit of 3 per message.\n\n @param [String] tag A defined campaign ID to add to the message.\n @return [void]", "Add custom data to the message. The data should be either a hash or JSON\n encoded. The custom data will be added as a header to your message.\n\n @param [string] name A name for the custom data. (Ex. X-Mailgun-: {})\n @param [Hash] data Either a hash or JSON string.\n @return [void]", "Converts boolean type to string\n\n @param [String] value The item to convert\n @return [void]", "This method initiates a batch send to the API. It formats the recipient\n variables, posts to the API, gathers the message IDs, then flushes that data\n to prepare for the next batch. This method implements the Mailgun Client, thus,\n an exception will be thrown if a communication error occurs.\n\n @return [Boolean]", "This method stores recipient variables for each recipient added, if\n variables exist.", "Return response as Yaml\n\n @return [String] A string containing response as YAML", "Initialize the Railgun mailer.\n\n @param [Hash] config Hash of config values, typically from `app_config.action_mailer.mailgun_config`", "Simple Message Sending\n\n @param [String] working_domain This is the domain you wish to send from.\n @param [Hash] data This should be a standard Hash\n containing required parameters for the requested resource.\n @return [Mailgun::Response] A Mailgun::Response object.", "Generic Mailgun POST Handler\n\n @param [String] resource_path This is the API resource you wish to interact\n with. Be sure to include your domain, where necessary.\n @param [Hash] data This should be a standard Hash\n containing required parameters for the requested resource.\n @param [Hash] headers Additional headers to pass to the resource.\n @return [Mailgun::Response] A Mailgun::Response object.", "Generic Mailgun GET Handler\n\n @param [String] resource_path This is the API resource you wish to interact\n with. Be sure to include your domain, where necessary.\n @param [Hash] params This should be a standard Hash\n containing required parameters for the requested resource.\n @param [String] accept Acceptable Content-Type of the response body.\n @return [Mailgun::Response] A Mailgun::Response object.", "Generic Mailgun PUT Handler\n\n @param [String] resource_path This is the API resource you wish to interact\n with. Be sure to include your domain, where necessary.\n @param [Hash] data This should be a standard Hash\n containing required parameters for the requested resource.\n @return [Mailgun::Response] A Mailgun::Response object.", "Generic Mailgun DELETE Handler\n\n @param [String] resource_path This is the API resource you wish to interact\n with. Be sure to include your domain, where necessary.\n @return [Mailgun::Response] A Mailgun::Response object.", "Converts MIME string to file for easy uploading to API\n\n @param [String] string MIME string to post to API\n @return [File] File object", "Raises CommunicationError and stores response in it if present\n\n @param [StandardException] e upstream exception object", "Move ansible's default interface first in the list of interfaces since\n Foreman picks the first one that is usable. If ansible has no\n preference otherwise at least sort the list.\n\n This method overrides app/services/fact_parser.rb on Foreman and returns\n an array of interface names, ['eth0', 'wlan1', etc...]", "Constructor\n Download a file or resource\n @param options [Hash]\n @param target [String, nil] system path to the downloaded file (defaults to a temporary file)", "Retrieve the resource from the storage service\n @param options [Hash]", "Extract and parse options used to download a file or resource from an HTTP API\n @param options [Hash]\n @return [Hash]", "Retrieve the file from the file system\n @param options [Hash]", "Retrieve a resource over the HTTP\n @param options [Hash]", "Retrieve the file size\n @param options [Hash]\n @return [Integer] the size of the requested file", "Create a new empty packet\n Set packet attributes from a hash of attribute names and values", "Serialise the packet", "Remove 8 bits from the front of buffer", "Remove string from the front of buffer", "Set a path to a file containing a PEM-format client private key", "Set to a PEM-format client private key", "Set a path to a file containing a PEM-format CA certificate and enable peer verification", "Set the Will for the client\n\n The will is a message that will be delivered by the server when the client dies.\n The Will must be set before establishing a connection to the server", "Connect to the MQTT server\n If a block is given, then yield to that block and then disconnect again.", "Disconnect from the MQTT server.\n If you don't want to say goodbye to the server, set send_msg to false.", "Publish a message on a particular topic to the MQTT server.", "Return the next message received from the MQTT server.\n An optional topic can be given to subscribe to.\n\n The method either returns the topic and message as an array:\n topic,message = client.get\n\n Or can be used with a block to keep processing messages:\n client.get('test') do |topic,payload|\n # Do stuff here\n end", "Return the next packet object received from the MQTT server.\n An optional topic can be given to subscribe to.\n\n The method either returns a single packet:\n packet = client.get_packet\n puts packet.topic\n\n Or can be used with a block to keep processing messages:\n client.get_packet('test') do |packet|\n # Do stuff here\n puts packet.topic\n end", "Send a unsubscribe message for one or more topics on the MQTT server", "Try to read a packet from the server\n Also sends keep-alive ping packets.", "Read and check a connection acknowledgement packet", "Send a packet to server", "Create a new MQTT Proxy instance.\n\n Possible argument keys:\n\n :local_host Address to bind listening socket to.\n :local_port Port to bind listening socket to.\n :server_host Address of upstream server to send packets upstream to.\n :server_port Port of upstream server to send packets upstream to.\n :select_timeout Time in seconds before disconnecting a connection.\n :logger Ruby Logger object to send informational messages to.\n\n NOTE: be careful not to connect to yourself!\n Start accepting connections and processing packets.", "load the hosts into a Queue for thread safety", "merges URI options into opts", "When this future is completed match against result.\n\n If the future has already been completed,\n this will either be applied immediately or be scheduled asynchronously.\n @yieldparam [Fear::TryPatternMatch]\n @return [self]\n\n @example\n Fear.future { }.on_complete_match do |m|\n m.success { |result| }\n m.failure { |error| }\n end", "Creates a new future by applying the +success+ function to the successful\n result of this future, or the +failure+ function to the failed result.\n If there is any non-fatal error raised when +success+ or +failure+ is\n applied, that error will be propagated to the resulting future.\n\n @yieldparam success [#get] function that transforms a successful result of the\n receiver into a successful result of the returned future\n @yieldparam failure [#exception] function that transforms a failure of the\n receiver into a failure of the returned future\n @return [Fear::Future] a future that will be completed with the\n transformed value\n\n @example\n Fear.future { open('http://example.com').read }\n .transform(\n ->(value) { ... },\n ->(error) { ... },\n )", "Creates a new future by applying a block to the successful result of\n this future. If this future is completed with an error then the new\n future will also contain this error.\n\n @return [Fear::Future]\n\n @example\n future = Fear.future { 2 }\n future.map { |v| v * 2 } #=> the same as Fear.future { 2 * 2 }", "Creates a new future by applying a block to the successful result of\n this future, and returns the result of the function as the new future.\n If this future is completed with an exception then the new future will\n also contain this exception.\n\n @yieldparam [any]\n @return [Fear::Future]\n\n @example\n f1 = Fear.future { 5 }\n f2 = Fear.future { 3 }\n f1.flat_map do |v1|\n f1.map do |v2|\n v2 * v1\n end\n end", "Zips the values of +self+ and +other+ future, and creates\n a new future holding the array of their results.\n\n If +self+ future fails, the resulting future is failed\n with the error stored in +self+.\n Otherwise, if +other+ future fails, the resulting future is failed\n with the error stored in +other+.\n\n @param other [Fear::Future]\n @return [Fear::Future]\n\n @example\n future1 = Fear.future { call_service1 }\n future1 = Fear.future { call_service2 }\n future1.zip(future2) #=> returns the same result as Fear.future { [call_service1, call_service2] },\n # but it performs two calls asynchronously", "Creates a new future which holds the result of +self+ future if it\n was completed successfully, or, if not, the result of the +fallback+\n future if +fallback+ is completed successfully.\n If both futures are failed, the resulting future holds the error\n object of the first future.\n\n @param fallback [Fear::Future]\n @return [Fear::Future]\n\n @example\n f = Fear.future { fail 'error' }\n g = Fear.future { 5 }\n f.fallback_to(g) # evaluates to 5\n\n rubocop: disable Metrics/MethodLength", "Match against Some\n\n @param conditions [<#==>]\n @return [Fear::OptionPatternMatch]", "Returns array of images used in content", "Finds images used in an articles content and associates each\n image to the blog article", "Refreshes the sitemap and pings the search engines", "Lists all published articles.\n Responds to html and atom", "Shows specific article", "Renders the teaser for an article.", "Returns formatted and highlighted code fragments", "Returns links in active or inactive state for highlighting current page", "Returns HTML with all authors of an article", "Renders the navigation bar for logged in users", "Returns site name for actionbar, dependend on current site", "Sets +rest_digest+ and +reset_sent_at+ for password reset.", "Authenticate user and create a new session.", "this types +text+ on the server", "This types +text+ on the server, but it holds the shift key down when necessary.\n It will also execute key_press for tabs and returns.", "Traverses path to see which exist or not\n and checks if available", "We put a long name to not clash with any function in the Veewee file itself", "This function takes a hash of options and injects them into the definition", "Retrieve the first mac address for a vm\n This will only retrieve the first auto generate mac address", "Retrieve the ip address for a vm.\n This will only look for dynamically assigned ip address via vmware dhcp", "Fetch all definitions", "Runs given block on a thread or fiber and returns result.\n If eventmachine is running on another thread, the fiber\n must be on the same thread, hence EM.schedule and the\n restriction that the given block cannot include rspec matchers.", "if required and optional arrays are given, extra params are an error", "adds data to the request, returns true if request is complete", "Convert the specified column type to a SQL string.\n @override", "default schema owner", "holy moly batman! all this to tell AS400 \"yes i am sure\"", "disable all schemas browsing when default schema is specified", "Support for executing a stored procedure.", "AR-SQLServer-Adapter naming\n @override", "Configures the encoding, verbosity, schema search path, and time zone of the connection.\n This is called on `connection.connect` and should not be called manually.", "while methods have moved around this has been the implementation\n since ActiveRecord 3.0", "Get the maintenance state of a host\n @param n [String] the node\n @param options [Hash] :dc string for dc specific query\n @return [Hash] { :enabled => true, :reason => 'foo' }", "Enable or disable maintenance mode. This endpoint only works\n on the local agent.\n @param enable enable or disable maintenance mode\n @param reason [String] the reason for enabling maintenance mode\n @param options [Hash] :dc string for dc specific query\n @return true if call is successful", "Create a new session\n @param value [Object] hash or json representation of the session arguments\n @param options [Hash] session options\n @return [String] The sesssion id", "Destroy a session\n @param id [String] session id\n @param options [Hash] session options\n @return [String] Success or failure of the session destruction", "Create a prepared query or prepared query template\n @param definition [Hash] Hash containing definition of prepared query\n @param options [Hash] :dc Consul datacenter to query\n @return [String] the ID of the prepared query created", "Delete a prepared query or prepared query template\n @param key [String] the prepared query ID\n @param options [Hash] :dc Consul datacenter to query\n @return [Boolean]", "Update a prepared query or prepared query template\n @param key [String] the prepared query ID\n @param definition [Hash] Hash containing updated definition of prepared query\n @param options [Hash] :dc Consul datacenter to query\n @return [Boolean]", "Execute a prepared query or prepared query template\n @param key [String] the prepared query ID or name\n @param options [Hash] prepared query execution options\n @option dc [String] :dc Consul datacenter to query\n @option near [String] node name to sort the resulting list in ascending order based on the\n estimated round trip time from that node\n @option limit [Integer] to limit the size of the return list to the given number of results\n @return [OpenStruct] the list of results from the prepared query or prepared query template\n rubocop:disable PerceivedComplexity", "Register a check\n @param check_id [String] the unique id of the check\n @param name [String] the name\n @param notes [String] notes about the check\n @param args [String[]] command to be run for check\n @param interval [String] frequency (with units) of the check execution\n @param options [Hash] options parameter hash\n @return [Integer] Status code\n rubocop:disable ParameterLists", "Update a TTL check\n @param check_id [String] the unique id of the check\n @param status [String] status of the check. Valid values are \"passing\", \"warning\", and \"critical\"\n @param output [String] human-readable message will be passed through to the check's Output field\n @param options [Hash] options parameter hash\n @return [Integer] Status code", "Get a value by its key, potentially blocking for the first or next value\n @param key [String] the key\n @param options [Hash] the query params\n @option options [Boolean] :recurse If to make recursive get or not\n @option options [String] :consistency The read consistency type\n @option options [String] :dc Target datacenter\n @option options [Boolean] :keys Only return key names.\n @option options [Boolean] :modify_index Only return ModifyIndex value.\n @option options [Boolean] :session Only return Session value.\n @option options [Boolean] :decode_values Return consul response with decoded values.\n @option options [String] :separator List only up to a given separator.\n Only applies when combined with :keys option.\n @option options [Boolean] :nil_values If to return keys/dirs with nil values\n @option options [Boolean] :convert_to_hash Take the data returned from consul and build a hash\n @option options [Callable] :transformation funnction to invoke on keys values\n @param not_found [Symbol] behaviour if the key doesn't exist;\n :reject with exception, :return degenerate value, or :wait for it to appear\n @param found [Symbol] behaviour if the key does exist;\n :reject with exception, :return its current value, or :wait for its next value\n @return [String] The base64-decoded value associated with the key\n @note\n When trying to access a key, there are two possibilites:\n - The key doesn't (yet) exist\n - The key exists. This may be its first value, there is no way to tell\n The combination of not_found and found behaviour gives maximum possible\n flexibility. For X: reject, R: return, W: wait\n - X X - meaningless; never return a value\n - X R - \"normal\" non-blocking get operation. Default\n - X W - get the next value only (must have a current value)\n - R X - meaningless; never return a meaningful value\n - R R - \"safe\" non-blocking, non-throwing get-or-default operation\n - R W - get the next value or a default\n - W X - get the first value only (must not have a current value)\n - W R - get the first or current value; always return something, but\n block only when necessary\n - W W - get the first or next value; wait until there is an update\n rubocop:disable PerceivedComplexity, MethodLength, LineLength, CyclomaticComplexity", "Delete a value by its key\n @param key [String] the key\n @param options [Hash] the query params\n @option options [String] :dc Target datacenter\n @option options [Boolean] :recurse If to make recursive get or not\n @return [OpenStruct]", "Send an event\n @param name [String] the event name\n @param value [String] the payload of the event\n @param service [String] the target service name\n @param node [String] the target node name\n @param tag [String] the target tag name, must only be used with service\n @param dc [String] the dc to target\n @param options [Hash] options parameter hash\n @return [nil]\n rubocop:disable Metrics/ParameterLists", "Get a specific event in the sequence matching name\n @param name [String] the name of the event (regex)\n @param token [String|Symbol] the ordinate of the event in the sequence;\n String are tokens returned by previous calls to this function\n Symbols are the special tokens :first, :last, and :next\n @param not_found [Symbol] behaviour if there is no matching event;\n :reject with exception, :return degenerate value, or :wait for event\n @param found [Symbol] behaviour if there is a matching event;\n :reject with exception, or :return its current value\n @return [hash] A hash with keys :value and :token;\n :value is a further hash of the :name and :payload of the event,\n :token is the event's ordinate in the sequence and can be passed to future calls to get the subsequent event\n @param options [Hash] options parameter hash\n @note\n Whereas the consul API for events returns all past events that match\n name, this method allows retrieval of individual events from that\n sequence. However, because consul's API isn't conducive to this, we can\n offer first, last, next (last + 1) events, or arbitrary events in the\n middle, though these can only be identified relative to the preceding\n event. However, this is ideal for iterating through the sequence of\n events (while being sure that none are missed).\n rubocop:disable PerceivedComplexity", "Get a service by it's key\n @param key [String] the key\n @param scope [Symbol] :first or :all results\n @param options [Hash] options parameter hash\n @param meta [Hash] output structure containing header information about the request (index)\n @return [OpenStruct] all data associated with the service\n rubocop:disable PerceivedComplexity", "Register a service\n @param definition [Hash] Hash containing definition of service\n @param options [Hash] options parameter hash\n @return [Boolean]", "Enable or disable maintenance for a service\n @param service_id [String] id of the service\n @param options [Hash] opts the options for enabling or disabling maintenance for a service\n @options opts [Boolean] :enable (true) whether to enable or disable maintenance\n @options opts [String] :reason reason for the service maintenance\n @raise [Diplomat::PathNotFound] if the request fails\n @return [Boolean] if the request was successful or not", "Get node health\n @param n [String] the node\n @param options [Hash] :dc string for dc specific query\n @return [OpenStruct] all data associated with the node", "Get service checks\n @param s [String] the service\n @param options [Hash] :dc string for dc specific query\n @return [OpenStruct] all data associated with the node", "Get service health\n @param s [String] the service\n @param options [Hash] options parameter hash\n @return [OpenStruct] all data associated with the node\n rubocop:disable PerceivedComplexity", "Acquire a lock\n @param key [String] the key\n @param session [String] the session, generated from Diplomat::Session.create\n @param value [String] the value for the key\n @param options [Hash] options parameter hash\n @return [Boolean] If the lock was acquired", "wait to aquire a lock\n @param key [String] the key\n @param session [String] the session, generated from Diplomat::Session.create\n @param value [String] the value for the key\n @param check_interval [Integer] number of seconds to wait between retries\n @param options [Hash] options parameter hash\n @return [Boolean] If the lock was acquired", "Release a lock\n @param key [String] the key\n @param session [String] the session, generated from Diplomat::Session.create\n @param options [Hash] :dc string for dc specific query\n @return [nil]\n rubocop:disable AbcSize", "Assemble a url from an array of parts.\n @param parts [Array] the url chunks to be assembled\n @return [String] the resultant url string", "Get Acl info by ID\n @param id [String] ID of the Acl to get\n @param options [Hash] options parameter hash\n @return [Hash]\n rubocop:disable PerceivedComplexity", "Update an Acl definition, create if not present\n @param value [Hash] Acl definition, ID field is mandatory\n @param options [Hash] options parameter hash\n @return [Hash] The result Acl", "Create an Acl definition\n @param value [Hash] Acl definition, ID field is mandatory\n @param options [Hash] options parameter hash\n @return [Hash] The result Acl", "Get an array of all avaliable datacenters accessible by the local consul agent\n @param meta [Hash] output structure containing header information about the request (index)\n @param options [Hash] options parameter hash\n @return [OpenStruct] all datacenters avaliable to this consul agent", "Update the metadata properties of this resource. The +props+ will be\n merged with any existing properties. Nested hashes in the properties will\n also be merged.\n\n @param props [Hash] the properties to add\n @return [Gemstash::Resource] self for chaining purposes", "Check if the metadata properties includes the +keys+. The +keys+ represent\n a nested path in the properties to check.\n\n Examples:\n\n resource = Gemstash::Storage.for(\"x\").resource(\"y\")\n resource.save({ file: \"content\" }, foo: \"one\", bar: { baz: \"qux\" })\n resource.has_property?(:foo) # true\n resource.has_property?(:bar, :baz) # true\n resource.has_property?(:missing) # false\n resource.has_property?(:foo, :bar) # false\n\n @param keys [Array] one or more keys pointing to a property\n @return [Boolean] whether the nested keys points to a valid property", "The serializable hash is the Entity's primary output. It is the transformed\n hash for the given data model and is used as the basis for serialization to\n JSON and other formats.\n\n @param runtime_options [Hash] Any options you pass in here will be known to the entity\n representation, this is where you can trigger things from conditional options\n etc.", "Logs the queries run inside the block, and return them.", "Return a Hash of strings => ints. Each word in the string is stemmed,\n interned, and indexes to its frequency in the document.", "Return the classification without the score", "Overwrites the default stopwords for current language with supplied list of stopwords or file", "This function rebuilds the index if needs_rebuild? returns true.\n For very large document spaces, this indexing operation may take some\n time to complete, so it may be wise to place the operation in another\n thread.\n\n As a rule, indexing will be fairly swift on modern machines until\n you have well over 500 documents indexed, or have an incredibly diverse\n vocabulary for your documents.\n\n The optional parameter \"cutoff\" is a tuning parameter. When the index is\n built, a certain number of s-values are discarded from the system. The\n cutoff parameter tells the indexer how many of these values to keep.\n A value of 1 for cutoff means that no semantic analysis will take place,\n turning the LSI class into a simple vector search engine.", "This method returns max_chunks entries, ordered by their average semantic rating.\n Essentially, the average distance of each entry from all other entries is calculated,\n the highest are returned.\n\n This can be used to build a summary service, or to provide more information about\n your dataset's general content. For example, if you were to use categorize on the\n results of this data, you could gather information on what your dataset is generally\n about.", "This function is the primitive that find_related and classify\n build upon. It returns an array of 2-element arrays. The first element\n of this array is a document, and the second is its \"score\", defining\n how \"close\" it is to other indexed items.\n\n These values are somewhat arbitrary, having to do with the vector space\n created by your content, so the magnitude is interpretable but not always\n meaningful between indexes.\n\n The parameter doc is the content to compare. If that content is not\n indexed, you can pass an optional block to define how to create the\n text data. See add_item for examples of how this works.", "Similar to proximity_array_for_content, this function takes similar\n arguments and returns a similar array. However, it uses the normalized\n calculated vectors instead of their full versions. This is useful when\n you're trying to perform operations on content that is much smaller than\n the text you're working with. search uses this primitive.", "This function allows for text-based search of your index. Unlike other functions\n like find_related and classify, search only takes short strings. It will also ignore\n factors like repeated words. It is best for short, google-like search terms.\n A search will first priortize lexical relationships, then semantic ones.\n\n While this may seem backwards compared to the other functions that LSI supports,\n it is actually the same algorithm, just applied on a smaller document.", "This function takes content and finds other documents\n that are semantically \"close\", returning an array of documents sorted\n from most to least relavant.\n max_nearest specifies the number of documents to return. A value of\n 0 means that it returns all the indexed documents, sorted by relavence.\n\n This is particularly useful for identifing clusters in your document space.\n For example you may want to identify several \"What's Related\" items for weblog\n articles, or find paragraphs that relate to each other in an essay.", "Return the most obvious category without the score", "This function uses a voting system to categorize documents, based on\n the categories of other documents. It uses the same logic as the\n find_related function to find related documents, then returns the\n list of sorted categories.\n\n cutoff signifies the number of documents to consider when clasifying\n text. A cutoff of 1 means that every document in the index votes on\n what category the document is in. This may not always make sense.", "Prototype, only works on indexed documents.\n I have no clue if this is going to work, but in theory\n it's supposed to.", "Creates the raw vector out of word_hash using word_list as the\n key for mapping the vector space.", "Rotate the table horizontally\n\n @api private", "Return a row number at the index of the table as an Array.\n When a block is given, the elements of that Array are iterated over.\n\n @example\n rows = [['a1', 'a2'], ['b1', 'b2']]\n table = TTY::Table.new rows: rows\n table.row(1) { |row| ... }\n\n @param [Integer] index\n\n @yield []\n optional block to execute in the iteration operation\n\n @return [self]\n\n @api public", "Return a column number at the index of the table as an Array.\n If the table has a header then column can be searched by header name.\n When a block is given, the elements of that Array are iterated over.\n\n @example\n header = [:h1, :h2]\n rows = [ ['a1', 'a2'], ['b1', 'b2'] ]\n table = TTY::Table.new :rows => rows, :header => header\n table.column(1)\n table.column(1) { |element| ... }\n table.column(:h1)\n table.column(:h1) { |element| ... }\n\n @param [Integer, String, Symbol] index\n\n @yield []\n optional block to execute in the iteration operation\n\n @return [self]\n\n @api public", "Add row to table\n\n @param [Array] row\n\n @return [self]\n\n @api public", "Render a given table using custom border class.\n\n @param [TTY::Table::Border] border_class\n\n @param [Symbol] renderer_type\n\n @param [Hash] options\n\n @yield [renderer]\n\n @yieldparam [TTY::Table::Renderer] renderer\n the renderer for the table\n\n @return [String]\n\n @api public", "Coerce an Enumerable into a Table\n This coercion mechanism is used by Table to handle Enumerable types\n and force them into array type.\n\n @param [Enumerable] rows\n the object to coerce\n\n @return [Array]\n\n @api public", "Adds execution duration instrumentation to a method as a timing.\n\n @param method [Symbol] The name of the method to instrument.\n @param name [String, #call] The name of the metric to use. You can also pass in a\n callable to dynamically generate a metric name\n @param metric_options (see StatsD#measure)\n @return [void]", "Adds execution duration instrumentation to a method as a distribution.\n\n @param method [Symbol] The name of the method to instrument.\n @param name [String, #call] The name of the metric to use. You can also pass in a\n callable to dynamically generate a metric name\n @param metric_options (see StatsD#measure)\n @return [void]\n @note Supported by the datadog implementation only (in beta)", "Adds counter instrumentation to a method.\n\n The metric will be incremented for every call of the instrumented method, no matter\n whether what the method returns, or whether it raises an exception.\n\n @param method (see #statsd_measure)\n @param name (see #statsd_measure)\n @param metric_options (see #statsd_measure)\n @return [void]", "Creates a String showing the output of the command, including a banner\n showing the exact command executed. Used by +invalid!+ to show command\n results when the command exited with an unexpected status.", "Normalizes the comment block to ignore any consistent preceding\n whitespace. Consistent means the same amount of whitespace on every line\n of the comment block. Also strips any whitespace at the start and end of\n the whole block.\n\n Returns a String of normalized text.", "Executes a transition of the state machine for the given line.\n Returns false if the line does not match any transition rule and the\n state machine was reset to the initial state.", "override add method", "Check if the local KB is packet or not.\n\n Returns true if at least one KB tarball file it has been found in the\n local DB path", "Output stuff - START\n\n Creates the directory name where dawnscanner results will be saved\n\n Examples\n engine.create_output_dir\n # => /Users/thesp0nge/dawnscanner/results/railsgoat/20151123\n # => /Users/thesp0nge/dawnscanner/results/railsgoat/20151123_1 (if\n previous directory name exists)", "Output stuff - END\n\n Security stuff applies here\n\n Public it applies a single security check given by its name\n\n name - the security check to be applied\n\n Examples\n\n engine.apply(\"CVE-2013-1800\")\n # => boolean\n\n Returns a true value if the security check was successfully applied or false\n otherwise", "called when loading the rel from the database\n @param [Neo4j::Embedded::EmbeddedRelationship, Neo4j::Server::CypherRelationship] persisted_rel properties of this relationship\n @param [Neo4j::Relationship] from_node_id The neo_id of the starting node of this rel\n @param [Neo4j::Relationship] to_node_id The neo_id of the ending node of this rel\n @param [String] type the relationship type", "Gives support for Rails date_select, datetime_select, time_select helpers.", "During object wrap, a hash is needed that contains each declared property with a nil value.\n The active_attr dependency is capable of providing this but it is expensive and calculated on the fly\n each time it is called. Rather than rely on that, we build this progressively as properties are registered.\n When the node or rel is loaded, this is used as a template.", "During object wrapping, a props hash is built with string keys but Neo4j-core provides symbols.\n Rather than a `to_s` or `symbolize_keys` during every load, we build a map of symbol-to-string\n to speed up the process. This increases memory used by the gem but reduces object allocation and GC, so it is faster\n in practice.", "Node callbacks only need to be executed if the node is not persisted. We let the `conditional_callback` method do the work,\n we only have to give it the type of callback we expect to be run and the condition which, if true, will prevent it from executing.", "Updates this resource with all the attributes from the passed-in Hash and requests that the record be saved.\n If saving fails because the resource is invalid then false will be returned.", "Loads a node from the database or returns the node if already laoded", "Modifies a hash's values to be of types acceptable to Neo4j or matching what the user defined using `type` in property definitions.\n @param [Neo4j::Shared::Property] obj A node or rel that mixes in the Property module\n @param [Symbol] medium Indicates the type of conversion to perform.\n @param [Hash] properties A hash of symbol-keyed properties for conversion.", "Converts a single property from its current format to its db- or Ruby-expected output type.\n @param [Symbol] key A property declared on the model\n @param value The value intended for conversion\n @param [Symbol] direction Either :to_ruby or :to_db, indicates the type of conversion to perform", "If the attribute is to be typecast using a custom converter, which converter should it use? If no, returns the type to find a native serializer.", "Returns true if the property isn't defined in the model or if it is nil", "Determines if the resources content matches the expected content.\n\n @param [Chef::Resource] resource\n\n @return [true, false]", "Shortcut method for loading data into Chef Zero.\n\n @param [String] name\n the name or id of the item to load\n @param [String, Symbol] key\n the key to load\n @param [Hash] data\n the data for the object, which will be converted to JSON and uploaded\n to the server", "Remove all the data we just loaded from the ChefZero server", "Really reset everything and reload the configuration", "Upload the cookbooks to the Chef Server.", "Instantiate a new SoloRunner to run examples with.\n\n @example Instantiate a new Runner\n ChefSpec::SoloRunner.new\n\n @example Specifying the platform and version\n ChefSpec::SoloRunner.new(platform: 'ubuntu', version: '18.04')\n\n @example Specifying the cookbook path\n ChefSpec::SoloRunner.new(cookbook_path: ['/cookbooks'])\n\n @example Specifying the log level\n ChefSpec::SoloRunner.new(log_level: :info)\n\n\n @param [Hash] options\n The options for the new runner\n\n @option options [Symbol] :log_level\n The log level to use (default is :warn)\n @option options [String] :platform\n The platform to load Ohai attributes from (must be present in fauxhai)\n @option options [String] :version\n The version of the platform to load Ohai attributes from (must be present in fauxhai)\n @option options [String] :path\n Path of a json file that will be passed to fauxhai as :path option\n @option options [Array] :step_into\n The list of LWRPs to evaluate\n @option options String] :file_cache_path\n File caching path, if absent ChefSpec will use a temporary directory generated on the fly\n\n @yield [node] Configuration block for Chef::Node\n\n\n Execute the given `run_list` on the node, without actually converging\n the node. Each time {#converge} is called, the `run_list` is reset to the\n new value (it is **not** additive).\n\n @example Converging a single recipe\n chef_run.converge('example::default')\n\n @example Converging multiple recipes\n chef_run.converge('example::default', 'example::secondary')\n\n\n @param [Array] recipe_names\n The names of the recipe or recipes to converge\n\n @return [ChefSpec::SoloRunner]\n A reference to the calling Runner (for chaining purposes)", "Execute a block of recipe code.\n\n @param [Proc] block\n A block containing Chef recipe code\n\n @return [ChefSpec::SoloRunner]", "Find the resource with the declared type and resource name, and optionally match a performed action.\n\n If multiples match it returns the last (which more or less matches the chef last-inserter-wins semantics)\n\n @example Find a template at `/etc/foo`\n chef_run.find_resource(:template, '/etc/foo') #=> #\n\n\n @param [Symbol] type\n The type of resource (sometimes called `resource_name`) such as `file`\n or `directory`.\n @param [String, Regexp] name\n The value of the name attribute or identity attribute for the resource.\n @param [Symbol] action\n (optional) match only resources that performed the action.\n\n @return [Chef::Resource, nil]\n The matching resource, or nil if one is not found", "Find the resource with the declared type.\n\n @example Find all template resources\n chef_run.find_resources(:template) #=> [#, #...]\n\n\n @param [Symbol] type\n The type of resource such as `:file` or `:directory`.\n\n @return [Array]\n The matching resources", "Determines if the runner should step into the given resource. The\n +step_into+ option takes a string, but this method coerces everything\n to symbols for safety.\n\n This method also substitutes any dashes (+-+) with underscores (+_+),\n because that's what Chef does under the hood. (See GitHub issue #254\n for more background)\n\n @param [Chef::Resource] resource\n the Chef resource to try and step in to\n\n @return [true, false]", "Respond to custom matchers defined by the user.", "Set the default options, with the given options taking precedence.\n\n @param [Hash] options\n the list of options to take precedence\n\n @return [Hash] options", "The inferred cookbook root from the calling spec.\n\n @param [Hash] options\n initial runner options\n @param [Array] kaller\n the calling trace\n\n @return [String]", "The inferred path from the calling spec.\n\n @param [Hash] options\n initial runner options\n @param [Array] kaller\n the calling trace\n\n @return [String]", "The inferred path to roles.\n\n @return [String, nil]", "Create a new coverage object singleton.\n\n\n Start the coverage reporting analysis. This method also adds the the\n +at_exit+ handler for printing the coverage report.", "Add a filter to the coverage analysis.\n\n @param [Filter, String, Regexp] filter\n the filter to add\n @param [Proc] block\n the block to use as a filter\n\n @return [true]", "Change the template for reporting of converage analysis.\n\n @param [string] path\n The template file to use for the output of the report\n\n @return [true]", "Remove the temporary directory and restore the librarian-chef cookbook path.", "Setup and install the necessary dependencies in the temporary directory", "Calculate the name of a resource, replacing dashes with underscores\n and converting symbols to strings and back again.\n\n @param [String, Chef::Resource] thing\n\n @return [Symbol]", "Failed to load node data from the server", "Error expanding the run list", "Called when there is an error getting the cookbook collection from the\n server.", "Called when an error occurs during cookbook sync", "Called when a recipe cannot be resolved", "Called when a resource fails and will not be retried.", "Create a new Renderer for the given Chef run and resource.\n\n @param [Chef::Runner] chef_run\n the Chef run containing the resources\n @param [Chef::Resource] resource\n the resource to render content from\n\n\n The content of the resource (this method delegates to the)\n various private rendering methods.\n\n @return [String, nil]\n the contents of the file as a string, or nil if the resource\n does not contain or respond to a content renderer.", "Compute the contents of a template using Chef's templating logic.\n\n @param [Chef::RunContext] chef_run\n the run context for the node\n @param [Chef::Provider::Template] template\n the template resource\n\n @return [String]", "Get the contents of a cookbook file using Chef.\n\n @param [Chef::RunContext] chef_run\n the run context for the node\n @param [Chef::Provider::CookbookFile] cookbook_file\n the file resource", "The cookbook collection for the current Chef run context. Handles\n the differing cases between Chef 10 and Chef 11.\n\n @param [Chef::Node] node\n the Chef node to get the cookbook collection from\n\n @return [Array]", "Return a new instance of the TemplateFinder if we are running on Chef 11.\n\n @param [Chef::RunContext] chef_run\n the run context for the noe\n @param [String] cookbook_name\n the name of the cookbook\n\n @return [Chef::Provider::TemplateFinder, nil]", "Sends notification email to the target.\n\n @param [Hash] options Options for notification email\n @option options [Boolean] :send_later If it sends notification email asynchronously\n @option options [String, Symbol] :fallback (:default) Fallback template to use when MissingTemplate is raised\n @return [Mail::Message, ActionMailer::DeliveryJob] Email message or its delivery job", "Publishes notification to the optional targets.\n\n @param [Hash] options Options for optional targets\n @return [Hash] Result of publishing to optional target", "Opens the notification.\n\n @param [Hash] options Options for opening notifications\n @option options [DateTime] :opened_at (Time.current) Time to set to opened_at of the notification record\n @option options [Boolean] :with_members (true) If it opens notifications including group members\n @return [Integer] Number of opened notification records", "Returns count of group member notifiers including group owner notifier.\n It always returns 0 if group owner notifier is blank.\n This method is designed to cache group by query result to avoid N+1 call.\n\n @param [Integer] limit Limit to query for opened notifications\n @return [Integer] Count of group notifications including owner and members", "Remove from notification group and make a new group owner.\n\n @return [Notificaion] New group owner instance of the notification group", "Returns notifiable_path to move after opening notification with notifiable.notifiable_path.\n\n @return [String] Notifiable path URL to move after opening notification", "Returns notifications_path for the target\n\n @param [Object] target Target instance\n @param [Hash] params Request parameters\n @return [String] notifications_path for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns notification_path for the notification\n\n @param [Notification] notification Notification instance\n @param [Hash] params Request parameters\n @return [String] notification_path for the notification\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns move_notification_path for the target of specified notification\n\n @param [Notification] notification Notification instance\n @param [Hash] params Request parameters\n @return [String] move_notification_path for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns open_notification_path for the target of specified notification\n\n @param [Notification] notification Notification instance\n @param [Hash] params Request parameters\n @return [String] open_notification_path for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns open_all_notifications_path for the target\n\n @param [Object] target Target instance\n @param [Hash] params Request parameters\n @return [String] open_all_notifications_path for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns notifications_url for the target\n\n @param [Object] target Target instance\n @param [Hash] params Request parameters\n @return [String] notifications_url for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns notification_url for the target of specified notification\n\n @param [Notification] notification Notification instance\n @param [Hash] params Request parameters\n @return [String] notification_url for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns move_notification_url for the target of specified notification\n\n @param [Notification] notification Notification instance\n @param [Hash] params Request parameters\n @return [String] move_notification_url for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns open_notification_url for the target of specified notification\n\n @param [Notification] notification Notification instance\n @param [Hash] params Request parameters\n @return [String] open_notification_url for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns open_all_notifications_url for the target of specified notification\n\n @param [Target] target Target instance\n @param [Hash] params Request parameters\n @return [String] open_all_notifications_url for the target\n @todo Needs any other better implementation\n @todo Must handle devise namespace", "Returns subscriptions_path for the target\n\n @param [Object] target Target instance\n @param [Hash] params Request parameters\n @return [String] subscriptions_path for the target\n @todo Needs any other better implementation", "Returns subscription_path for the subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_path for the subscription\n @todo Needs any other better implementation", "Returns subscribe_subscription_path for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_path for the subscription\n @todo Needs any other better implementation", "Returns unsubscribe_subscription_path for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_path for the subscription\n @todo Needs any other better implementation", "Returns subscribe_to_email_subscription_path for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_path for the subscription\n @todo Needs any other better implementation", "Returns unsubscribe_to_email_subscription_path for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_path for the subscription\n @todo Needs any other better implementation", "Returns subscribe_to_optional_target_subscription_path for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_path for the subscription\n @todo Needs any other better implementation", "Returns unsubscribe_to_optional_target_subscription_path for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_path for the subscription\n @todo Needs any other better implementation", "Returns subscriptions_url for the target\n\n @param [Object] target Target instance\n @param [Hash] params Request parameters\n @return [String] subscriptions_url for the target\n @todo Needs any other better implementation", "Returns subscription_url for the subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_url for the subscription\n @todo Needs any other better implementation", "Returns subscribe_subscription_url for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_url for the subscription\n @todo Needs any other better implementation", "Returns unsubscribe_subscription_url for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_url for the subscription\n @todo Needs any other better implementation", "Returns subscribe_to_email_subscription_url for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_url for the subscription\n @todo Needs any other better implementation", "Returns unsubscribe_to_email_subscription_url for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_url for the subscription\n @todo Needs any other better implementation", "Returns subscribe_to_optional_target_subscription_url for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_url for the subscription\n @todo Needs any other better implementation", "Returns unsubscribe_to_optional_target_subscription_url for the target of specified subscription\n\n @param [Subscription] subscription Subscription instance\n @param [Hash] params Request parameters\n @return [String] subscription_url for the subscription\n @todo Needs any other better implementation", "Returns path of the target view templates.\n Do not make this method public unless Rendarable module calls controller's target_view_path method to render resources.\n @api protected", "Returns JavaScript view for ajax request or redirects to back as default.\n @api protected\n @return [Responce] JavaScript view for ajax request or redirects to back as default", "Redirect to back.\n @api protected\n @return [Boolean] True", "Includes notify_to method for routes, which is responsible to generate all necessary routes for notifications of activity_notification.\n\n When you have an User model configured as a target (e.g. defined acts_as_target),\n you can create as follows in your routes:\n notify_to :users\n This method creates the needed routes:\n # Notification routes\n user_notifications GET /users/:user_id/notifications(.:format)\n { controller:\"activity_notification/notifications\", action:\"index\", target_type:\"users\" }\n user_notification GET /users/:user_id/notifications/:id(.:format)\n { controller:\"activity_notification/notifications\", action:\"show\", target_type:\"users\" }\n user_notification DELETE /users/:user_id/notifications/:id(.:format)\n { controller:\"activity_notification/notifications\", action:\"destroy\", target_type:\"users\" }\n open_all_user_notifications POST /users/:user_id/notifications/open_all(.:format)\n { controller:\"activity_notification/notifications\", action:\"open_all\", target_type:\"users\" }\n move_user_notification GET /users/:user_id/notifications/:id/move(.:format)\n { controller:\"activity_notification/notifications\", action:\"move\", target_type:\"users\" }\n open_user_notification POST /users/:user_id/notifications/:id/open(.:format)\n { controller:\"activity_notification/notifications\", action:\"open\", target_type:\"users\" }\n\n You can also configure notification routes with scope like this:\n scope :myscope, as: :myscope do\n notify_to :users, routing_scope: :myscope\n end\n This routing_scope option creates the needed routes with specified scope like this:\n # Notification routes\n myscope_user_notifications GET /myscope/users/:user_id/notifications(.:format)\n { controller:\"activity_notification/notifications\", action:\"index\", target_type:\"users\", routing_scope: :myscope }\n myscope_user_notification GET /myscope/users/:user_id/notifications/:id(.:format)\n { controller:\"activity_notification/notifications\", action:\"show\", target_type:\"users\", routing_scope: :myscope }\n myscope_user_notification DELETE /myscope/users/:user_id/notifications/:id(.:format)\n { controller:\"activity_notification/notifications\", action:\"destroy\", target_type:\"users\", routing_scope: :myscope }\n open_all_myscope_user_notifications POST /myscope/users/:user_id/notifications/open_all(.:format)\n { controller:\"activity_notification/notifications\", action:\"open_all\", target_type:\"users\", routing_scope: :myscope }\n move_myscope_user_notification GET /myscope/users/:user_id/notifications/:id/move(.:format)\n { controller:\"activity_notification/notifications\", action:\"move\", target_type:\"users\", routing_scope: :myscope }\n open_myscope_user_notification POST /myscope/users/:user_id/notifications/:id/open(.:format)\n { controller:\"activity_notification/notifications\", action:\"open\", target_type:\"users\", routing_scope: :myscope }\n\n When you use devise authentication and you want make notification targets assciated with devise,\n you can create as follows in your routes:\n notify_to :users, with_devise: :users\n This with_devise option creates the needed routes assciated with devise authentication:\n # Notification with devise routes\n user_notifications GET /users/:user_id/notifications(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"index\", target_type:\"users\", devise_type:\"users\" }\n user_notification GET /users/:user_id/notifications/:id(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"show\", target_type:\"users\", devise_type:\"users\" }\n user_notification DELETE /users/:user_id/notifications/:id(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"destroy\", target_type:\"users\", devise_type:\"users\" }\n open_all_user_notifications POST /users/:user_id/notifications/open_all(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"open_all\", target_type:\"users\", devise_type:\"users\" }\n move_user_notification GET /users/:user_id/notifications/:id/move(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"move\", target_type:\"users\", devise_type:\"users\" }\n open_user_notification POST /users/:user_id/notifications/:id/open(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"open\", target_type:\"users\", devise_type:\"users\" }\n\n When you use with_devise option and you want to make simple default routes as follows, you can use devise_default_routes option:\n notify_to :users, with_devise: :users, devise_default_routes: true\n These with_devise and devise_default_routes options create the needed routes assciated with authenticated devise resource as the default target\n # Notification with default devise routes\n user_notifications GET /notifications(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"index\", target_type:\"users\", devise_type:\"users\" }\n user_notification GET /notifications/:id(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"show\", target_type:\"users\", devise_type:\"users\" }\n user_notification DELETE /notifications/:id(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"destroy\", target_type:\"users\", devise_type:\"users\" }\n open_all_user_notifications POST /notifications/open_all(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"open_all\", target_type:\"users\", devise_type:\"users\" }\n move_user_notification GET /notifications/:id/move(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"move\", target_type:\"users\", devise_type:\"users\" }\n open_user_notification POST /notifications/:id/open(.:format)\n { controller:\"activity_notification/notifications_with_devise\", action:\"open\", target_type:\"users\", devise_type:\"users\" }\n\n When you would like to define subscription management paths with notification paths,\n you can create as follows in your routes:\n notify_to :users, with_subscription: true\n or you can also set options for subscription path:\n notify_to :users, with_subscription: { except: [:index] }\n If you configure this :with_subscription option with :with_devise option, with_subscription paths are also automatically configured with devise authentication as the same as notifications\n notify_to :users, with_devise: :users, with_subscription: true\n\n @example Define notify_to in config/routes.rb\n notify_to :users\n @example Define notify_to with options\n notify_to :users, only: [:open, :open_all, :move]\n @example Integrated with Devise authentication\n notify_to :users, with_devise: :users\n @example Define notification paths including subscription paths\n notify_to :users, with_subscription: true\n @example Integrated with Devise authentication as simple default routes including subscription management\n notify_to :users, with_devise: :users, devise_default_routes: true, with_subscription: true\n @example Integrated with Devise authentication as simple default routes with scope including subscription management\n scope :myscope, as: :myscope do\n notify_to :myscope, with_devise: :users, devise_default_routes: true, with_subscription: true, routing_scope: :myscope\n end\n\n @overload notify_to(*resources, *options)\n @param [Symbol] resources Resources to notify\n @option options [String] :routing_scope (nil) Routing scope for notification routes\n @option options [Symbol] :with_devise (false) Devise resources name for devise integration. Devise integration will be enabled by this option.\n @option options [Boolean] :devise_default_routes (false) Whether you will create routes as device default routes assciated with authenticated devise resource as the default target\n @option options [Hash|Boolean] :with_subscription (false) Subscription path options to define subscription management paths with notification paths. Calls subscribed_by routing when truthy value is passed as this option.\n @option options [String] :model (:notifications) Model name of notifications\n @option options [String] :controller (\"activity_notification/notifications\" | activity_notification/notifications_with_devise\") :controller option as resources routing\n @option options [Symbol] :as (nil) :as option as resources routing\n @option options [Array] :only (nil) :only option as resources routing\n @option options [Array] :except (nil) :except option as resources routing\n @return [ActionDispatch::Routing::Mapper] Routing mapper instance", "Includes subscribed_by method for routes, which is responsible to generate all necessary routes for subscriptions of activity_notification.\n\n When you have an User model configured as a target (e.g. defined acts_as_target),\n you can create as follows in your routes:\n subscribed_by :users\n This method creates the needed routes:\n # Subscription routes\n user_subscriptions GET /users/:user_id/subscriptions(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"index\", target_type:\"users\" }\n user_subscription GET /users/:user_id/subscriptions/:id(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"show\", target_type:\"users\" }\n open_all_user_subscriptions POST /users/:user_id/subscriptions(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"create\", target_type:\"users\" }\n user_subscription DELETE /users/:user_id/subscriptions/:id(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"destroy\", target_type:\"users\" }\n subscribe_user_subscription POST /users/:user_id/subscriptions/:id/subscribe(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"subscribe\", target_type:\"users\" }\n unsubscribe_user_subscription POST /users/:user_id/subscriptions/:id/unsubscribe(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"unsubscribe\", target_type:\"users\" }\n subscribe_to_email_user_subscription POST /users/:user_id/subscriptions/:id/subscribe_to_email(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"subscribe_to_email\", target_type:\"users\" }\n unsubscribe_to_email_user_subscription POST /users/:user_id/subscriptions/:id/unsubscribe_to_email(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"unsubscribe_to_email\", target_type:\"users\" }\n subscribe_to_optional_target_user_subscription POST /users/:user_id/subscriptions/:id/subscribe_to_optional_target(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"subscribe_to_optional_target\", target_type:\"users\" }\n unsubscribe_to_optional_target_user_subscription POST /users/:user_id/subscriptions/:id/unsubscribe_to_optional_target(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"unsubscribe_to_optional_target\", target_type:\"users\" }\n\n You can also configure notification routes with scope like this:\n scope :myscope, as: :myscope do\n subscribed_by :users, routing_scope: :myscope\n end\n This routing_scope option creates the needed routes with specified scope like this:\n # Subscription routes\n myscope_user_subscriptions GET /myscope/users/:user_id/subscriptions(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"index\", target_type:\"users\", routing_scope: :myscope }\n myscope_user_subscription GET /myscope/users/:user_id/subscriptions/:id(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"show\", target_type:\"users\", routing_scope: :myscope }\n open_all_myscope_user_subscriptions POST /myscope/users/:user_id/subscriptions(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"create\", target_type:\"users\", routing_scope: :myscope }\n myscope_user_subscription DELETE /myscope/users/:user_id/subscriptions/:id(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"destroy\", target_type:\"users\", routing_scope: :myscope }\n subscribe_myscope_user_subscription POST /myscope/users/:user_id/subscriptions/:id/subscribe(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"subscribe\", target_type:\"users\", routing_scope: :myscope }\n unsubscribe_myscope_user_subscription POST /myscope/users/:user_id/subscriptions/:id/unsubscribe(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"unsubscribe\", target_type:\"users\", routing_scope: :myscope }\n subscribe_to_email_myscope_user_subscription POST /myscope/users/:user_id/subscriptions/:id/subscribe_to_email(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"subscribe_to_email\", target_type:\"users\", routing_scope: :myscope }\n unsubscribe_to_email_myscope_user_subscription POST /myscope/users/:user_id/subscriptions/:id/unsubscribe_to_email(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"unsubscribe_to_email\", target_type:\"users\", routing_scope: :myscope }\n subscribe_to_optional_target_myscope_user_subscription POST /myscope/users/:user_id/subscriptions/:id/subscribe_to_optional_target(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"subscribe_to_optional_target\", target_type:\"users\", routing_scope: :myscope }\n unsubscribe_to_optional_target_myscope_user_subscription POST /myscope/users/:user_id/subscriptions/:id/unsubscribe_to_optional_target(.:format)\n { controller:\"activity_notification/subscriptions\", action:\"unsubscribe_to_optional_target\", target_type:\"users\", routing_scope: :myscope }\n\n When you use devise authentication and you want make subscription targets assciated with devise,\n you can create as follows in your routes:\n subscribed_by :users, with_devise: :users\n This with_devise option creates the needed routes assciated with devise authentication:\n # Subscription with devise routes\n user_subscriptions GET /users/:user_id/subscriptions(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"index\", target_type:\"users\", devise_type:\"users\" }\n user_subscription GET /users/:user_id/subscriptions/:id(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"show\", target_type:\"users\", devise_type:\"users\" }\n open_all_user_subscriptions POST /users/:user_id/subscriptions(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"create\", target_type:\"users\", devise_type:\"users\" }\n user_subscription DELETE /users/:user_id/subscriptions/:id(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"destroy\", target_type:\"users\", devise_type:\"users\" }\n subscribe_user_subscription POST /users/:user_id/subscriptions/:id/subscribe(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"subscribe\", target_type:\"users\", devise_type:\"users\" }\n unsubscribe_user_subscription POST /users/:user_id/subscriptions/:id/unsubscribe(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"unsubscribe\", target_type:\"users\", devise_type:\"users\" }\n subscribe_to_email_user_subscription POST /users/:user_id/subscriptions/:id/subscribe_to_email(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"subscribe_to_email\", target_type:\"users\", devise_type:\"users\" }\n unsubscribe_to_email_user_subscription POST /users/:user_id/subscriptions/:id/unsubscribe_to_email(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"unsubscribe_to_email\", target_type:\"users\", devise_type:\"users\" }\n subscribe_to_optional_target_user_subscription POST /users/:user_id/subscriptions/:id/subscribe_to_optional_target(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"subscribe_to_optional_target\", target_type:\"users\", devise_type:\"users\" }\n unsubscribe_to_optional_target_user_subscription POST /users/:user_id/subscriptions/:id/unsubscribe_to_optional_target(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"unsubscribe_to_optional_target\", target_type:\"users\", devise_type:\"users\" }\n\n When you use with_devise option and you want to make simple default routes as follows, you can use devise_default_routes option:\n subscribed_by :users, with_devise: :users, devise_default_routes: true\n These with_devise and devise_default_routes options create the needed routes assciated with authenticated devise resource as the default target\n # Subscription with devise routes\n user_subscriptions GET /subscriptions(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"index\", target_type:\"users\", devise_type:\"users\" }\n user_subscription GET /subscriptions/:id(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"show\", target_type:\"users\", devise_type:\"users\" }\n open_all_user_subscriptions POST /subscriptions(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"create\", target_type:\"users\", devise_type:\"users\" }\n user_subscription DELETE /subscriptions/:id(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"destroy\", target_type:\"users\", devise_type:\"users\" }\n subscribe_user_subscription POST /subscriptions/:id/subscribe(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"subscribe\", target_type:\"users\", devise_type:\"users\" }\n unsubscribe_user_subscription POST /subscriptions/:id/unsubscribe(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"unsubscribe\", target_type:\"users\", devise_type:\"users\" }\n subscribe_to_email_user_subscription POST /subscriptions/:id/subscribe_to_email(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"subscribe_to_email\", target_type:\"users\", devise_type:\"users\" }\n unsubscribe_to_email_user_subscription POST /subscriptions/:id/unsubscribe_to_email(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"unsubscribe_to_email\", target_type:\"users\", devise_type:\"users\" }\n subscribe_to_optional_target_user_subscription POST /subscriptions/:id/subscribe_to_optional_target(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"subscribe_to_optional_target\", target_type:\"users\", devise_type:\"users\" }\n unsubscribe_to_optional_target_user_subscription POST /subscriptions/:id/unsubscribe_to_optional_target(.:format)\n { controller:\"activity_notification/subscriptions_with_devise\", action:\"unsubscribe_to_optional_target\", target_type:\"users\", devise_type:\"users\" }\n\n @example Define subscribed_by in config/routes.rb\n subscribed_by :users\n @example Define subscribed_by with options\n subscribed_by :users, except: [:index, :show]\n @example Integrated with Devise authentication\n subscribed_by :users, with_devise: :users\n\n @overload subscribed_by(*resources, *options)\n @param [Symbol] resources Resources to notify\n @option options [String] :routing_scope (nil) Routing scope for subscription routes\n @option options [Symbol] :with_devise (false) Devise resources name for devise integration. Devise integration will be enabled by this option.\n @option options [Boolean] :devise_default_routes (false) Whether you will create routes as device default routes assciated with authenticated devise resource as the default target\n @option options [String] :model (:subscriptions) Model name of subscriptions\n @option options [String] :controller (\"activity_notification/subscriptions\" | activity_notification/subscriptions_with_devise\") :controller option as resources routing\n @option options [Symbol] :as (nil) :as option as resources routing\n @option options [Array] :only (nil) :only option as resources routing\n @option options [Array] :except (nil) :except option as resources routing\n @return [ActionDispatch::Routing::Mapper] Routing mapper instance", "Virtual attribute returning text description of the notification\n using the notification's key to translate using i18n.\n\n @param [Hash] params Parameters for rendering notification text\n @option params [String] :target Target type name to use as i18n text key\n @option params [Hash] others Parameters to be referred in i18n text\n @return [String] Rendered text", "Renders notification from views.\n\n The preferred way of rendering notifications is\n to provide a template specifying how the rendering should be happening.\n However, you can choose using _i18n_ based approach when developing\n an application that supports plenty of languages.\n\n If partial view exists that matches the \"target\" type and \"key\" attribute\n renders that partial with local variables set to contain both\n Notification and notification_parameters (hash with indifferent access).\n\n If the partial view does not exist and you wish to fallback to rendering\n through the i18n translation, you can do so by passing in a :fallback\n parameter whose value equals :text.\n\n If you do not want to define a partial view, and instead want to have\n all missing views fallback to a default, you can define the :fallback\n value equal to the partial you wish to use when the partial defined\n by the notification key does not exist.\n\n Render a list of all notifications of @target from a view (erb):\n
    \n <% @target.notifications.each do |notification| %>\n
  • <%= render_notification notification %>
  • \n <% end %>\n
\n\n Fallback to the i18n text translation if the view is missing:\n
    \n <% @target.notifications.each do |notification| %>\n
  • <%= render_notification notification, fallback: :text %>
  • \n <% end %>\n
\n\n Fallback to a default view if the view for the current notification key is missing:\n
    \n <% @target.notifications.each do |notification| %>\n
  • <%= render_notification notification, fallback: 'default' %>
  • \n <% end %>\n
\n\n = Layouts\n\n You can supply a layout that will be used for notification partials\n with :layout param.\n Keep in mind that layouts for partials are also partials.\n\n Supply a layout:\n # in views:\n # All examples look for a layout in app/views/layouts/_notification.erb\n render_notification @notification, layout: \"notification\"\n render_notification @notification, layout: \"layouts/notification\"\n render_notification @notification, layout: :notification\n\n # app/views/layouts/_notification.erb\n

<%= notification.created_at %>

\n <%= yield %>\n\n == Custom Layout Location\n\n You can customize the layout directory by supplying :layout_root\n or by using an absolute path.\n\n Declare custom layout location:\n # Both examples look for a layout in \"app/views/custom/_layout.erb\"\n render_notification @notification, layout_root: \"custom\"\n render_notification @notification, layout: \"/custom/layout\"\n\n = Creating a template\n\n To use templates for formatting how the notification should render,\n create a template based on target type and notification key, for example:\n\n Given a target type users and key _notification.article.create_, create directory tree\n _app/views/activity_notification/notifications/users/article/_ and create the _create_ partial there\n\n Note that if a key consists of more than three parts splitted by commas, your\n directory structure will have to be deeper, for example:\n notification.article.comment.reply => app/views/activity_notification/notifications/users/article/comment/_reply.html.erb\n\n == Custom Directory\n\n You can override the default `activity_notification/notifications/#{target}` template root with the :partial_root parameter.\n\n Custom template root:\n # look for templates inside of /app/views/custom instead of /app/views/public_directory/activity_notification/notifications/#{target}\n render_notification @notification, partial_root: \"custom\"\n\n == Variables in templates\n\n From within a template there are three variables at your disposal:\n * notification\n * controller\n * parameters [converted into a HashWithIndifferentAccess]\n\n Template for key: _notification.article.create_ (erb):\n

\n Article <%= parameters[:title] %>\n was posted by <%= parameters[\"author\"] %>\n <%= distance_of_time_in_words_to_now(notification.created_at) %>\n

\n\n @param [ActionView::Base] context\n @param [Hash] params Parameters for rendering notifications\n @option params [String, Symbol] :target (nil) Target type name to find template or i18n text\n @option params [String] :partial_root (\"activity_notification/notifications/#{target}\", controller.target_view_path, 'activity_notification/notifications/default') Partial template name\n @option params [String] :partial (self.key.tr('.', '/')) Root path of partial template\n @option params [String] :layout (nil) Layout template name\n @option params [String] :layout_root ('layouts') Root path of layout template\n @option params [String, Symbol] :fallback (nil) Fallback template to use when MissingTemplate is raised. Set :text to use i18n text as fallback.\n @option params [Hash] others Parameters to be set as locals\n @return [String] Rendered view or text as string", "Returns partial path from options\n\n @param [String] path Partial template name\n @param [String] root Root path of partial template\n @param [String, Symbol] target Target type name to find template\n @return [String] Partial template path", "Used to transform value from metadata to data which belongs model instance.\n Accepts Symbols, which it will send against this instance,\n Accepts Procs, which it will execute with this instance.\n Both Symbols and Procs will be passed arguments of this method.\n Also accepts Hash of these Symbols or Procs.\n If any other value will be passed, returns original value.\n\n @param [Symbol, Proc, Hash, Object] thing Symbol or Proc to resolve parameter\n @param [Array] args Arguments to pass to thing as method\n @return [Object] Resolved parameter value", "Shows notification index of the target.\n\n GET /:target_type/:target_id/notifications\n @overload index(params)\n @param [Hash] params Request parameter options for notification index\n @option params [String] :filter (nil) Filter option to load notification index (Nothing as auto, 'opened' or 'unopened')\n @option params [String] :limit (nil) Limit to query for notifications\n @option params [String] :reverse ('false') If notification index will be ordered as earliest first\n @option params [String] :without_grouping ('false') If notification index will include group members\n @option params [String] :with_group_members ('false') If notification index will include group members\n @option params [String] :filtered_by_type (nil) Notifiable type for filter\n @option params [String] :filtered_by_group_type (nil) Group type for filter, valid with :filtered_by_group_id\n @option params [String] :filtered_by_group_id (nil) Group instance id for filter, valid with :filtered_by_group_type\n @option params [String] :filtered_by_key (nil) Key of the notification for filter\n @option params [String] :reload ('true') Whether notification index will be reloaded\n @return [Responce] HTML view as default or JSON of notification index with json format parameter", "Opens a notification.\n\n POST /:target_type/:target_id/notifications/:id/open\n @overload open(params)\n @param [Hash] params Request parameters\n @option params [String] :move ('false') Whether redirects to notifiable_path after the notification is opened\n @option params [String] :filter (nil) Filter option to load notification index (Nothing as auto, 'opened' or 'unopened')\n @option params [String] :limit (nil) Limit to query for notifications\n @option params [String] :reload ('true') Whether notification index will be reloaded\n @option params [String] :without_grouping ('false') If notification index will include group members\n @option params [String] :with_group_members ('false') If notification index will include group members\n @return [Responce] JavaScript view for ajax request or redirects to back as default", "Sets options to load notification index from request parameters.\n @api protected\n @return [Hash] options to load notification index", "Returns if current resource signed in with Devise is authenticated for the notification.\n This method is able to be overriden.\n\n @param [Object] current_resource Current resource signed in with Devise\n @return [Boolean] If current resource signed in with Devise is authenticated for the notification", "Sends batch notification email to the target.\n\n @param [Array] notifications Target notifications to send batch notification email\n @param [Hash] options Options for notification email\n @option options [Boolean] :send_later (false) If it sends notification email asynchronously\n @option options [String, Symbol] :fallback (:batch_default) Fallback template to use when MissingTemplate is raised\n @option options [String] :batch_key (nil) Key of the batch notification email, a key of the first notification will be used if not specified\n @return [Mail::Message|ActionMailer::DeliveryJob|NilClass] Email message or its delivery job, return NilClass for wrong target", "Returns if the target subscribes to the notification.\n It also returns true when the subscription management is not allowed for the target.\n\n @param [String] key Key of the notification\n @param [Boolean] subscribe_as_default Default subscription value to use when the subscription record does not configured\n @return [Boolean] If the target subscribes the notification or the subscription management is not allowed for the target", "Returns if the target subscribes to the notification email.\n It also returns true when the subscription management is not allowed for the target.\n\n @param [String] key Key of the notification\n @param [Boolean] subscribe_as_default Default subscription value to use when the subscription record does not configured\n @return [Boolean] If the target subscribes the notification email or the subscription management is not allowed for the target", "Returns if the target subscribes to the specified optional target.\n It also returns true when the subscription management is not allowed for the target.\n\n @param [String] key Key of the notification\n @param [String, Symbol] optional_target_name Class name of the optional target implementation (e.g. :amazon_sns, :slack)\n @param [Boolean] subscribe_as_default Default subscription value to use when the subscription record does not configured\n @return [Boolean] If the target subscribes the notification email or the subscription management is not allowed for the target", "Gets opened notification index of the target as ActiveRecord.\n\n @param [Hash] options Options for notification index\n @option options [Integer] :limit (nil) Limit to query for notifications\n @option options [Boolean] :reverse (false) If notification index will be ordered as earliest first\n @option options [Boolean] :with_group_members (false) If notification index will include group members\n @option options [String] :filtered_by_type (nil) Notifiable type for filter\n @option options [Object] :filtered_by_group (nil) Group instance for filter\n @option options [String] :filtered_by_group_type (nil) Group type for filter, valid with :filtered_by_group_id\n @option options [String] :filtered_by_group_id (nil) Group instance id for filter, valid with :filtered_by_group_type\n @option options [String] :filtered_by_key (nil) Key of the notification for filter\n @option options [Array|Hash] :custom_filter (nil) Custom notification filter (e.g. [\"created_at >= ?\", time.hour.ago])\n @return [Array] Opened notification index of the target", "Subscribes to the notification and notification email.\n\n @param [Hash] options Options for subscribing to the notification\n @option options [DateTime] :subscribed_at (Time.current) Time to set to subscribed_at and subscribed_to_email_at of the subscription record\n @option options [Boolean] :with_email_subscription (true) If the subscriber also subscribes notification email\n @option options [Boolean] :with_optional_targets (true) If the subscriber also subscribes optional_targets\n @return [Boolean] If successfully updated subscription instance", "Unsubscribes to the notification and notification email.\n\n @param [Hash] options Options for unsubscribing to the notification\n @option options [DateTime] :unsubscribed_at (Time.current) Time to set to unsubscribed_at and unsubscribed_to_email_at of the subscription record\n @return [Boolean] If successfully updated subscription instance", "Subscribes to the notification email.\n\n @param [Hash] options Options for subscribing to the notification email\n @option options [DateTime] :subscribed_to_email_at (Time.current) Time to set to subscribed_to_email_at of the subscription record\n @return [Boolean] If successfully updated subscription instance", "Unsubscribes to the notification email.\n\n @param [Hash] options Options for unsubscribing the notification email\n @option options [DateTime] :subscribed_to_email_at (Time.current) Time to set to subscribed_to_email_at of the subscription record\n @return [Boolean] If successfully updated subscription instance", "Returns if the target subscribes to the specified optional target.\n\n @param [Symbol] optional_target_name Symbol class name of the optional target implementation (e.g. :amazon_sns, :slack)\n @param [Boolean] subscribe_as_default Default subscription value to use when the subscription record does not configured\n @return [Boolean] If the target subscribes to the specified optional target", "Subscribes to the specified optional target.\n\n @param [String, Symbol] optional_target_name Symbol class name of the optional target implementation (e.g. :amazon_sns, :slack)\n @param [Hash] options Options for unsubscribing to the specified optional target\n @option options [DateTime] :subscribed_at (Time.current) Time to set to subscribed_[optional_target_name]_at in optional_targets hash of the subscription record\n @return [Boolean] If successfully updated subscription instance", "Unsubscribes to the specified optional target.\n\n @param [String, Symbol] optional_target_name Class name of the optional target implementation (e.g. :amazon_sns, :slack)\n @param [Hash] options Options for unsubscribing to the specified optional target\n @option options [DateTime] :unsubscribed_at (Time.current) Time to set to unsubscribed_[optional_target_name]_at in optional_targets hash of the subscription record\n @return [Boolean] If successfully updated subscription instance", "Returns optional_target names of the subscription from optional_targets field.\n @return [Array] Array of optional target names", "Returns notification targets from configured field or overriden method.\n This method is able to be overriden.\n\n @param [String] target_type Target type to notify\n @param [Hash] options Options for notifications\n @option options [String] :key (notifiable.default_notification_key) Key of the notification\n @option options [Hash] :parameters ({}) Additional parameters of the notifications\n @return [Array | ActiveRecord_AssociationRelation] Array or database query of the notification targets", "Returns if sending notification email is allowed for the notifiable from configured field or overriden method.\n This method is able to be overriden.\n\n @param [Object] target Target instance to notify\n @param [String] key Key of the notification\n @return [Boolean] If sending notification email is allowed for the notifiable", "Returns notifiable_path to move after opening notification from configured field or overriden method.\n This method is able to be overriden.\n\n @param [String] target_type Target type to notify\n @param [String] key Key of the notification\n @return [String] Notifiable path URL to move after opening notification", "Returns printable notifiable model name to show in view or email.\n @return [String] Printable notifiable model name", "Returns optional_target names of the notification from configured field or overriden method.\n This method is able to be overriden.\n\n @param [String] target_type Target type to notify\n @param [String] key Key of the notification\n @return [Array] Array of optional target names", "Gets generated notifications for specified target type.\n @api private\n @param [String] target_type Target type of generated notifications", "Destroies generated notifications for specified target type with dependency.\n This method is intended to be called before destroy this notifiable as dependent configuration.\n @api private\n @param [Symbol] dependent Has_many dependency, [:delete_all, :destroy, :restrict_with_error, :restrict_with_exception] are available\n @param [String] target_type Target type of generated notifications\n @param [Boolean] remove_from_group Whether it removes generated notifications from notification group before destroy", "Shows subscription index of the target.\n\n GET /:target_type/:target_id/subscriptions\n @overload index(params)\n @param [Hash] params Request parameter options for subscription index\n @option params [String] :filter (nil) Filter option to load subscription index (Nothing as all, 'configured' or 'unconfigured')\n @option params [String] :limit (nil) Limit to query for subscriptions\n @option params [String] :reverse ('false') If subscription index and unconfigured notification keys will be ordered as earliest first\n @option params [String] :filtered_by_key (nil) Key of the subscription for filter\n @return [Responce] HTML view as default or JSON of subscription index with json format parameter", "Subscribes to the notification.\n\n POST /:target_type/:target_id/subscriptions/:id/subscribe\n @overload open(params)\n @param [Hash] params Request parameters\n @option params [String] :with_email_subscription ('true') If the subscriber also subscribes notification email\n @option params [String] :with_optional_targets ('true') If the subscriber also subscribes optional targets\n @option params [String] :filter (nil) Filter option to load subscription index (Nothing as all, 'configured' or 'unconfigured')\n @option params [String] :limit (nil) Limit to query for subscriptions\n @option params [String] :reverse ('false') If subscription index and unconfigured notification keys will be ordered as earliest first\n @option params [String] :filtered_by_key (nil) Key of the subscription for filter\n @return [Responce] JavaScript view for ajax request or redirects to back as default", "Sets options to load subscription index from request parameters.\n @api protected\n @return [Hash] options to load subscription index", "Loads subscription index with request parameters.\n @api protected\n @return [Array] Array of subscription index", "Gets subscription of the target and notification key.\n\n @param [Hash] key Key of the notification for subscription\n @param [Hash] subscription_params Parameters to create subscription record\n @return [Subscription] Found or created subscription instance", "Creates new subscription of the target.\n\n @param [Hash] subscription_params Parameters to create subscription record\n @return [Subscription] Created subscription instance", "Gets configured subscription index of the target.\n\n @example Get configured subscription index of the @user\n @subscriptions = @user.subscription_index\n\n @param [Hash] options Options for subscription index\n @option options [Integer] :limit (nil) Limit to query for subscriptions\n @option options [Boolean] :reverse (false) If subscription index will be ordered as earliest first\n @option options [String] :filtered_by_key (nil) Key of the notification for filter\n @option options [Array|Hash] :custom_filter (nil) Custom subscription filter (e.g. [\"created_at >= ?\", time.hour.ago])\n @option options [Boolean] :with_target (false) If it includes target with subscriptions\n @return [Array] Configured subscription index of the target", "Gets received notification keys of the target.\n\n @example Get unconfigured notification keys of the @user\n @notification_keys = @user.notification_keys(filter: :unconfigured)\n\n @param [Hash] options Options for unconfigured notification keys\n @option options [Integer] :limit (nil) Limit to query for subscriptions\n @option options [Boolean] :reverse (false) If notification keys will be ordered as earliest first\n @option options [Symbol|String] :filter (nil) Filter option to load notification keys (Nothing as all, 'configured' with configured subscriptions or 'unconfigured' without subscriptions)\n @option options [String] :filtered_by_key (nil) Key of the notification for filter\n @option options [Array|Hash] :custom_filter (nil) Custom subscription filter (e.g. [\"created_at >= ?\", time.hour.ago])\n @return [Array] Unconfigured notification keys of the target", "Returns if the target subscribes.\n @api private\n @param [Boolean] record Subscription record\n @param [Symbol] field Evaluating subscription field or method of the record\n @param [Boolean] default Default subscription value to use when the subscription record does not configured\n @param [Array] args Arguments of evaluating subscription method\n @return [Boolean] If the target subscribes", "Convert our resource to yaml for Hiera purposes.", "attribute names that are not title or namevars", "rubocop complains when this is named has_feature?", "validates a resource hash against its type schema", "Returns an array of keys that where not found in the type schema\n No longer modifies the resource passed in", "Returns a hash of keys and values that are not valid\n does not modify the resource passed in", "Parse the response body.\n\n Instead of overriding this method, consider using `define_parser`.", "faraday to rack-compatible", "rack to faraday-compatible", "Highlight matching characters within the matched string.\n\n Note that this is only approximate; it will highlight the first matching\n instances within the string, which may not actually be the instances that\n were used by the matching/scoring algorithm to determine the best score\n for the match.", "Print just the specified match.", "Print all matches.", "Take current matches and stick them in the quickfix window.", "Delete a character to the left of the current cursor position.", "Builds the local string according to configurations", "Returns a normalized version of the standard address parts.", "True if the part matches the conventional format", "Relaxed conventional is not so strict about character order.", "True if the part matches the RFC standard format", "Matches configured formated form against File glob strings given.\n Rules must end in @ to distinguish themselves from other email part matches.", "Returns the canonical email address according to the provider\n uniqueness rules. Usually, this downcases the address, removes\n spaves and comments and tags, and any extraneous part of the address\n not considered a unique account by the provider.", "Returns the provider name based on the MX-er host names, or nil if not matched", "Returns Array of domain names for the MX'ers, used to determine the Provider", "Using this to resolve only once per host", "Options for both the sync and async producers.", "Retrive the schedule configuration for the given name\n if the name is nil it returns a hash with all the\n names end their schedules.", "gets the schedule as it exists in redis", "Create or update a schedule with the provided name and configuration.\n\n Note: values for class and custom_job_class need to be strings,\n not constants.\n\n Sidekiq.set_schedule('some_job', { :class => 'SomeJob',\n :every => '15mins',\n :queue => 'high',\n :args => '/tmp/poop' })", "remove a given schedule by name", "Pulls the schedule from Sidekiq.schedule and loads it into the\n rufus scheduler instance", "Pushes the job into Sidekiq if not already pushed for the given time\n\n @param [String] job_name The job's name\n @param [Time] time The time when the job got cleared for triggering\n @param [Hash] config Job's config hash", "Enqueue a job based on a config hash\n\n @param job_config [Hash] the job configuration\n @param time [Time] time the job is enqueued", "Retrieves a schedule state\n\n @param name [String] with the schedule's name\n @return [Hash] with the schedule's state", "Adds a Hash with schedule metadata as the last argument to call the worker.\n It currently returns the schedule time as a Float number representing the milisencods\n since epoch.\n\n @example with hash argument\n arguments_with_metadata({value: 1}, scheduled_at: Time.now)\n #=> [{value: 1}, {scheduled_at: }]\n\n @param args [Array|Hash]\n @param metadata [Hash]\n @return [Array] arguments with added metadata", "Returns true if the enqueuing needs to be done for an ActiveJob\n class false otherwise.\n\n @param [Class] klass the class to check is decendant from ActiveJob\n\n @return [Boolean]", "Convert the given arguments in the format expected to be enqueued.\n\n @param [Hash] config the options to be converted\n @option config [String] class the job class\n @option config [Hash/Array] args the arguments to be passed to the job\n class\n\n @return [Hash]", "Returns the next time execution for the job\n\n @return [String] with the job's next time", "Returns the last execution time for the job\n\n @return [String] with the job's last time", "Indicate that this endpoint is deprecated and will go away on the given date.\n\n gon_on: - date, as a string, when this endpoint will go away\n block - the contents of the endpoint\n\n Example:\n\n def show\n deprecated gone_on: \"2019-04-09\" do\n render widgets: { Widget.find(params[:id]) }\n end\n end", "Generates a ASCII table with the given _options_.\n\n Align column _n_ to the given _alignment_ of :center, :left, or :right.", "Add a row.", "Return column _n_.", "Set the headings", "Render the table.", "Analyze rails codes.\n\n there are two steps to check rails codes,\n\n 1. prepare process, check all model and mailer files.\n 2. review process, check all files.\n\n if there are violations to rails best practices, output them.\n\n @param [String] path the directory of rails project\n @param [Hash] options", "process lexical, prepare or reivew.\n\n get all files for the process, analyze each file,\n and increment progress bar unless debug.\n\n @param [String] process the process name, lexical, prepare or review.", "get all files for parsing.\n\n @return [Array] all files for parsing", "expand all files with extenstion rb, erb, haml, slim, builder and rxml under the dirs\n\n @param [Array] dirs what directories to expand\n @return [Array] all files expanded", "sort files, models first, mailers, helpers, and then sort other files by characters.\n\n models and mailers first as for prepare process.\n\n @param [Array] files\n @return [Array] sorted files", "accept specific files.\n\n @param [Array] files\n @param [Regexp] patterns, files match any pattern will be accepted", "output errors with json format.", "plain output with color.\n\n @param [String] message to output\n @param [String] color", "analyze source codes.", "Hook to _run_callbacks asserting for conditions.", "A callback that runs if no user could be fetched, meaning there is now no user logged in.\n\n Parameters:\n Some options which specify when the callback should be executed\n scope - Executes the callback only if it matches the scope(s) given\n A block to contain logic for the callback\n Block Parameters: |user, auth, scope|\n user - The authenticated user for the current scope\n auth - The warden proxy object\n opts - any options passed into the authenticate call including :scope\n\n Example:\n Warden::Manager.after_failed_fetch do |user, auth, opts|\n I18n.locale = :en\n end\n\n :api: public", "A callback that runs just prior to the logout of each scope.\n\n Parameters:\n Some options which specify when the callback should be executed\n scope - Executes the callback only if it matches the scope(s) given\n A block to contain logic for the callback\n Block Parameters: |user, auth, scope|\n user - The authenticated user for the current scope\n auth - The warden proxy object\n opts - any options passed into the authenticate call including :scope\n\n Example:\n Warden::Manager.before_logout do |user, auth, opts|\n user.forget_me!\n end\n\n :api: public", "A callback that runs on each request, just after the proxy is initialized\n\n Parameters:\n A block to contain logic for the callback\n Block Parameters: |proxy|\n proxy - The warden proxy object for the request\n\n Example:\n user = \"A User\"\n Warden::Manager.on_request do |proxy|\n proxy.set_user = user\n end\n\n :api: public", "Provides access to the user object in a given scope for a request.\n Will be nil if not logged in. Please notice that this method does not\n perform strategies.\n\n Example:\n # without scope (default user)\n env['warden'].user\n\n # with scope\n env['warden'].user(:admin)\n\n # as a Hash\n env['warden'].user(:scope => :admin)\n\n # with default scope and run_callbacks option\n env['warden'].user(:run_callbacks => false)\n\n # with a scope and run_callbacks option\n env['warden'].user(:scope => :admin, :run_callbacks => true)\n\n :api: public", "Provides logout functionality.\n The logout also manages any authenticated data storage and clears it when a user logs out.\n\n Parameters:\n scopes - a list of scopes to logout\n\n Example:\n # Logout everyone and clear the session\n env['warden'].logout\n\n # Logout the default user but leave the rest of the session alone\n env['warden'].logout(:default)\n\n # Logout the :publisher and :admin user\n env['warden'].logout(:publisher, :admin)\n\n :api: public", "Run the strategies for a given scope", "Fetches strategies and keep them in a hash cache.", "Parse errors from the server respons, if any\n @raise [OverQueryLimitError] when server response object includes status 'OVER_QUERY_LIMIT'\n @raise [RequestDeniedError] when server response object includes 'REQUEST_DENIED'\n @raise [InvalidRequestError] when server response object includes 'INVALID_REQUEST'\n @raise [UnknownError] when server response object includes 'UNKNOWN_ERROR'\n @raise [NotFoundError] when server response object includes 'NOT_FOUND'\n @return [String] the response from the server as JSON", "Creates a new Client instance which proxies the requests to the certain classes\n\n @param [String] api_key The api key to use for the requests\n @param [Hash] options An options hash for requests. Is used as the query parameters on server requests\n @option options [String,Integer] lat\n the latitude for the search\n @option options [String,Integer] lng\n the longitude for the search\n @option options [Integer] :radius\n Defines the distance (in meters) within which to return Place results.\n The maximum allowed radius is 50,000 meters.\n Note that radius must not be included if :rankby is specified\n @option options [String,Array] :types\n Restricts the results to Spots matching at least one of the specified types\n @option options [String] :name\n A term to be matched against the names of Places.\n Results will be restricted to those containing the passed name value.\n @option options [String] :keyword\n A term to be matched against all content that Google has indexed for this Spot,\n including but not limited to name, type, and address,\n as well as customer reviews and other third-party content.\n @option options [String] :language\n The language code, indicating in which language the results should be returned, if possible.\n @option options [String,Array] :exclude\n A String or an Array of types to exclude from results\n\n @option options [Hash] :retry_options\n A Hash containing parameters for search retries\n @option options [Object] :retry_options[:status]\n @option options [Integer] :retry_options[:max] the maximum retries\n @option options [Integer] :retry_options[:delay] the delay between each retry in seconds\n\n @see http://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1 List of supported languages\n @see https://developers.google.com/maps/documentation/places/supported_types List of supported types\n Search for Spots at the provided location\n\n @return [Array]\n @param [String,Integer] lat the latitude for the search\n @param [String,Integer] lng the longitude for the search\n @param [Hash] options\n @option options [Integer] :radius (1000)\n Defines the distance (in meters) within which to return Place results.\n The maximum allowed radius is 50,000 meters.\n Note that radius must not be included if :rankby => 'distance' (described below) is specified.\n Note that this is a mandatory parameter\n @option options [String] :rankby\n Specifies the order in which results are listed. Possible values are:\n - prominence (default). This option sorts results based on their importance.\n Ranking will favor prominent places within the specified area.\n Prominence can be affected by a Place's ranking in Google's index,\n the number of check-ins from your application, global popularity, and other factors.\n - distance. This option sorts results in ascending order by their distance from the specified location.\n Ranking results by distance will set a fixed search radius of 50km.\n One or more of keyword, name, or types is required.\n @option options [String,Array] :types\n Restricts the results to Spots matching at least one of the specified types\n @option options [String] :name\n A term to be matched against the names of Places.\n Results will be restricted to those containing the passed name value.\n @option options [String] :keyword\n A term to be matched against all content that Google has indexed for this Spot,\n including but not limited to name, type, and address,\n as well as customer reviews and other third-party content.\n @option options [String] :language\n The language code, indicating in which language the results should be returned, if possible.\n @option options [String,Array] :exclude ([])\n A String or an Array of types to exclude from results\n\n @option options [Hash] :retry_options ({})\n A Hash containing parameters for search retries\n @option options [Object] :retry_options[:status] ([])\n @option options [Integer] :retry_options[:max] (0) the maximum retries\n @option options [Integer] :retry_options[:delay] (5) the delay between each retry in seconds\n\n @option options [Boolean] :detail\n A boolean to return spots with full detail information(its complete address, phone number, user rating, reviews, etc)\n Note) This makes an extra call for each spot for more information.\n\n @see http://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1 List of supported languages\n @see https://developers.google.com/maps/documentation/places/supported_types List of supported types", "Search for Spots with a query\n\n @return [Array]\n @param [String] query the query to search for\n @param [Hash] options\n @option options [String,Integer] lat the latitude for the search\n @option options [String,Integer] lng the longitude for the search\n @option options [Integer] :radius (1000)\n Defines the distance (in meters) within which to return Place results.\n The maximum allowed radius is 50,000 meters.\n Note that radius must not be included if :rankby => 'distance' (described below) is specified.\n Note that this is a mandatory parameter\n @option options [String] :rankby\n Specifies the order in which results are listed. Possible values are:\n - prominence (default). This option sorts results based on their importance.\n Ranking will favor prominent places within the specified area.\n Prominence can be affected by a Place's ranking in Google's index,\n the number of check-ins from your application, global popularity, and other factors.\n - distance. This option sorts results in ascending order by their distance from the specified location.\n Ranking results by distance will set a fixed search radius of 50km.\n One or more of keyword, name, or types is required. distance. This option sorts results in ascending order by their distance from the specified location. Ranking results by distance will set a fixed search radius of 50km. One or more of keyword, name, or types is required.\n @option options [String,Array] :types\n Restricts the results to Spots matching at least one of the specified types\n @option options [String] :language\n The language code, indicating in which language the results should be returned, if possible.\n @option options [String,Array] :exclude ([])\n A String or an Array of types to exclude from results\n\n @option options [Hash] :retry_options ({})\n A Hash containing parameters for search retries\n @option options [Object] :retry_options[:status] ([])\n @option options [Integer] :retry_options[:max] (0) the maximum retries\n @option options [Integer] :retry_options[:delay] (5) the delay between each retry in seconds\n @option options [Boolean] :detail\n A boolean to return spots with full detail information(its complete address, phone number, user rating, reviews, etc)\n Note) This makes an extra call for each spot for more information.\n\n @see http://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1 List of supported languages\n @see https://developers.google.com/maps/documentation/places/supported_types List of supported types", "Search for Spots within a give SW|NE bounds with query\n\n @return [Array]\n @param [Hash] bounds\n @param [String] api_key the provided api key\n @param [Hash] options\n @option bounds [String, Array] :start_point\n An array that contains the lat/lng pair for the first\n point in the bounds (rectangle)\n @option bounds [:start_point][String, Integer] :lat\n The starting point coordinates latitude value\n @option bounds [:start_point][String, Integer] :lng\n The starting point coordinates longitude value\n @option bounds [String, Array] :end_point\n An array that contains the lat/lng pair for the end\n point in the bounds (rectangle)\n @option bounds [:end_point][String, Integer] :lat\n The end point coordinates latitude value\n @option bounds [:end_point][String, Integer] :lng\n The end point coordinates longitude value\n @option options [String,Array] :query\n Restricts the results to Spots matching term(s) in the specified query\n @option options [String] :language\n The language code, indicating in which language the results should be returned, if possible.\n @option options [String,Array] :exclude ([])\n A String or an Array of types to exclude from results\n @option options [Hash] :retry_options ({})\n A Hash containing parameters for search retries\n @option options [Object] :retry_options[:status] ([])\n @option options [Integer] :retry_options[:max] (0) the maximum retries\n @option options [Integer] :retry_options[:delay] (5) the delay between each retry in seconds\n @option options [Boolean] :detail\n A boolean to return spots with full detail information(its complete address, phone number, user rating, reviews, etc)\n Note) This makes an extra call for each spot for more information.\n\n @see https://developers.google.com/maps/documentation/places/supported_types List of supported types", "Search for Spots with a pagetoken\n\n @return [Array]\n @param [String] pagetoken the next page token to search for\n @param [Hash] options\n @option options [String,Array] :exclude ([])\n A String or an Array of types to exclude from results\n @option options [Hash] :retry_options ({})\n A Hash containing parameters for search retries\n @option options [Object] :retry_options[:status] ([])\n @option options [Integer] :retry_options[:max] (0) the maximum retries\n @option options [Integer] :retry_options[:delay] (5) the delay between each retry in seconds\n @option options [Boolean] :detail\n A boolean to return spots with full detail information(its complete address, phone number, user rating, reviews, etc)\n Note) This makes an extra call for each spot for more information.\n\n @see https://developers.google.com/maps/documentation/places/supported_types List of supported types", "Radar Search Service allows you to search for up to 200 Places at once, but with less detail than is typically returned from a Text Search or Nearby Search request. The search response will include up to 200 Places, identified only by their geographic coordinates and reference. You can send a Place Details request for more information about any of them.\n\n @return [Array]\n @param [String,Integer] lat the latitude for the search\n @param [String,Integer] lng the longitude for the search\n @param [Hash] options\n @option options [Integer] :radius (1000)\n Defines the distance (in meters) within which to return Place results.\n The maximum allowed radius is 50,000 meters.\n Note that this is a mandatory parameter\n @option options [String,Array] :types\n Restricts the results to Spots matching at least one of the specified types\n @option options [String] :name\n A term to be matched against the names of Places.\n Results will be restricted to those containing the passed name value.\n @option options [String] :keyword\n A term to be matched against all content that Google has indexed for this Spot,\n including but not limited to name, type, and address,\n as well as customer reviews and other third-party content.\n @option options [Integer] :minprice\n Restricts results to only those places within the specified price range. Valid values range between 0 (most affordable) to 4 (most expensive), inclusive.\n @option options [Integer] :maxprice\n Restricts results to only those places within the specified price range. Valid values range between 0 (most affordable) to 4 (most expensive), inclusive.\n @option options [Boolean] :opennow\n Retricts results to those Places that are open for business at the time the query is sent.\n Places that do not specify opening hours in the Google Places database will not be returned if you include this parameter in your query.\n Setting openNow to false has no effect.\n @option options [Boolean] :zagatselected\n Restrict your search to only those locations that are Zagat selected businesses.\n This parameter does not require a true or false value, simply including the parameter in the request is sufficient to restrict your search.\n The zagatselected parameter is experimental, and only available to Places API enterprise customers.\n @option options [Boolean] :detail\n A boolean to return spots with full detail information(its complete address, phone number, user rating, reviews, etc)\n Note) This makes an extra call for each spot for more information.\n\n @see https://developers.google.com/places/documentation/search#RadarSearchRequests", "Search for a Photo's url with its reference key\n\n @return [URL]\n @param [String] api_key the provided api key\n @param [Hash] options\n @option options [Hash] :retry_options ({})\n A Hash containing parameters for search retries\n @option options [Object] :retry_options[:status] ([])\n @option options [Integer] :retry_options[:max] (0) the maximum retries\n @option options [Integer] :retry_options[:delay] (5) the delay between each retry in seconds", "Hooks into const missing process to determine types of attributes\n\n @param [String] name\n\n @return [Class]\n\n @api private", "Initialize an AttributeSet\n\n @param [AttributeSet] parent\n @param [Array] attributes\n\n @return [undefined]\n\n @api private\n Iterate over each attribute in the set\n\n @example\n attribute_set = AttributeSet.new(attributes, parent)\n attribute_set.each { |attribute| ... }\n\n @yield [attribute]\n\n @yieldparam [Attribute] attribute\n each attribute in the set\n\n @return [self]\n\n @api public", "Defines an attribute reader method\n\n @param [Attribute] attribute\n @param [Symbol] method_name\n @param [Symbol] visibility\n\n @return [undefined]\n\n @api private", "Defines an attribute writer method\n\n @param [Attribute] attribute\n @param [Symbol] method_name\n @param [Symbol] visibility\n\n @return [undefined]\n\n @api private", "Get values of all attributes defined for this class, ignoring privacy\n\n @return [Hash]\n\n @api private", "Mass-assign attribute values\n\n @see Virtus::InstanceMethods#attributes=\n\n @return [Hash]\n\n @api private", "Set default attributes\n\n @return [self]\n\n @api private", "Return the class given a primitive\n\n @param [Class] primitive\n\n @return [Class]\n\n @return [nil]\n nil if the type cannot be determined by the primitive\n\n @api private", "Return the class given a string\n\n @param [String] string\n\n @return [Class]\n\n @return [nil]\n nil if the type cannot be determined by the string\n\n @api private", "Extend an object with Virtus methods and define attributes\n\n @param [Object] object\n\n @return [undefined]\n\n @api private", "Extend a class with Virtus methods and define attributes\n\n @param [Object] object\n\n @return [undefined]\n\n @api private", "Adds the .included hook to the anonymous module which then defines the\n .attribute method to override the default.\n\n @return [Module]\n\n @api private", "Returns default options hash for a given attribute class\n\n @example\n Virtus::Attribute::String.options\n # => {:primitive => String}\n\n @return [Hash]\n a hash of default option values\n\n @api public", "Defines which options are valid for a given attribute class\n\n @example\n class MyAttribute < Virtus::Attribute\n accept_options :foo, :bar\n end\n\n @return [self]\n\n @api public", "Verifies the OTP passed in against the current time OTP\n and adjacent intervals up to +drift+. Excludes OTPs\n from `after` and earlier. Returns time value of\n matching OTP code for use in subsequent call.\n @param otp [String] the one time password to verify\n @param drift_behind [Integer] how many seconds to look back\n @param drift_ahead [Integer] how many seconds to look ahead\n @param after [Integer] prevent token reuse, last login timestamp\n @param at [Time] time at which to generate and verify a particular\n otp. default Time.now\n @return [Integer, nil] the last successful timestamp\n interval", "Get back an array of timecodes for a period", "A very simple param encoder", "constant-time compare the strings", "Verifies the OTP passed in against the current time OTP\n @param otp [String/Integer] the OTP to check against\n @param counter [Integer] the counter of the OTP\n @param retries [Integer] number of counters to incrementally retry", "EC2 Metadata server returns everything in one call. Store it after the\n first fetch to avoid making multiple calls.", "Set required variables like @project_id, @vm_id, @vm_name and @zone.", "1. Return the value if it is explicitly set in the config already.\n 2. If not, try to retrieve it by calling metadata servers directly.", "1. Return the value if it is explicitly set in the config already.\n 2. If not, try to retrieve it locally.", "Retrieve monitored resource via the legacy way.\n\n Note: This is just a failover plan if we fail to get metadata from\n Metadata Agent. Thus it should be equivalent to what Metadata Agent\n returns.", "Determine agent level monitored resource type.", "Determine agent level monitored resource labels based on the resource\n type. Each resource type has its own labels that need to be filled in.", "Determine the common labels that should be added to all log entries\n processed by this logging agent.", "Group the log entries by tag and local_resource_id pairs. Also filter out\n invalid non-Hash entries.", "Determine the group level monitored resource and common labels shared by a\n collection of entries.", "Take a locally unique resource id and convert it to the globally unique\n monitored resource.", "Extract entry level monitored resource and common labels that should be\n applied to individual entries.", "Issue a request to the Metadata Agent's local API and parse the response\n to JSON. Return nil in case of failure.", "Parse labels. Return nil if not set.", "Given a tag, returns the corresponding valid tag if possible, or nil if\n the tag should be rejected. If 'require_valid_tags' is false, non-string\n tags are converted to strings, and invalid characters are sanitized;\n otherwise such tags are rejected.", "For every original_label => new_label pair in the label_map, delete the\n original_label from the hash map if it exists, and extract the value to\n form a map with the new_label as the key.", "Encode as UTF-8. If 'coerce_to_utf8' is set to true in the config, any\n non-UTF-8 character would be replaced by the string specified by\n 'non_utf8_replacement_string'. If 'coerce_to_utf8' is set to false, any\n non-UTF-8 character would trigger the plugin to error out.", "Construct monitored resource locally for k8s resources.", "Exception-driven behavior to avoid synchronization errors.", "Initialize the Rack middleware for responding to serviceworker asset\n requests\n\n @app [#call] middleware stack\n @opts [Hash] options to inject\n @param opts [#match_route] :routes matches routes on PATH_INFO\n @param opts [Hash] :headers default headers to use for matched routes\n @param opts [#call] :handler resolves response from matched asset name\n @param opts [#info] :logger logs requests", "Find all keys in the source and return a forest with the keys in absolute form and their occurrences.\n\n @param key_filter [String] only return keys matching this pattern.\n @param strict [Boolean] if true, dynamic keys are excluded (e.g. `t(\"category.#{ category.key }\")`)\n @param include_raw_references [Boolean] if true, includes reference usages as they appear in the source\n @return [Data::Tree::Siblings]", "remove the leading colon and unwrap quotes from the key match\n @param literal [String] e.g: \"key\", 'key', or :key.\n @return [String] key", "Loads rails-i18n pluralization config for the given locale.", "keys present in compared_to, but not in locale", "keys used in the code missing translations in locale", "Extract i18n keys from file based on the pattern which must capture the key literal.\n @return [Array<[key, Results::Occurrence]>] each occurrence found in the file", "Convert 'es-ES' to 'es'", "Extract all occurrences of translate calls from the file at the given path.\n\n @return [Array<[key, Results::KeyOccurrence]>] each occurrence found in the file", "Extract a hash pair with a given literal key.\n\n @param node [AST::Node] a node of type `:hash`.\n @param key [String] node key as a string (indifferent symbol-string matching).\n @return [AST::Node, nil] a node of type `:pair` or nil.", "Extract an array as a single string.\n\n @param array_join_with [String] joiner of the array elements.\n @param array_flatten [Boolean] if true, nested arrays are flattened,\n otherwise their source is copied and surrounded by #{}.\n @param array_reject_blank [Boolean] if true, empty strings and `nil`s are skipped.\n @return [String, nil] `nil` is returned only when a dynamic value is encountered in strict mode.", "Adds all the ancestors that only contain the given nodes as descendants to the given nodes.\n @param nodes [Set] Modified in-place.", "Sort keys by their attributes in order\n @param [Hash] order e.g. {locale: :asc, type: :desc, key: :asc}", "I18n data provider\n @see I18n::Tasks::Data::FileSystem", "Given a forest of references, merge trees into one tree, ensuring there are no conflicting references.\n @param roots [I18n::Tasks::Data::Tree::Siblings]\n @return [I18n::Tasks::Data::Tree::Siblings]", "Return the contents of the file at the given path.\n The file is read in the 'rb' mode and UTF-8 encoding.\n\n @param path [String] Path to the file, absolute or relative to the working directory.\n @return [String] file contents", "Returns positions given categories or positions\n @note If the argument does not a valid category it treats it as position\n value and return it as it is.\n @param indexes [Array] categories or positions\n @example\n x = Daru::CategoricalIndex.new [:a, 1, :a, 1, :c]\n x.pos :a, 1\n # => [0, 1, 2, 3]", "Return subset given categories or positions\n @param indexes [Array] categories or positions\n @return [Daru::CategoricalIndex] subset of the self containing the\n mentioned categories or positions\n @example\n idx = Daru::CategoricalIndex.new [:a, :b, :a, :b, :c]\n idx.subset :a, :b\n # => #", "Takes positional values and returns subset of the self\n capturing the categories at mentioned positions\n @param positions [Array] positional values\n @return [object] index object\n @example\n idx = Daru::CategoricalIndex.new [:a, :b, :a, :b, :c]\n idx.at 0, 1\n # => #", "Array `name` must have same length as levels and labels.", "Get one or more elements with specified index or a range.\n\n == Usage\n # For vectors employing single layer Index\n\n v[:one, :two] # => Daru::Vector with indexes :one and :two\n v[:one] # => Single element\n v[:one..:three] # => Daru::Vector with indexes :one, :two and :three\n\n # For vectors employing hierarchial multi index", "Returns vector of values given positional values\n @param positions [Array] positional values\n @return [object] vector\n @example\n dv = Daru::Vector.new 'a'..'e'\n dv.at 0, 1, 2\n # => #\n # 0 a\n # 1 b\n # 2 c", "Change value at given positions\n @param positions [Array] positional values\n @param [object] val value to assign\n @example\n dv = Daru::Vector.new 'a'..'e'\n dv.set_at [0, 1], 'x'\n dv\n # => #\n # 0 x\n # 1 x\n # 2 c\n # 3 d\n # 4 e", "Append an element to the vector by specifying the element and index", "Cast a vector to a new data type.\n\n == Options\n\n * +:dtype+ - :array for Ruby Array. :nmatrix for NMatrix.", "Delete element by index", "Get index of element", "Keep only unique elements of the vector alongwith their indexes.", "Sorts the vector according to it's`Index` values. Defaults to ascending\n order sorting.\n\n @param [Hash] opts the options for sort_by_index method.\n @option opts [Boolean] :ascending false, will sort `index` in\n descending order.\n\n @return [Vector] new sorted `Vector` according to the index values.\n\n @example\n\n dv = Daru::Vector.new [11, 13, 12], index: [23, 21, 22]\n # Say you want to sort index in ascending order\n dv.sort_by_index(ascending: true)\n #=> Daru::Vector.new [13, 12, 11], index: [21, 22, 23]\n # Say you want to sort index in descending order\n dv.sort_by_index(ascending: false)\n #=> Daru::Vector.new [11, 12, 13], index: [23, 22, 21]", "Destructive version of recode!", "Delete an element if block returns true. Destructive.", "Reports all values that doesn't comply with a condition.\n Returns a hash with the index of data and the invalid data.", "Lags the series by `k` periods.\n\n Lags the series by `k` periods, \"shifting\" data and inserting `nil`s\n from beginning or end of a vector, while preserving original vector's\n size.\n\n `k` can be positive or negative integer. If `k` is positive, `nil`s\n are inserted at the beginning of the vector, otherwise they are\n inserted at the end.\n\n @param [Integer] k \"shift\" the series by `k` periods. `k` can be\n positive or negative. (default = 1)\n\n @return [Daru::Vector] a new vector with \"shifted\" inital values\n and `nil` values inserted. The return vector is the same length\n as the orignal vector.\n\n @example Lag a vector with different periods `k`\n\n ts = Daru::Vector.new(1..5)\n # => [1, 2, 3, 4, 5]\n\n ts.lag # => [nil, 1, 2, 3, 4]\n ts.lag(1) # => [nil, 1, 2, 3, 4]\n ts.lag(2) # => [nil, nil, 1, 2, 3]\n ts.lag(-1) # => [2, 3, 4, 5, nil]", "Convert Vector to a horizontal or vertical Ruby Matrix.\n\n == Arguments\n\n * +axis+ - Specify whether you want a *:horizontal* or a *:vertical* matrix.", "Convert vector to nmatrix object\n @param [Symbol] axis :horizontal or :vertical\n @return [NMatrix] NMatrix object containing all values of the vector\n @example\n dv = Daru::Vector.new [1, 2, 3]\n dv.to_nmatrix\n # =>\n # [\n # [1, 2, 3] ]", "Displays summary for an object type Vector\n @return [String] String containing object vector summary", "Displays summary for an numeric type Vector\n @return [String] String containing numeric vector summary", "Over rides original inspect for pretty printing in irb", "Sets new index for vector. Preserves index->value correspondence.\n Sets nil for new index keys absent from original index.\n @note Unlike #reorder! which takes positions as input it takes\n index as an input to reorder the vector\n @param [Daru::Index, Daru::MultiIndex] new_index new index to order with\n @return [Daru::Vector] vector reindexed with new index", "Creates a new vector consisting only of non-nil data\n\n == Arguments\n\n @param as_a [Symbol] Passing :array will return only the elements\n as an Array. Otherwise will return a Daru::Vector.\n\n @param _duplicate [Symbol] In case no missing data is found in the\n vector, setting this to false will return the same vector.\n Otherwise, a duplicate will be returned irrespective of\n presence of missing data.", "Returns a Vector with only numerical data. Missing data is included\n but non-Numeric objects are excluded. Preserves index.", "Returns the database type for the vector, according to its content", "Converts a non category type vector to category type vector.\n @param [Hash] opts options to convert to category\n @option opts [true, false] :ordered Specify if vector is ordered or not.\n If it is ordered, it can be sorted and min, max like functions would work\n @option opts [Array] :categories set categories in the specified order\n @return [Daru::Vector] vector with type category", "Partition a numeric variable into categories.\n @param [Array] partitions an array whose consecutive elements\n provide intervals for categories\n @param [Hash] opts options to cut the partition\n @option opts [:left, :right] :close_at specifies whether the interval closes at\n the right side of left side\n @option opts [Array] :labels names of the categories\n @return [Daru::Vector] numeric variable converted to categorical variable\n @example\n heights = Daru::Vector.new [30, 35, 32, 50, 42, 51]\n height_cat = heights.cut [30, 40, 50, 60], labels=['low', 'medium', 'high']\n # => #\n # 0 low\n # 1 low\n # 2 low\n # 3 high\n # 4 medium\n # 5 high", "Helper method returning validity of arbitrary value", "For an array or hash of estimators methods, returns\n an array with three elements\n 1.- A hash with estimators names as keys and lambdas as values\n 2.- An array with estimators names\n 3.- A Hash with estimators names as keys and empty arrays as values", "coerce ranges, integers and array in appropriate ways", "Retrive rows by positions\n @param [Array] positions of rows to retrive\n @return [Daru::Vector, Daru::DataFrame] vector for single position and dataframe for multiple positions\n @example\n df = Daru::DataFrame.new({\n a: [1, 2, 3],\n b: ['a', 'b', 'c']\n })\n df.row_at 1, 2\n # => #\n # a b\n # 1 2 b\n # 2 3 c", "Set rows by positions\n @param [Array] positions positions of rows to set\n @param [Array, Daru::Vector] vector vector to be assigned\n @example\n df = Daru::DataFrame.new({\n a: [1, 2, 3],\n b: ['a', 'b', 'c']\n })\n df.set_row_at [0, 1], ['x', 'x']\n df\n #=> #\n # a b\n # 0 x x\n # 1 x x\n # 2 3 c", "Retrive vectors by positions\n @param [Array] positions of vectors to retrive\n @return [Daru::Vector, Daru::DataFrame] vector for single position and dataframe for multiple positions\n @example\n df = Daru::DataFrame.new({\n a: [1, 2, 3],\n b: ['a', 'b', 'c']\n })\n df.at 0\n # => #\n # a\n # 0 1\n # 1 2\n # 2 3", "Set vectors by positions\n @param [Array] positions positions of vectors to set\n @param [Array, Daru::Vector] vector vector to be assigned\n @example\n df = Daru::DataFrame.new({\n a: [1, 2, 3],\n b: ['a', 'b', 'c']\n })\n df.set_at [0], ['x', 'y', 'z']\n df\n #=> #\n # a b\n # 0 x a\n # 1 y b\n # 2 z c", "Extract a dataframe given row indexes or positions\n @param keys [Array] can be positions (if by_position is true) or indexes (if by_position if false)\n @return [Daru::Dataframe]", "Creates a new duplicate dataframe containing only rows\n without a single missing value.", "Returns a dataframe in which rows with any of the mentioned values\n are ignored.\n @param [Array] values to reject to form the new dataframe\n @return [Daru::DataFrame] Data Frame with only rows which doesn't\n contain the mentioned values\n @example\n df = Daru::DataFrame.new({\n a: [1, 2, 3, nil, Float::NAN, nil, 1, 7],\n b: [:a, :b, nil, Float::NAN, nil, 3, 5, 8],\n c: ['a', Float::NAN, 3, 4, 3, 5, nil, 7]\n }, index: 11..18)\n df.reject_values nil, Float::NAN\n # => #\n # a b c\n # 11 1 a a\n # 18 7 8 7", "Return unique rows by vector specified or all vectors\n\n @param vtrs [String][Symbol] vector names(s) that should be considered\n\n @example\n\n => #\n a b\n 0 1 a\n 1 2 b\n 2 3 c\n 3 4 d\n 2 3 c\n 3 4 f\n\n 2.3.3 :> df.unique\n => #\n a b\n 0 1 a\n 1 2 b\n 2 3 c\n 3 4 d\n 3 4 f\n\n 2.3.3 :> df.unique(:a)\n => #\n a b\n 0 1 a\n 1 2 b\n 2 3 c\n 3 4 d", "Generate a matrix, based on vector names of the DataFrame.\n\n @return {::Matrix}\n :nocov:\n FIXME: Even not trying to cover this: I can't get, how it is expected\n to work.... -- zverok", "Delete a row", "Creates a DataFrame with the random data, of n size.\n If n not given, uses original number of rows.\n\n @return {Daru::DataFrame}", "creates a new vector with the data of a given field which the block returns true", "Iterates over each row and retains it in a new DataFrame if the block returns\n true for that row.", "Iterates over each vector and retains it in a new DataFrame if the block returns\n true for that vector.", "Reorder the vectors in a dataframe\n @param [Array] order_array new order of the vectors\n @example\n df = Daru::DataFrame({\n a: [1, 2, 3],\n b: [4, 5, 6]\n }, order: [:a, :b])\n df.order = [:b, :a]\n df\n # => #\n # b a\n # 0 4 1\n # 1 5 2\n # 2 6 3", "Return a vector with the number of missing values in each row.\n\n == Arguments\n\n * +missing_values+ - An Array of the values that should be\n treated as 'missing'. The default missing value is *nil*.", "Return a nested hash using vector names as keys and an array constructed of\n hashes with other values. If block provided, is used to provide the\n values, with parameters +row+ of dataset, +current+ last hash on\n hierarchy and +name+ of the key to include", "Calculate mean of the rows of the dataframe.\n\n == Arguments\n\n * +max_missing+ - The maximum number of elements in the row that can be\n zero for the mean calculation to happen. Default to 0.", "Concatenate another DataFrame along corresponding columns.\n If columns do not exist in both dataframes, they are filled with nils", "Set a particular column as the new DF", "Renames the vectors\n\n == Arguments\n\n * name_map - A hash where the keys are the exising vector names and\n the values are the new names. If a vector is renamed\n to a vector name that is already in use, the existing\n one is overwritten.\n\n == Usage\n\n df = Daru::DataFrame.new({ a: [1,2,3,4], b: [:a,:b,:c,:d], c: [11,22,33,44] })\n df.rename_vectors :a => :alpha, :c => :gamma\n df.vectors.to_a #=> [:alpha, :b, :gamma]", "Generate a summary of this DataFrame based on individual vectors in the DataFrame\n @return [String] String containing the summary of the DataFrame", "Pivots a data frame on specified vectors and applies an aggregate function\n to quickly generate a summary.\n\n == Options\n\n +:index+ - Keys to group by on the pivot table row index. Pass vector names\n contained in an Array.\n\n +:vectors+ - Keys to group by on the pivot table column index. Pass vector\n names contained in an Array.\n\n +:agg+ - Function to aggregate the grouped values. Default to *:mean*. Can\n use any of the statistics functions applicable on Vectors that can be found in\n the Daru::Statistics::Vector module.\n\n +:values+ - Columns to aggregate. Will consider all numeric columns not\n specified in *:index* or *:vectors*. Optional.\n\n == Usage\n\n df = Daru::DataFrame.new({\n a: ['foo' , 'foo', 'foo', 'foo', 'foo', 'bar', 'bar', 'bar', 'bar'],\n b: ['one' , 'one', 'one', 'two', 'two', 'one', 'one', 'two', 'two'],\n c: ['small','large','large','small','small','large','small','large','small'],\n d: [1,2,2,3,3,4,5,6,7],\n e: [2,4,4,6,6,8,10,12,14]\n })\n df.pivot_table(index: [:a], vectors: [:b], agg: :sum, values: :e)\n\n #=>\n # #\n # [:e, :one] [:e, :two]\n # [:bar] 18 26\n # [:foo] 10 12", "Creates a new dataset for one to many relations\n on a dataset, based on pattern of field names.\n\n for example, you have a survey for number of children\n with this structure:\n id, name, child_name_1, child_age_1, child_name_2, child_age_2\n with\n ds.one_to_many([:id], \"child_%v_%n\"\n the field of first parameters will be copied verbatim\n to new dataset, and fields which responds to second\n pattern will be added one case for each different %n.\n\n @example\n cases=[\n ['1','george','red',10,'blue',20,nil,nil],\n ['2','fred','green',15,'orange',30,'white',20],\n ['3','alfred',nil,nil,nil,nil,nil,nil]\n ]\n ds=Daru::DataFrame.rows(cases, order:\n [:id, :name,\n :car_color1, :car_value1,\n :car_color2, :car_value2,\n :car_color3, :car_value3])\n ds.one_to_many([:id],'car_%v%n').to_matrix\n #=> Matrix[\n # [\"red\", \"1\", 10],\n # [\"blue\", \"1\", 20],\n # [\"green\", \"2\", 15],\n # [\"orange\", \"2\", 30],\n # [\"white\", \"2\", 20]\n # ]", "Create a sql, basen on a given Dataset\n\n == Arguments\n\n * table - String specifying name of the table that will created in SQL.\n * charset - Character set. Default is \"UTF8\".\n\n @example\n\n ds = Daru::DataFrame.new({\n :id => Daru::Vector.new([1,2,3,4,5]),\n :name => Daru::Vector.new(%w{Alex Peter Susan Mary John})\n })\n ds.create_sql('names')\n #=>\"CREATE TABLE names (id INTEGER,\\n name VARCHAR (255)) CHARACTER SET=UTF8;\"", "Convert to html for IRuby.", "Transpose a DataFrame, tranposing elements and row, column indexing.", "Function to use for aggregating the data.\n\n @param options [Hash] options for column, you want in resultant dataframe\n\n @return [Daru::DataFrame]\n\n @example\n df = Daru::DataFrame.new(\n {col: [:a, :b, :c, :d, :e], num: [52,12,07,17,01]})\n => #\n col num\n 0 a 52\n 1 b 12\n 2 c 7\n 3 d 17\n 4 e 1\n\n df.aggregate(num_100_times: ->(df) { (df.num*100).first })\n => #\n num_100_ti\n 0 5200\n 1 1200\n 2 700\n 3 1700\n 4 100\n\n When we have duplicate index :\n\n idx = Daru::CategoricalIndex.new [:a, :b, :a, :a, :c]\n df = Daru::DataFrame.new({num: [52,12,07,17,01]}, index: idx)\n => #\n num\n a 52\n b 12\n a 7\n a 17\n c 1\n\n df.aggregate(num: :mean)\n => #\n num\n a 25.3333333\n b 12\n c 1\n\n Note: `GroupBy` class `aggregate` method uses this `aggregate` method\n internally.", "Raises IndexError when one of the positions is not a valid position", "Accepts hash, enumerable and vector and align it properly so it can be added", "Returns true if all arguments are either a valid category or position\n @param indexes [Array] categories or positions\n @return [true, false]\n @example\n idx.valid? :a, 2\n # => true\n idx.valid? 3\n # => false", "Sorts a `Index`, according to its values. Defaults to ascending order\n sorting.\n\n @param [Hash] opts the options for sort method.\n @option opts [Boolean] :ascending False, to get descending order.\n\n @return [Index] sorted `Index` according to its values.\n\n @example\n di = Daru::Index.new [100, 99, 101, 1, 2]\n # Say you want to sort in descending order\n di.sort(ascending: false) #=> Daru::Index.new [101, 100, 99, 2, 1]\n # Say you want to sort in ascending order\n di.sort #=> Daru::Index.new [1, 2, 99, 100, 101]", "Retreive a slice or a an individual index number from the index.\n\n @param key [String, DateTime] Specify a date partially (as a String) or\n completely to retrieve.", "Retrive a slice of the index by specifying first and last members of the slice.\n\n @param [String, DateTime] first Start of the slice as a string or DateTime.\n @param [String, DateTime] last End of the slice as a string or DateTime.", "Shift all dates in the index by a positive number in the future. The dates\n are shifted by the same amount as that specified in the offset.\n\n @param [Integer, Daru::DateOffset, Daru::Offsets::*] distance Distance by\n which each date should be shifted. Passing an offset object to #shift\n will offset each data point by the offset value. Passing a positive\n integer will offset each data point by the same offset that it was\n created with.\n @return [DateTimeIndex] Returns a new, shifted DateTimeIndex object.\n @example Using the shift method\n index = Daru::DateTimeIndex.date_range(\n :start => '2012', :periods => 10, :freq => 'YEAR')\n\n # Passing a offset to shift\n index.shift(Daru::Offsets::Hour.new(3))\n #=>#\n\n # Pass an integer to shift\n index.shift(4)\n #=>#", "Shift all dates in the index to the past. The dates are shifted by the same\n amount as that specified in the offset.\n\n @param [Integer, Daru::DateOffset, Daru::Offsets::*] distance Integer or\n Daru::DateOffset. Distance by which each date should be shifted. Passing\n an offset object to #lag will offset each data point by the offset value.\n Passing a positive integer will offset each data point by the same offset\n that it was created with.\n @return [DateTimeIndex] A new lagged DateTimeIndex object.", "Check if a date exists in the index. Will be inferred from string in case\n you pass a string. Recommened specifying the full date as a DateTime object.", "Initializes a vector to store categorical data.\n @note Base category is set to the first category encountered in the vector.\n @param [Array] data the categorical data\n @param [Hash] opts the options\n @option opts [Boolean] :ordered true if data is ordered, false otherwise\n @option opts [Array] :categories categories to associate with the vector.\n It add extra categories if specified and provides order of categories also.\n @option opts [object] :index gives index to vector. By default its from 0 to size-1\n @return the categorical data created\n @example\n dv = Daru::Vector.new [:a, 1, :a, 1, :c],\n type: :category,\n ordered: true,\n categories: [:a, :b, :c, 1]\n # => #\n # 0 a\n # 1 1\n # 2 a\n # 3 1\n # 4 c", "Returns frequency of given category\n @param [object] category given category whose count has to be founded\n @return count/frequency of given category\n @example\n dv = Daru::Vector.new [:a, 1, :a, 1, :c], type: :category\n dv.count :a\n # => 2\n dv.count\n # => 5", "Returns vector for positions specified.\n @param [Array] positions at which values to be retrived.\n @return vector containing values specified at specified positions\n @example\n dv = Daru::Vector.new [:a, 1, :a, 1, :c], type: :category\n dv.at 0..-2\n # => #\n # 0 a\n # 1 1\n # 2 a\n # 3 1", "Modifies values at specified positions.\n @param [Array] positions positions at which to modify value\n @param [object] val value to assign at specific positions\n @return modified vector\n @example\n dv = Daru::Vector.new [:a, 1, :a, 1, :c], type: :category\n dv.add_category :b\n dv.set_at [0, 1], :b\n # => #\n # 0 b\n # 1 b\n # 2 a\n # 3 1\n # 4 c", "Rename categories.\n @note The order of categories after renaming is preserved but new categories\n are added at the end in the order. Also the base-category is reassigned\n to new value if it is renamed\n @param [Hash] old_to_new a hash mapping categories whose name to be changed\n to their new names\n @example\n dv = Daru::Vector.new [:a, 1, :a, 1, :c], type: :category\n dv.rename_categories :a => :b\n dv\n # => #\n # 0 b\n # 1 1\n # 2 b\n # 3 1\n # 4 c", "Removes the unused categories\n @note If base category is removed, then the first occuring category in the\n data is taken as base category. Order of the undeleted categories\n remains preserved.\n @return [Daru::Vector] Makes changes in the vector itself i.e. deletes\n the unused categories and returns itself\n @example\n dv = Daru::Vector.new [:one, :two, :one], type: :category,\n categories: [:three, :two, :one]\n dv.remove_unused_categories\n dv.categories\n # => [:two, :one]", "Sorts the vector in the order specified.\n @note This operation will only work if vector is ordered.\n To set the vector ordered, do `vector.ordered = true`\n @return [Daru::Vector] sorted vector\n @example\n dv = Daru::Vector.new ['second', 'second', 'third', 'first'],\n categories: ['first', 'second', 'thrid'],\n type: :categories,\n ordered: true\n dv.sort!\n # => #\n # 3 first\n # 0 second\n # 1 second\n # 2 third", "Sets new index for vector. Preserves index->value correspondence.\n @note Unlike #reorder! which takes positions as input it takes\n index as an input to reorder the vector\n @param [Daru::Index, Daru::MultiIndex, Array] idx new index to order with\n @return [Daru::Vector] vector reindexed with new index\n @example\n dv = Daru::Vector.new [3, 2, 1], index: ['c', 'b', 'a'], type: :category\n dv.reindex! ['a', 'b', 'c']\n # => #\n # a 1\n # b 2\n # c 3", "Count the number of values specified\n @param [Array] values to count for\n @return [Integer] the number of times the values mentioned occurs\n @example\n dv = Daru::Vector.new [1, 2, 1, 2, 3, 4, nil, nil]\n dv.count_values nil\n # => 2", "Return indexes of values specified\n @param [Array] values to find indexes for\n @return [Array] array of indexes of values specified\n @example\n dv = Daru::Vector.new [1, 2, nil, Float::NAN], index: 11..14\n dv.indexes nil, Float::NAN\n # => [13, 14]", "Displays a progress indicator for a given message. This progress report\n is only displayed on TTY displays, otherwise the message is passed to\n the +nontty_log+ level.\n\n @param [String] msg the message to log\n @param [Symbol, nil] nontty_log the level to log as if the output\n stream is not a TTY. Use +nil+ for no alternate logging.\n @return [void]\n @since 0.8.2", "Prints the backtrace +exc+ to the logger as error data.\n\n @param [Array] exc the backtrace list\n @param [Symbol] level_meth the level to log backtrace at\n @return [void]", "Backward compatibility to detect old tags that should be specified\n as directives in 0.8 and onward.", "Tests the expressions on the object.\n\n @note If the object is a {CodeObjects::Proxy} the result will always be true.\n @param [CodeObjects::Base] object the object to verify\n @return [Boolean] the result of the expressions", "Returns the inheritance tree of the object including self.\n\n @param [Boolean] include_mods whether or not to include mixins in the\n inheritance tree.\n @return [Array] the list of code objects that make up\n the inheritance tree.", "Returns the list of methods matching the options hash. Returns\n all methods if hash is empty.\n\n @param [Hash] opts the options hash to match\n @option opts [Boolean] :inherited (true) whether inherited methods should be\n included in the list\n @option opts [Boolean] :included (true) whether mixed in methods should be\n included in the list\n @return [Array] the list of methods that matched", "Returns only the methods that were inherited.\n\n @return [Array] the list of inherited method objects", "Returns the list of constants matching the options hash.\n\n @param [Hash] opts the options hash to match\n @option opts [Boolean] :inherited (true) whether inherited constant should be\n included in the list\n @option opts [Boolean] :included (true) whether mixed in constant should be\n included in the list\n @return [Array] the list of constant that matched", "Returns only the constants that were inherited.\n\n @return [Array] the list of inherited constant objects", "Sets the superclass of the object\n\n @param [Base, Proxy, String, Symbol, nil] object the superclass value\n @return [void]", "Collects and returns all inherited namespaces for a given object", "Updates values from an options hash or options object on this object.\n All keys passed should be key names defined by attributes on the class.\n\n @example Updating a set of options on an Options object\n opts.update(:template => :guide, :type => :fulldoc)\n @param [Hash, Options] opts\n @return [self]", "Yields over every option key and value\n @yield [key, value] every option key and value\n @yieldparam [Symbol] key the option key\n @yieldparam [Object] value the option value\n @return [void]", "Resets all values to their defaults.\n\n @abstract Subclasses should override this method to perform custom\n value initialization if not using {default_attr}. Be sure to call\n +super+ so that default initialization can take place.\n @return [void]", "Links to an object with an optional title\n\n @param [CodeObjects::Base] obj the object to link to\n @param [String] title the title to use for the link\n @return [String] the linked object", "Links to an extra file\n\n @param [String] filename the filename to link to\n @param [String] title the title of the link\n @param [String] anchor optional anchor\n @return [String] the link to the file\n @since 0.5.5", "Prepares the spec for documentation generation", "Creates a new method object in +namespace+ with +name+ and an instance\n or class +scope+\n\n If scope is +:module+, this object is instantiated as a public\n method in +:class+ scope, but also creates a new (empty) method\n as a private +:instance+ method on the same class or module.\n\n @param [NamespaceObject] namespace the namespace\n @param [String, Symbol] name the method name\n @param [Symbol] scope +:instance+, +:class+, or +:module+\n Changes the scope of an object from :instance or :class\n @param [Symbol] v the new scope", "Tests if the object is defined as an attribute in the namespace\n @return [Boolean] whether the object is an attribute", "Override separator to differentiate between class and instance\n methods.\n @return [String] \"#\" for an instance method, \".\" for class", "Associates an object with a path\n @param [String, Symbol] key the path name (:root or '' for root object)\n @param [CodeObjects::Base] value the object to store\n @return [CodeObjects::Base] returns +value+", "Loads all cached objects into memory\n @return [void]", "Saves the database to disk\n @param [Boolean] merge if true, merges the data in memory with the\n data on disk, otherwise the data on disk is deleted.\n @param [String, nil] file if supplied, the name of the file to save to\n @return [Boolean] whether the database was saved", "Deletes the .yardoc database on disk\n\n @param [Boolean] force if force is not set to true, the file/directory\n will only be removed if it ends with .yardoc. This helps with\n cases where the directory might have been named incorrectly.\n @return [Boolean] true if the .yardoc database was deleted, false\n otherwise.", "Gets the first line of a docstring to the period or the first paragraph.\n @return [String] The first line or paragraph of the docstring; always ends with a period.", "Reformats and returns a raw representation of the tag data using the\n current tag and docstring data, not the original text.\n\n @return [String] the updated raw formatted docstring data\n @since 0.7.0\n @todo Add Tags::Tag#to_raw and refactor", "Convenience method to return the first tag\n object in the list of tag objects of that name\n\n @example\n doc = Docstring.new(\"@return zero when nil\")\n doc.tag(:return).text # => \"zero when nil\"\n\n @param [#to_s] name the tag name to return data for\n @return [Tags::Tag] the first tag in the list of {#tags}", "Returns a list of tags specified by +name+ or all tags if +name+ is not specified.\n\n @param [#to_s] name the tag name to return data for, or nil for all tags\n @return [Array] the list of tags by the specified tag name", "Returns true if at least one tag by the name +name+ was declared\n\n @param [String] name the tag name to search for\n @return [Boolean] whether or not the tag +name+ was declared", "Returns true if the docstring has no content that is visible to a template.\n\n @param [Boolean] only_visible_tags whether only {Tags::Library.visible_tags}\n should be checked, or if all tags should be considered.\n @return [Boolean] whether or not the docstring has content", "Maps valid reference tags\n\n @return [Array] the list of valid reference tags", "Parses out comments split by newlines into a new code object\n\n @param [String] comments\n the newline delimited array of comments. If the comments\n are passed as a String, they will be split by newlines.\n\n @return [String] the non-metadata portion of the comments to\n be used as a docstring", "A stable sort_by method.\n\n @param list [Enumerable] the list to sort.\n @return [Array] a stable sorted list.", "Returns the inheritance tree of mixins.\n\n @param [Boolean] include_mods if true, will include mixed in\n modules (which is likely what is wanted).\n @return [Array] a list of namespace objects", "Looks for a child that matches the attributes specified by +opts+.\n\n @example Finds a child by name and scope\n namespace.child(:name => :to_s, :scope => :instance)\n # => #\n @return [Base, nil] the first matched child object, or nil", "Returns all methods that match the attributes specified by +opts+. If\n no options are provided, returns all methods.\n\n @example Finds all private and protected class methods\n namespace.meths(:visibility => [:private, :protected], :scope => :class)\n # => [#, #]\n @option opts [Array, Symbol] :visibility ([:public, :private,\n :protected]) the visibility of the methods to list. Can be an array or\n single value.\n @option opts [Array, Symbol] :scope ([:class, :instance]) the\n scope of the methods to list. Can be an array or single value.\n @option opts [Boolean] :included (true) whether to include mixed in\n methods in the list.\n @return [Array] a list of method objects", "Returns methods included from any mixins that match the attributes\n specified by +opts+. If no options are specified, returns all included\n methods.\n\n @option opts [Array, Symbol] :visibility ([:public, :private,\n :protected]) the visibility of the methods to list. Can be an array or\n single value.\n @option opts [Array, Symbol] :scope ([:class, :instance]) the\n scope of the methods to list. Can be an array or single value.\n @option opts [Boolean] :included (true) whether to include mixed in\n methods in the list.\n @see #meths", "Returns all constants in the namespace\n\n @option opts [Boolean] :included (true) whether or not to include\n mixed in constants in list\n @return [Array] a list of constant objects", "Returns constants included from any mixins\n @return [Array] a list of constant objects", "performs uninstall based on sha1 hash provided in certfile", "end of ClassMethods", "Overides impressionist_count in order to provide mongoid compability", "creates a statment hash that contains default values for creating an impression via an AR relation.", "creates the query to check for uniqueness", "creates a statment hash that contains default values for creating an impression.", "Capitalizes the keys of a hash", "Execute the given request to the service\n\n @param [Symbol] call_sig The call signature being executed\n @param [Object] req (Optional) The protobuf request message to send\n @param [Hash] metadata (Optional) A hash of metadata key/values that are transported with the client request\n @param [Hash] opts (Optional) A hash of options to send to the gRPC request_response method\n @return [Array]", "Get the appropriate protobuf request message for the given request method on the service being called\n\n @param [Symbol] request_method The method name being called on the remote service\n @param [Hash] params (Optional) A hash of parameters that will populate the request object\n @return [Class] The request object that corresponds to the method being called", "Build a sanitized, authenticated metadata hash for the given request\n\n @param [Hash] metadata A base metadata hash to build from\n @return [Hash] The compiled metadata hash that is ready to be transported over the wire", "Build a gRPC operation stub for testing", "Runs a server\n\n @param [Gruf::Server] server", "Initialize the error, setting default values\n\n @param [Hash] args (Optional) An optional hash of arguments that will set fields on the error object\n\n\n Add a field error to this error package\n\n @param [Symbol] field_name The field name for the error\n @param [Symbol] error_code The application error code for the error; e.g. :job_not_found\n @param [String] message The application error message for the error; e.g. \"Job not found with ID 123\"", "Update the trailing metadata on the given gRPC call, including the error payload if configured\n to do so.\n\n @param [GRPC::ActiveCall] active_call The marshalled gRPC call\n @return [Error] Return the error itself after updating metadata on the given gRPC call.\n In the case of a metadata overflow error, we replace the current error with\n a new one that won't cause a low-level http2 error.", "Return the error represented in Hash form\n\n @return [Hash] The error as a hash", "Return the error serializer being used for gruf\n\n @return [Gruf::Serializers::Errors::Base]", "Initialize the server and load and setup the services\n\n @param [Hash] opts\n\n\n @return [GRPC::RpcServer] The GRPC server running", "Start the gRPC server\n\n :nocov:", "Insert an interceptor before another in the currently registered order of execution\n\n @param [Class] before_class The interceptor that you want to add the new interceptor before\n @param [Class] interceptor_class The Interceptor to add to the registry\n @param [Hash] opts A hash of options for the interceptor", "Insert an interceptor after another in the currently registered order of execution\n\n @param [Class] after_class The interceptor that you want to add the new interceptor after\n @param [Class] interceptor_class The Interceptor to add to the registry\n @param [Hash] opts A hash of options for the interceptor", "Return the current configuration options as a Hash\n\n @return [Hash] The configuration for gruf, represented as a Hash", "Set the default configuration onto the extended class\n\n @return [Hash] options The reset options hash", "Notifies the failure of authentication to Warden in the same Devise does.\n Does result in an HTTP 401 response in a Devise context.", "Returns the correct host-key-verification option key to use depending\n on what version of net-ssh is in use. In net-ssh <= 4.1, the supported\n parameter is `paranoid` but in 4.2, it became `verify_host_key`\n\n `verify_host_key` does not work in <= 4.1, and `paranoid` throws\n deprecation warnings in >= 4.2.\n\n While the \"right thing\" to do would be to pin train's dependency on\n net-ssh to ~> 4.2, this will prevent InSpec from being used in\n Chef v12 because of it pinning to a v3 of net-ssh.", "Creates a new SSH Connection instance and save it for potential future\n reuse.\n\n @param options [Hash] conneciton options\n @return [Ssh::Connection] an SSH Connection instance\n @api private", "This pulls the content of the file to the machine running Train and uses\n Digest to perform the checksum. This is less efficient than using remote\n system binaries and can lead to incorrect results due to encoding.", "Creates a new WinRM Connection instance and save it for potential\n future reuse.\n\n @param options [Hash] conneciton options\n @return [WinRM::Connection] a WinRM Connection instance\n @api private", "Add a family connection. This will create a family\n if it does not exist and add a child relationship.", "wrap the cmd in a sudo command", "Wrap the cmd in an encoded command to allow pipes and quotes", "Main detect method to scan all platforms for a match\n\n @return Train::Platform instance or error if none found", "Add generic family? and platform methods to an existing platform\n\n This is done later to add any custom\n families/properties that were created", "reads os name and version from wmic\n @see https://msdn.microsoft.com/en-us/library/bb742610.aspx#EEAA\n Thanks to Matt Wrock (https://github.com/mwrock) for this hint", "`OSArchitecture` from `read_wmic` does not match a normal standard\n For example, `x86_64` shows as `64-bit`", "This method scans the target os for a unique uuid to use", "The method `platform` is called when platform detection is\n about to be performed. Train core defines a sophisticated\n system for platform detection, but for most plugins, you'll\n only ever run on the special platform for which you are targeting.", "This takes a command from the platform detect block to run.\n We expect the command to return a unique identifier which\n we turn into a UUID.", "This hashes the passed string into SHA1.\n Then it downgrades the 160bit SHA1 to a 128bit\n then we format it as a valid UUIDv5.", "Get a list of Spotify playlists tagged with a particular category.\n\n @param limit [Integer] Maximum number of playlists to return. Maximum: 50. Default: 20.\n @param offset [Integer] The index of the first playlist to return. Use with limit to get the next set of playlists. Default: 0.\n @param country [String] Optional. A country: an {http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2 country code}. Provide this parameter if you want to narrow the list of returned playlists to those relevant to a particular country. If omitted, the returned playlists will be globally relevant.\n @return [Array]\n\n @example\n playlists = category.playlists\n playlists = category.playlists(country: 'BR')\n playlists = category.playlists(limit: 10, offset: 20)", "Play the user's currently active player or specific device\n If `device_id` is not passed, the currently active spotify app will be triggered\n\n @example\n player = user.player\n player.play", "Toggle the current user's player repeat status.\n If `device_id` is not passed, the currently active spotify app will be triggered.\n If `state` is not passed, the currently active context will be set to repeat.\n\n @see https://developer.spotify.com/documentation/web-api/reference/player/set-repeat-mode-on-users-playback/\n\n @param [String] device_id the ID of the device to set the repeat state on.\n @param [String] state the repeat state. Defaults to the current play context.\n\n @example\n player = user.player\n player.repeat(state: 'track')", "Toggle the current user's shuffle status.\n If `device_id` is not passed, the currently active spotify app will be triggered.\n If `state` is not passed, shuffle mode will be turned on.\n\n @see https://developer.spotify.com/documentation/web-api/reference/player/toggle-shuffle-for-users-playback/\n\n @param [String] device_id the ID of the device to set the shuffle state on.\n @param [String] state the shuffle state. Defaults to turning the shuffle behavior on.\n\n @example\n player = user.player\n player.shuffle(state: false)", "Returns array of tracks from the album\n\n @param limit [Integer] Maximum number of tracks to return. Maximum: 50. Default: 50.\n @param offset [Integer] The index of the first track to return. Use with limit to get the next set of objects. Default: 0.\n @param market [String] Optional. An {http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2 country code}. Default: nil.\n @return [Array]\n\n @example\n album = RSpotify::Album.find('41vPD50kQ7JeamkxQW7Vuy')\n album.tracks.first.name #=> \"Do I Wanna Know?\"", "Returns array of albums from artist\n\n @param limit [Integer] Maximum number of albums to return. Maximum: 50. Default: 20.\n @param offset [Integer] The index of the first album to return. Use with limit to get the next set of albums. Default: 0.\n @param album_type [String] Optional. A comma-separated list of keywords that will be used to filter the response. If not supplied, all album types will be returned. Valid values are: album; single; appears_on; compilation.\n @param market [String] Optional. (synonym: country). An {http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2 country code}. Supply this parameter to limit the response to one particular geographical market. If not supplied, results will be returned for all markets. Note if you do not provide this field, you are likely to get duplicate results per album, one for each market in which the album is available.\n @return [Array]\n\n @example\n artist.albums\n artist.albums(album_type: 'single,compilation')\n artist.albums(limit: 50, country: 'US')", "Returns artist's 10 top tracks by country.\n\n @param country [Symbol] An {http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2 country code}\n @return [Array]\n\n @example\n top_tracks = artist.top_tracks(:US)\n top_tracks.class #=> Array\n top_tracks.size #=> 10\n top_tracks.first.class #=> RSpotify::Track", "Returns array of tracks from the playlist\n\n @param limit [Integer] Maximum number of tracks to return. Maximum: 100. Default: 100.\n @param offset [Integer] The index of the first track to return. Use with limit to get the next set of objects. Default: 0.\n @param market [String] Optional. An {https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2 country code}. Provide this parameter if you want to apply Track Relinking\n @return [Array]\n\n @example\n playlist = RSpotify::Playlist.find('wizzler', '00wHcTN0zQiun4xri9pmvX')\n playlist.tracks.first.name #=> \"Main Theme from Star Wars - Instrumental\"", "Returns all playlists from user\n\n @param limit [Integer] Maximum number of playlists to return. Maximum: 50. Minimum: 1. Default: 20.\n @param offset [Integer] The index of the first playlist to return. Use with limit to get the next set of playlists. Default: 0.\n @return [Array]\n\n @example\n playlists = user.playlists\n playlists.class #=> Array\n playlists.first.class #=> RSpotify::Playlist\n playlists.first.name #=> \"Movie Soundtrack Masterpieces\"", "Returns a hash containing all user attributes", "Returns the user's available devices\n\n @return [Array]\n\n @example\n devices = user.devices\n devices.first.id #=> \"5fbb3ba6aa454b5534c4ba43a8c7e8e45a63ad0e\"", "Auxiliary methods\n Returns a relative path against `source_directory`.", "Returns project targets", "Load the user provided or default template for a new post or page.", "Render Liquid vars in YAML front-matter.", "Returns a string which is url compatible.", "Convert a Python dotted module name to a path.\n\n @param mod [String] Dotted module name.\n @param base [String] Optional base path to treat the file as relative to.\n @return [String]", "Deregister the given IO object from the selector", "Select which monitors are ready", "Set the position to the given value. New position must be less than limit.\n Preserves mark if it's less than the new position, otherwise clears it.\n\n @param new_position [Integer] position in the buffer\n\n @raise [ArgumentError] new position was invalid", "Set the limit to the given value. New limit must be less than capacity.\n Preserves limit and mark if they're less than the new limit, otherwise\n sets position to the new limit and clears the mark.\n\n @param new_limit [Integer] position in the buffer\n\n @raise [ArgumentError] new limit was invalid", "Obtain the requested number of bytes from the buffer, advancing the position.\n If no length is given, all remaining bytes are consumed.\n\n @raise [NIO::ByteBuffer::UnderflowError] not enough data remaining in buffer\n\n @return [String] bytes read from buffer", "Add a String to the buffer\n\n @param str [#to_str] data to add to the buffer\n\n @raise [TypeError] given a non-string type\n @raise [NIO::ByteBuffer::OverflowError] buffer is full\n\n @return [self]", "Perform a non-blocking read from the given IO object into the buffer\n Reads as much data as is immediately available and returns\n\n @param [IO] Ruby IO object to read from\n\n @return [Integer] number of bytes read (0 if none were available)", "Wraps block execution in a thread-safe transaction", "Sets the +query+ from +url+. Raises an +ArgumentError+ unless the +url+ is valid.", "Expects a Hash of +args+ to assign.", "Expects a +url+, validates its validity and returns a +URI+ object.", "Shift out bitfields for the first fields.", "Fetch big-endian lengths.", "Read in padded data.", "Returns the gzip decoded response body.", "Returns the DIME decoded response body.", "Loads files in application lib folder\n @return [Boolean] if files have been loaded (lib folder is configured to not nil and actually exists)", "Tag a call with an arbitrary label\n\n @param [String, Symbol] label String or Symbol with which to tag this call", "Wait for the call to end. Returns immediately if the call has already ended, else blocks until it does so.\n @param [Integer, nil] timeout a timeout after which to unblock, returning `:timeout`\n @return [Symbol] the reason for the call ending\n @raises [Celluloid::ConditionError] in case of a specified timeout expiring", "Registers a callback for when this call is joined to another call or a mixer\n\n @param [Call, String, Hash, nil] target the target to guard on. May be a Call object, a call ID (String, Hash) or a mixer name (Hash)\n @option target [String] call_uri The call ID to guard on\n @option target [String] mixer_name The mixer name to guard on", "Registers a callback for when this call is unjoined from another call or a mixer\n\n @param [Call, String, Hash, nil] target the target to guard on. May be a Call object, a call ID (String, Hash) or a mixer name (Hash)\n @option target [String] call_uri The call ID to guard on\n @option target [String] mixer_name The mixer name to guard on", "Redirect the call to some other target system.\n\n If the redirect is successful, the call will be released from the\n telephony engine and Adhearsion will lose control of the call.\n\n Note that for the common case, this will result in a SIP 302 or\n SIP REFER, which provides the caller with a new URI to dial. As such,\n the redirect target cannot be any telephony-engine specific address\n (such as sofia/gateway, agent/101, or SIP/mypeer); instead it should be a\n fully-qualified external SIP URI that the caller can independently reach.\n\n @param [String] to the target to redirect to, eg a SIP URI\n @param [Hash, optional] headers a set of headers to send along with the redirect instruction", "Joins this call to another call or a mixer\n\n @param [Call, String, Hash] target the target to join to. May be a Call object, a call ID (String, Hash) or a mixer name (Hash)\n @option target [String] call_uri The call ID to join to\n @option target [String] mixer_name The mixer to join to\n @param [Hash, Optional] options further options to be joined with\n\n @return [Hash] where :command is the issued command, :joined_waiter is a #wait responder which is triggered when the join is complete, and :unjoined_waiter is a #wait responder which is triggered when the entities are unjoined", "Unjoins this call from another call or a mixer\n\n @param [Call, String, Hash, nil] target the target to unjoin from. May be a Call object, a call ID (String, Hash), a mixer name (Hash) or missing to unjoin from every existing join (nil)\n @option target [String] call_uri The call ID to unjoin from\n @option target [String] mixer_name The mixer to unjoin from", "Sends a message to the caller\n\n @param [String] body The message text.\n @param [Hash, Optional] options The message options.\n @option options [String] subject The message subject.", "Execute a call controller asynchronously against this call.\n\n To block and wait until the controller completes, call `#join` on the result of this method.\n\n @param [Adhearsion::CallController] controller an instance of a controller initialized for this call\n @param [Proc] a callback to be executed when the controller finishes execution\n\n @yield execute the current block as the body of a controller by specifying no controller instance\n\n @return [Celluloid::ThreadHandle]", "Create a point-time dump of process statistics\n\n @return [Adhearsion::Statistics::Dump]", "Invoke another controller class within this controller, returning to this context on completion.\n\n @param [Class] controller_class The class of controller to execute\n @param [Hash] metadata generic key-value storage applicable to the controller\n @return The return value of the controller's run method", "Stop execution of all the components currently running in the controller.", "Wrapper to access to a specific configuration object\n\n Adhearsion.config.foo => returns the configuration object associated to the foo plugin", "Start the Adhearsion console", "Dial out an existing outbound call\n\n @param [String] to the URI of the party to dial\n @param [Hash] options modifier options\n @option options [String, Optional] :from what to set the Caller ID to\n @option options [Integer, Optional] :timeout in seconds\n @option options [Hash, Optional] :headers SIP headers to attach to\n the new call.", "Compares the contents of two rules.\n\n @param other [Object] The object to compare with\n @return [Boolean] Whether or not this node and the other object\n are the same\n Adds another {RuleNode}'s rules to this one's.\n\n @param node [RuleNode] The other node", "Maps the values in a hash according to a block.\n\n @example\n map_values({:foo => \"bar\", :baz => \"bang\"}) {|v| v.to_sym}\n #=> {:foo => :bar, :baz => :bang}\n @param hash [Hash] The hash to map\n @yield [value] A block in which the values are transformed\n @yieldparam value [Object] The value that should be mapped\n @yieldreturn [Object] The new value for the value\n @return [Hash] The mapped hash\n @see #map_keys\n @see #map_hash", "Maps the key-value pairs of a hash according to a block.\n\n @example\n map_hash({:foo => \"bar\", :baz => \"bang\"}) {|k, v| [k.to_s, v.to_sym]}\n #=> {\"foo\" => :bar, \"baz\" => :bang}\n @param hash [Hash] The hash to map\n @yield [key, value] A block in which the key-value pairs are transformed\n @yieldparam [key] The hash key\n @yieldparam [value] The hash value\n @yieldreturn [(Object, Object)] The new value for the `[key, value]` pair\n @return [Hash] The mapped hash\n @see #map_keys\n @see #map_vals", "Computes the powerset of the given array.\n This is the set of all subsets of the array.\n\n @example\n powerset([1, 2, 3]) #=>\n Set[Set[], Set[1], Set[2], Set[3], Set[1, 2], Set[2, 3], Set[1, 3], Set[1, 2, 3]]\n @param arr [Enumerable]\n @return [Set] The subsets of `arr`", "Restricts a number to falling within a given range.\n Returns the number if it falls within the range,\n or the closest value in the range if it doesn't.\n\n @param value [Numeric]\n @param range [Range]\n @return [Numeric]", "Concatenates all strings that are adjacent in an array,\n while leaving other elements as they are.\n\n @example\n merge_adjacent_strings([1, \"foo\", \"bar\", 2, \"baz\"])\n #=> [1, \"foobar\", 2, \"baz\"]\n @param arr [Array]\n @return [Array] The enumerable with strings merged", "Non-destructively replaces all occurrences of a subsequence in an array\n with another subsequence.\n\n @example\n replace_subseq([1, 2, 3, 4, 5], [2, 3], [:a, :b])\n #=> [1, :a, :b, 4, 5]\n\n @param arr [Array] The array whose subsequences will be replaced.\n @param subseq [Array] The subsequence to find and replace.\n @param replacement [Array] The sequence that `subseq` will be replaced with.\n @return [Array] `arr` with `subseq` replaced with `replacement`.", "Substitutes a sub-array of one array with another sub-array.\n\n @param ary [Array] The array in which to make the substitution\n @param from [Array] The sequence of elements to replace with `to`\n @param to [Array] The sequence of elements to replace `from` with", "Return an array of all possible paths through the given arrays.\n\n @param arrs [Array]\n @return [Array]\n\n @example\n paths([[1, 2], [3, 4], [5]]) #=>\n # [[1, 3, 5],\n # [2, 3, 5],\n # [1, 4, 5],\n # [2, 4, 5]]", "Computes a single longest common subsequence for `x` and `y`.\n If there are more than one longest common subsequences,\n the one returned is that which starts first in `x`.\n\n @param x [Array]\n @param y [Array]\n @yield [a, b] An optional block to use in place of a check for equality\n between elements of `x` and `y`.\n @yieldreturn [Object, nil] If the two values register as equal,\n this will return the value to use in the LCS array.\n @return [Array] The LCS", "Returns information about the caller of the previous method.\n\n @param entry [String] An entry in the `#caller` list, or a similarly formatted string\n @return [[String, Integer, (String, nil)]]\n An array containing the filename, line, and method name of the caller.\n The method name may be nil", "Returns whether one version string represents a more recent version than another.\n\n @param v1 [String] A version string.\n @param v2 [String] Another version string.\n @return [Boolean]", "Prints a deprecation warning for the caller method.\n\n @param obj [Object] `self`\n @param message [String] A message describing what to do instead.", "Silences all Sass warnings within a block.\n\n @yield A block in which no Sass warnings will be printed", "Cross Rails Version Compatibility\n Returns the root of the Rails application,\n if this is running in a Rails context.\n Returns `nil` if no such root is defined.\n\n @return [String, nil]", "Returns whether this environment is using ActionPack\n of a version greater than or equal to that specified.\n\n @param version [String] The string version number to check against.\n Should be greater than or equal to Rails 3,\n because otherwise ActionPack::VERSION isn't autoloaded\n @return [Boolean]", "Like `Dir.glob`, but works with backslash-separated paths on Windows.\n\n @param path [String]", "Returns `path` with all symlinks resolved.\n\n @param path [String, Pathname]\n @return [Pathname]", "Returns `path` relative to `from`.\n\n This is like `Pathname#relative_path_from` except it accepts both strings\n and pathnames, it handles Windows path separators correctly, and it throws\n an error rather than crashing if the paths use different encodings\n (https://github.com/ruby/ruby/pull/713).\n\n @param path [String, Pathname]\n @param from [String, Pathname]\n @return [Pathname?]", "Destructively removes all elements from an array that match a block, and\n returns the removed elements.\n\n @param array [Array] The array from which to remove elements.\n @yield [el] Called for each element.\n @yieldparam el [*] The element to test.\n @yieldreturn [Boolean] Whether or not to extract the element.\n @return [Array] The extracted elements.", "Allows modifications to be performed on the string form\n of an array containing both strings and non-strings.\n\n @param arr [Array] The array from which values are extracted.\n @yield [str] A block in which string manipulation can be done to the array.\n @yieldparam str [String] The string form of `arr`.\n @yieldreturn [String] The modified string.\n @return [Array] The modified, interpolated array.", "Escapes certain characters so that the result can be used\n as the JSON string value. Returns the original string if\n no escaping is necessary.\n\n @param s [String] The string to be escaped\n @return [String] The escaped string", "Converts the argument into a valid JSON value.\n\n @param v [Integer, String, Array, Boolean, nil]\n @return [String]", "This creates a temp file and yields it for writing. When the\n write is complete, the file is moved into the desired location.\n The atomicity of this operation is provided by the filesystem's\n rename operation.\n\n @param filename [String] The file to write to.\n @param perms [Integer] The permissions used for creating this file.\n Will be masked by the process umask. Defaults to readable/writeable\n by all users however the umask usually changes this to only be writable\n by the process's user.\n @yieldparam tmpfile [Tempfile] The temp file that can be written to.\n @return The value returned by the block.", "Creates a new map.\n\n @param hash [Hash]\n @see Value#options=", "Evaluates the node.\n\n \\{#perform} shouldn't be overridden directly;\n instead, override \\{#\\_perform}.\n\n @param environment [Sass::Environment] The environment in which to evaluate the SassScript\n @return [Sass::Script::Value] The SassScript object that is the value of the SassScript", "Evaluates the function call.\n\n @param environment [Sass::Environment] The environment in which to evaluate the SassScript\n @return [Sass::Script::Value] The SassScript object that is the value of the function call\n @raise [Sass::SyntaxError] if the function call raises an ArgumentError", "The read-only environment of the caller of this environment's mixin or function.\n\n @see BaseEnvironment#caller\n @return {ReadOnlyEnvironment}", "The content passed to this environment. If the content's environment isn't already\n read-only, it's made read-only.\n\n @see BaseEnvironment#content\n\n @return {[Array, ReadOnlyEnvironment]?} The content nodes and\n the lexical environment of the content block.\n Returns `nil` when there is no content in this environment.", "Converts a script node into a corresponding string interpolation\n expression.\n\n @param node_or_interp [Sass::Script::Tree::Node]\n @return [Sass::Script::Tree::StringInterpolation]", "Concatenates two string literals or string interpolation expressions.\n\n @param string_or_interp1 [Sass::Script::Tree::Literal|Sass::Script::Tree::StringInterpolation]\n @param string_or_interp2 [Sass::Script::Tree::Literal|Sass::Script::Tree::StringInterpolation]\n @return [Sass::Script::Tree::StringInterpolation]", "Returns a string literal with the given contents.\n\n @param string [String]\n @return string [Sass::Script::Tree::Literal]", "Processes the options set by the command-line arguments,\n and runs the Sass compiler appropriately.", "Prints `message` as a deprecation warning associated with `filename`,\n `line`, and optionally `column`.\n\n This ensures that only one message will be printed for each line of a\n given file.\n\n @overload warn(filename, line, message)\n @param filename [String, nil]\n @param line [Number]\n @param message [String]\n @overload warn(filename, line, column, message)\n @param filename [String, nil]\n @param line [Number]\n @param column [Number]\n @param message [String]", "Updates out-of-date stylesheets.\n\n Checks each Sass/SCSS file in\n {file:SASS_REFERENCE.md#template_location-option `:template_location`}\n to see if it's been modified more recently than the corresponding CSS file\n in {file:SASS_REFERENCE.md#css_location-option `:css_location`}.\n If it has, it updates the CSS file.\n\n @param individual_files [Array<(String, String[, String])>]\n A list of files to check for updates\n **in addition to those specified by the\n {file:SASS_REFERENCE.md#template_location-option `:template_location` option}.**\n The first string in each pair is the location of the Sass/SCSS file,\n the second is the location of the CSS file that it should be compiled to.\n The third string, if provided, is the location of the Sourcemap file.", "Construct a list of files that might need to be compiled\n from the provided individual_files and the template_locations.\n\n Note: this method does not cache the results as they can change\n across invocations when sass files are added or removed.\n\n @param individual_files [Array<(String, String[, String])>]\n A list of files to check for updates\n **in addition to those specified by the\n {file:SASS_REFERENCE.md#template_location-option `:template_location` option}.**\n The first string in each pair is the location of the Sass/SCSS file,\n the second is the location of the CSS file that it should be compiled to.\n The third string, if provided, is the location of the Sourcemap file.\n @return [Array<(String, String, String)>]\n A list of [sass_file, css_file, sourcemap_file] tuples similar\n to what was passed in, but expanded to include the current state\n of the directories being updated.", "Remove all output files that would be created by calling update_stylesheets, if they exist.\n\n This method runs the deleting_css and deleting_sourcemap callbacks for\n the files that are deleted.\n\n @param individual_files [Array<(String, String[, String])>]\n A list of files to check for updates\n **in addition to those specified by the\n {file:SASS_REFERENCE.md#template_location-option `:template_location` option}.**\n The first string in each pair is the location of the Sass/SCSS file,\n the second is the location of the CSS file that it should be compiled to.\n The third string, if provided, is the location of the Sourcemap file.", "Returns a copy of this color with one or more channels changed.\n RGB or HSL colors may be changed, but not both at once.\n\n For example:\n\n Color.new([10, 20, 30]).with(:blue => 40)\n #=> rgb(10, 40, 30)\n Color.new([126, 126, 126]).with(:red => 0, :green => 255)\n #=> rgb(0, 255, 126)\n Color.new([255, 0, 127]).with(:saturation => 60)\n #=> rgb(204, 51, 127)\n Color.new([1, 2, 3]).with(:alpha => 0.4)\n #=> rgba(1, 2, 3, 0.4)\n\n @param attrs [{Symbol => Numeric}]\n A map of channel names (`:red`, `:green`, `:blue`,\n `:hue`, `:saturation`, `:lightness`, or `:alpha`) to values\n @return [Color] The new Color object\n @raise [ArgumentError] if both RGB and HSL keys are specified", "Returns a string representation of the color.\n This is usually the color's hex value,\n but if the color has a name that's used instead.\n\n @return [String] The string representation", "Shifts all output source ranges forward one or more lines.\n\n @param delta [Integer] The number of lines to shift the ranges forward.", "Shifts any output source ranges that lie on the first line forward one or\n more characters on that line.\n\n @param delta [Integer] The number of characters to shift the ranges\n forward.", "Returns the number of lines in the comment.\n\n @return [Integer]", "Updates all stylesheets, even those that aren't out-of-date.\n Ignores the cache.\n\n @param individual_files [Array<(String, String)>]\n A list of files to check for updates\n **in addition to those specified by the\n {file:SASS_REFERENCE.md#template_location-option `:template_location` option}.**\n The first string in each pair is the location of the Sass/SCSS file,\n the second is the location of the CSS file that it should be compiled to.\n @see #update_stylesheets", "Converts a color into the format understood by IE filters.\n\n @example\n ie-hex-str(#abc) => #FFAABBCC\n ie-hex-str(#3322BB) => #FF3322BB\n ie-hex-str(rgba(0, 255, 0, 0.5)) => #8000FF00\n @overload ie_hex_str($color)\n @param $color [Sass::Script::Value::Color]\n @return [Sass::Script::Value::String] The IE-formatted string\n representation of the color\n @raise [ArgumentError] if `$color` isn't a color", "Increases or decreases one or more properties of a color. This can change\n the red, green, blue, hue, saturation, value, and alpha properties. The\n properties are specified as keyword arguments, and are added to or\n subtracted from the color's current value for that property.\n\n All properties are optional. You can't specify both RGB properties\n (`$red`, `$green`, `$blue`) and HSL properties (`$hue`, `$saturation`,\n `$value`) at the same time.\n\n @example\n adjust-color(#102030, $blue: 5) => #102035\n adjust-color(#102030, $red: -5, $blue: 5) => #0b2035\n adjust-color(hsl(25, 100%, 80%), $lightness: -30%, $alpha: -0.4) => hsla(25, 100%, 50%, 0.6)\n @overload adjust_color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])\n @param $color [Sass::Script::Value::Color]\n @param $red [Sass::Script::Value::Number] The adjustment to make on the\n red component, between -255 and 255 inclusive\n @param $green [Sass::Script::Value::Number] The adjustment to make on the\n green component, between -255 and 255 inclusive\n @param $blue [Sass::Script::Value::Number] The adjustment to make on the\n blue component, between -255 and 255 inclusive\n @param $hue [Sass::Script::Value::Number] The adjustment to make on the\n hue component, in degrees\n @param $saturation [Sass::Script::Value::Number] The adjustment to make on\n the saturation component, between `-100%` and `100%` inclusive\n @param $lightness [Sass::Script::Value::Number] The adjustment to make on\n the lightness component, between `-100%` and `100%` inclusive\n @param $alpha [Sass::Script::Value::Number] The adjustment to make on the\n alpha component, between -1 and 1 inclusive\n @return [Sass::Script::Value::Color]\n @raise [ArgumentError] if any parameter is the wrong type or out-of\n bounds, or if RGB properties and HSL properties are adjusted at the\n same time", "Changes one or more properties of a color. This can change the red, green,\n blue, hue, saturation, value, and alpha properties. The properties are\n specified as keyword arguments, and replace the color's current value for\n that property.\n\n All properties are optional. You can't specify both RGB properties\n (`$red`, `$green`, `$blue`) and HSL properties (`$hue`, `$saturation`,\n `$value`) at the same time.\n\n @example\n change-color(#102030, $blue: 5) => #102005\n change-color(#102030, $red: 120, $blue: 5) => #782005\n change-color(hsl(25, 100%, 80%), $lightness: 40%, $alpha: 0.8) => hsla(25, 100%, 40%, 0.8)\n @overload change_color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])\n @param $color [Sass::Script::Value::Color]\n @param $red [Sass::Script::Value::Number] The new red component for the\n color, within 0 and 255 inclusive\n @param $green [Sass::Script::Value::Number] The new green component for\n the color, within 0 and 255 inclusive\n @param $blue [Sass::Script::Value::Number] The new blue component for the\n color, within 0 and 255 inclusive\n @param $hue [Sass::Script::Value::Number] The new hue component for the\n color, in degrees\n @param $saturation [Sass::Script::Value::Number] The new saturation\n component for the color, between `0%` and `100%` inclusive\n @param $lightness [Sass::Script::Value::Number] The new lightness\n component for the color, within `0%` and `100%` inclusive\n @param $alpha [Sass::Script::Value::Number] The new alpha component for\n the color, within 0 and 1 inclusive\n @return [Sass::Script::Value::Color]\n @raise [ArgumentError] if any parameter is the wrong type or out-of\n bounds, or if RGB properties and HSL properties are adjusted at the\n same time", "Mixes two colors together. Specifically, takes the average of each of the\n RGB components, optionally weighted by the given percentage. The opacity\n of the colors is also considered when weighting the components.\n\n The weight specifies the amount of the first color that should be included\n in the returned color. The default, `50%`, means that half the first color\n and half the second color should be used. `25%` means that a quarter of\n the first color and three quarters of the second color should be used.\n\n @example\n mix(#f00, #00f) => #7f007f\n mix(#f00, #00f, 25%) => #3f00bf\n mix(rgba(255, 0, 0, 0.5), #00f) => rgba(63, 0, 191, 0.75)\n @overload mix($color1, $color2, $weight: 50%)\n @param $color1 [Sass::Script::Value::Color]\n @param $color2 [Sass::Script::Value::Color]\n @param $weight [Sass::Script::Value::Number] The relative weight of each\n color. Closer to `100%` gives more weight to `$color1`, closer to `0%`\n gives more weight to `$color2`\n @return [Sass::Script::Value::Color]\n @raise [ArgumentError] if `$weight` is out of bounds or any parameter is\n the wrong type", "Add quotes to a string if the string isn't quoted,\n or returns the same string if it is.\n\n @see #unquote\n @example\n quote(\"foo\") => \"foo\"\n quote(foo) => \"foo\"\n @overload quote($string)\n @param $string [Sass::Script::Value::String]\n @return [Sass::Script::Value::String]\n @raise [ArgumentError] if `$string` isn't a string", "Converts a string to upper case.\n\n @example\n to-upper-case(abcd) => ABCD\n\n @overload to_upper_case($string)\n @param $string [Sass::Script::Value::String]\n @return [Sass::Script::Value::String]\n @raise [ArgumentError] if `$string` isn't a string", "Convert a string to lower case,\n\n @example\n to-lower-case(ABCD) => abcd\n\n @overload to_lower_case($string)\n @param $string [Sass::Script::Value::String]\n @return [Sass::Script::Value::String]\n @raise [ArgumentError] if `$string` isn't a string", "Returns the type of a value.\n\n @example\n type-of(100px) => number\n type-of(asdf) => string\n type-of(\"asdf\") => string\n type-of(true) => bool\n type-of(#fff) => color\n type-of(blue) => color\n type-of(null) => null\n type-of(a b c) => list\n type-of((a: 1, b: 2)) => map\n type-of(get-function(\"foo\")) => function\n\n @overload type_of($value)\n @param $value [Sass::Script::Value::Base] The value to inspect\n @return [Sass::Script::Value::String] The unquoted string name of the\n value's type", "Returns whether two numbers can added, subtracted, or compared.\n\n @example\n comparable(2px, 1px) => true\n comparable(100px, 3em) => false\n comparable(10cm, 3mm) => true\n @overload comparable($number1, $number2)\n @param $number1 [Sass::Script::Value::Number]\n @param $number2 [Sass::Script::Value::Number]\n @return [Sass::Script::Value::Bool]\n @raise [ArgumentError] if either parameter is the wrong type", "Converts a unitless number to a percentage.\n\n @example\n percentage(0.2) => 20%\n percentage(100px / 50px) => 200%\n @overload percentage($number)\n @param $number [Sass::Script::Value::Number]\n @return [Sass::Script::Value::Number]\n @raise [ArgumentError] if `$number` isn't a unitless number", "Finds the minimum of several numbers. This function takes any number of\n arguments.\n\n @example\n min(1px, 4px) => 1px\n min(5em, 3em, 4em) => 3em\n @overload min($numbers...)\n @param $numbers [[Sass::Script::Value::Number]]\n @return [Sass::Script::Value::Number]\n @raise [ArgumentError] if any argument isn't a number, or if not all of\n the arguments have comparable units", "Finds the maximum of several numbers. This function takes any number of\n arguments.\n\n @example\n max(1px, 4px) => 4px\n max(5em, 3em, 4em) => 5em\n @overload max($numbers...)\n @param $numbers [[Sass::Script::Value::Number]]\n @return [Sass::Script::Value::Number]\n @raise [ArgumentError] if any argument isn't a number, or if not all of\n the arguments have comparable units", "Return a new list, based on the list provided, but with the nth\n element changed to the value given.\n\n Note that unlike some languages, the first item in a Sass list is number\n 1, the second number 2, and so forth.\n\n Negative index values address elements in reverse order, starting with the last element\n in the list.\n\n @example\n set-nth($list: 10px 20px 30px, $n: 2, $value: -20px) => 10px -20px 30px\n @overload set-nth($list, $n, $value)\n @param $list [Sass::Script::Value::Base] The list that will be copied, having the element\n at index `$n` changed.\n @param $n [Sass::Script::Value::Number] The index of the item to set.\n Negative indices count from the end of the list.\n @param $value [Sass::Script::Value::Base] The new value at index `$n`.\n @return [Sass::Script::Value::List]\n @raise [ArgumentError] if `$n` isn't an integer between 1 and the length\n of `$list`", "Gets the nth item in a list.\n\n Note that unlike some languages, the first item in a Sass list is number\n 1, the second number 2, and so forth.\n\n This can return the nth pair in a map as well.\n\n Negative index values address elements in reverse order, starting with the last element in\n the list.\n\n @example\n nth(10px 20px 30px, 1) => 10px\n nth((Helvetica, Arial, sans-serif), 3) => sans-serif\n nth((width: 10px, length: 20px), 2) => length, 20px\n @overload nth($list, $n)\n @param $list [Sass::Script::Value::Base]\n @param $n [Sass::Script::Value::Number] The index of the item to get.\n Negative indices count from the end of the list.\n @return [Sass::Script::Value::Base]\n @raise [ArgumentError] if `$n` isn't an integer between 1 and the length\n of `$list`", "Joins together two lists into one.\n\n Unless `$separator` is passed, if one list is comma-separated and one is\n space-separated, the first parameter's separator is used for the resulting\n list. If both lists have fewer than two items, spaces are used for the\n resulting list.\n\n Unless `$bracketed` is passed, the resulting list is bracketed if the\n first parameter is.\n\n Like all list functions, `join()` returns a new list rather than modifying\n its arguments in place.\n\n @example\n join(10px 20px, 30px 40px) => 10px 20px 30px 40px\n join((blue, red), (#abc, #def)) => blue, red, #abc, #def\n join(10px, 20px) => 10px 20px\n join(10px, 20px, comma) => 10px, 20px\n join((blue, red), (#abc, #def), space) => blue red #abc #def\n join([10px], 20px) => [10px 20px]\n @overload join($list1, $list2, $separator: auto, $bracketed: auto)\n @param $list1 [Sass::Script::Value::Base]\n @param $list2 [Sass::Script::Value::Base]\n @param $separator [Sass::Script::Value::String] The list separator to use.\n If this is `comma` or `space`, that separator will be used. If this is\n `auto` (the default), the separator is determined as explained above.\n @param $bracketed [Sass::Script::Value::Base] Whether the resulting list\n will be bracketed. If this is `auto` (the default), the separator is\n determined as explained above.\n @return [Sass::Script::Value::List]", "Appends a single value onto the end of a list.\n\n Unless the `$separator` argument is passed, if the list had only one item,\n the resulting list will be space-separated.\n\n Like all list functions, `append()` returns a new list rather than\n modifying its argument in place.\n\n @example\n append(10px 20px, 30px) => 10px 20px 30px\n append((blue, red), green) => blue, red, green\n append(10px 20px, 30px 40px) => 10px 20px (30px 40px)\n append(10px, 20px, comma) => 10px, 20px\n append((blue, red), green, space) => blue red green\n @overload append($list, $val, $separator: auto)\n @param $list [Sass::Script::Value::Base]\n @param $val [Sass::Script::Value::Base]\n @param $separator [Sass::Script::Value::String] The list separator to use.\n If this is `comma` or `space`, that separator will be used. If this is\n `auto` (the default), the separator is determined as explained above.\n @return [Sass::Script::Value::List]", "Combines several lists into a single multidimensional list. The nth value\n of the resulting list is a space separated list of the source lists' nth\n values.\n\n The length of the resulting list is the length of the\n shortest list.\n\n @example\n zip(1px 1px 3px, solid dashed solid, red green blue)\n => 1px solid red, 1px dashed green, 3px solid blue\n @overload zip($lists...)\n @param $lists [[Sass::Script::Value::Base]]\n @return [Sass::Script::Value::List]", "Returns the position of a value within a list. If the value isn't found,\n returns `null` instead.\n\n Note that unlike some languages, the first item in a Sass list is number\n 1, the second number 2, and so forth.\n\n This can return the position of a pair in a map as well.\n\n @example\n index(1px solid red, solid) => 2\n index(1px solid red, dashed) => null\n index((width: 10px, height: 20px), (height 20px)) => 2\n @overload index($list, $value)\n @param $list [Sass::Script::Value::Base]\n @param $value [Sass::Script::Value::Base]\n @return [Sass::Script::Value::Number, Sass::Script::Value::Null] The\n 1-based index of `$value` in `$list`, or `null`", "Returns a new map with keys removed.\n\n Like all map functions, `map-merge()` returns a new map rather than\n modifying its arguments in place.\n\n @example\n map-remove((\"foo\": 1, \"bar\": 2), \"bar\") => (\"foo\": 1)\n map-remove((\"foo\": 1, \"bar\": 2, \"baz\": 3), \"bar\", \"baz\") => (\"foo\": 1)\n map-remove((\"foo\": 1, \"bar\": 2), \"baz\") => (\"foo\": 1, \"bar\": 2)\n @overload map_remove($map, $keys...)\n @param $map [Sass::Script::Value::Map]\n @param $keys [[Sass::Script::Value::Base]]\n @return [Sass::Script::Value::Map]\n @raise [ArgumentError] if `$map` is not a map", "Returns whether a map has a value associated with a given key.\n\n @example\n map-has-key((\"foo\": 1, \"bar\": 2), \"foo\") => true\n map-has-key((\"foo\": 1, \"bar\": 2), \"baz\") => false\n @overload map_has_key($map, $key)\n @param $map [Sass::Script::Value::Map]\n @param $key [Sass::Script::Value::Base]\n @return [Sass::Script::Value::Bool]\n @raise [ArgumentError] if `$map` is not a map", "Returns a unique CSS identifier. The identifier is returned as an unquoted\n string. The identifier returned is only guaranteed to be unique within the\n scope of a single Sass run.\n\n @overload unique_id()\n @return [Sass::Script::Value::String]", "Check whether a variable with the given name exists in the current\n scope or in the global scope.\n\n @example\n $a-false-value: false;\n variable-exists(a-false-value) => true\n variable-exists(a-null-value) => true\n\n variable-exists(nonexistent) => false\n\n @overload variable_exists($name)\n @param $name [Sass::Script::Value::String] The name of the variable to\n check. The name should not include the `$`.\n @return [Sass::Script::Value::Bool] Whether the variable is defined in\n the current scope.", "Check whether a function with the given name exists.\n\n @example\n function-exists(lighten) => true\n\n @function myfunc { @return \"something\"; }\n function-exists(myfunc) => true\n\n @overload function_exists($name)\n @param name [Sass::Script::Value::String] The name of the function to\n check or a function reference.\n @return [Sass::Script::Value::Bool] Whether the function is defined.", "Check whether a mixin was passed a content block.\n\n Unless `content-exists()` is called directly from a mixin, an error will be raised.\n\n @example\n @mixin needs-content {\n @if not content-exists() {\n @error \"You must pass a content block!\"\n }\n @content;\n }\n\n @overload content_exists()\n @return [Sass::Script::Value::Bool] Whether a content block was passed to the mixin.", "Return a string containing the value as its Sass representation.\n\n @overload inspect($value)\n @param $value [Sass::Script::Value::Base] The value to inspect.\n @return [Sass::Script::Value::String] A representation of the value as\n it would be written in Sass.", "Unifies two selectors into a single selector that matches only\n elements matched by both input selectors. Returns `null` if\n there is no such selector.\n\n Like the selector unification done for `@extend`, this doesn't\n guarantee that the output selector will match *all* elements\n matched by both input selectors. For example, if `.a .b` is\n unified with `.x .y`, `.a .x .b.y, .x .a .b.y` will be returned,\n but `.a.x .b.y` will not. This avoids exponential output size\n while matching all elements that are likely to exist in\n practice.\n\n @example\n selector-unify(\".a\", \".b\") => .a.b\n selector-unify(\".a .b\", \".x .y\") => .a .x .b.y, .x .a .b.y\n selector-unify(\".a.b\", \".b.c\") => .a.b.c\n selector-unify(\"#a\", \"#b\") => null\n\n @overload selector_unify($selector1, $selector2)\n @param $selector1 [Sass::Script::Value::String, Sass::Script::Value::List]\n The first selector to be unified. This can be either a\n string, a list of strings, or a list of lists of strings as\n returned by `&`.\n @param $selector2 [Sass::Script::Value::String, Sass::Script::Value::List]\n The second selector to be unified. This can be either a\n string, a list of strings, or a list of lists of strings as\n returned by `&`.\n @return [Sass::Script::Value::List, Sass::Script::Value::Null]\n A list of lists of strings representing the result of the\n unification, or null if no unification exists. This is in\n the same format as a selector returned by `&`.", "This method implements the pattern of transforming a numeric value into\n another numeric value with the same units.\n It yields a number to a block to perform the operation and return a number", "Merges this query with another. The returned query queries for\n the intersection between the two inputs.\n\n Both queries should be resolved.\n\n @param other [Query]\n @return [Query?] The merged query, or nil if there is no intersection.", "Returns the CSS for the media query.\n\n @return [String]", "Returns a deep copy of this query and all its children.\n\n @return [Query]", "Returns whether an element in the list should be wrapped in parentheses\n when serialized to Sass.", "Returns whether a value is a number literal that shouldn't be divided.", "Parses the CSS template and applies various transformations\n\n @return [Tree::Node] The root node of the parsed tree", "Make rules use nesting so that\n\n foo\n color: green\n foo bar\n color: red\n foo baz\n color: blue\n\n becomes\n\n foo\n color: green\n bar\n color: red\n baz\n color: blue\n\n @param root [Tree::Node] The parent node", "Make rules use parent refs so that\n\n foo\n color: green\n foo.bar\n color: blue\n\n becomes\n\n foo\n color: green\n &.bar\n color: blue\n\n @param root [Tree::Node] The parent node", "Flatten rules so that\n\n foo\n bar\n color: red\n\n becomes\n\n foo bar\n color: red\n\n and\n\n foo\n &.bar\n color: blue\n\n becomes\n\n foo.bar\n color: blue\n\n @param root [Tree::Node] The parent node", "Flattens a single rule.\n\n @param rule [Tree::RuleNode] The candidate for flattening\n @see #flatten_rules", "Runs the visitor on the given node.\n This can be overridden by subclasses that need to do something for each node.\n\n @param node [Tree::Node] The node to visit.\n @return [Object] The return value of the `visit_*` method for this node.", "Processes the options set by the command-line arguments,\n and runs the CSS compiler appropriately.", "The SassScript `%` operation.\n\n @param other [Number] The right-hand side of the operator\n @return [Number] This number modulo the other\n @raise [NoMethodError] if `other` is an invalid type\n @raise [Sass::UnitConversionError] if `other` has incompatible units", "The SassScript `==` operation.\n\n @param other [Value] The right-hand side of the operator\n @return [Boolean] Whether this number is equal to the other object", "Hash-equality works differently than `==` equality for numbers.\n Hash-equality must be transitive, so it just compares the exact value,\n numerator units, and denominator units.\n The SassScript `>` operation.\n\n @param other [Number] The right-hand side of the operator\n @return [Boolean] Whether this number is greater than the other\n @raise [NoMethodError] if `other` is an invalid type", "The SassScript `>=` operation.\n\n @param other [Number] The right-hand side of the operator\n @return [Boolean] Whether this number is greater than or equal to the other\n @raise [NoMethodError] if `other` is an invalid type", "The SassScript `<` operation.\n\n @param other [Number] The right-hand side of the operator\n @return [Boolean] Whether this number is less than the other\n @raise [NoMethodError] if `other` is an invalid type", "The SassScript `<=` operation.\n\n @param other [Number] The right-hand side of the operator\n @return [Boolean] Whether this number is less than or equal to the other\n @raise [NoMethodError] if `other` is an invalid type", "Returns a readable representation of this number.\n\n This representation is valid CSS (and valid SassScript)\n as long as there is only one unit.\n\n @return [String] The representation", "Checks whether the number has the numerator unit specified.\n\n @example\n number = Sass::Script::Value::Number.new(10, \"px\")\n number.is_unit?(\"px\") => true\n number.is_unit?(nil) => false\n\n @param unit [::String, nil] The unit the number should have or nil if the number\n should be unitless.\n @see Number#unitless? The unitless? method may be more readable.", "The SassScript `+` operation.\n\n @param other [Value] The right-hand side of the operator\n @return [Script::Value::String] A string containing both values\n without any separation", "Creates a new list containing `contents` but with the same brackets and\n separators as this object, when interpreted as a list.\n\n @param contents [Array] The contents of the new list.\n @param separator [Symbol] The separator of the new list. Defaults to \\{#separator}.\n @param bracketed [Boolean] Whether the new list is bracketed. Defaults to \\{#bracketed}.\n @return [Sass::Script::Value::List]", "Evaluates the variable.\n\n @param environment [Sass::Environment] The environment in which to evaluate the SassScript\n @return [Sass::Script::Value] The SassScript object that is the value of the variable\n @raise [Sass::SyntaxError] if the variable is undefined", "Finds the line of the source template\n on which an exception was raised.\n\n @param exception [Exception] The exception\n @return [String] The line number", "Set an option for specifying `Encoding.default_external`.\n\n @param opts [OptionParser]", "Wraps the given string in terminal escapes\n causing it to have the given color.\n If terminal escapes aren't supported on this platform,\n just returns the string instead.\n\n @param color [Symbol] The name of the color to use.\n Can be `:red`, `:green`, or `:yellow`.\n @param str [String] The string to wrap in the given color.\n @return [String] The wrapped string.", "Construct a Sass Color from hsl values.\n\n @param hue [::Number] The hue of the color in degrees.\n A non-negative number, usually less than 360.\n @param saturation [::Number] The saturation of the color.\n Must be between 0 and 100 inclusive.\n @param lightness [::Number] The lightness of the color.\n Must be between 0 and 100 inclusive.\n @param alpha [::Number] The alpha channel. A number between 0 and 1.\n\n @return [Sass::Script::Value::Color] the color object", "Construct a Sass Color from rgb values.\n\n @param red [::Number] The red component. Must be between 0 and 255 inclusive.\n @param green [::Number] The green component. Must be between 0 and 255 inclusive.\n @param blue [::Number] The blue component. Must be between 0 and 255 inclusive.\n @param alpha [::Number] The alpha channel. A number between 0 and 1.\n\n @return [Sass::Script::Value::Color] the color object", "Parses a user-provided selector.\n\n @param value [Sass::Script::Value::String, Sass::Script::Value::List]\n The selector to parse. This can be either a string, a list of\n strings, or a list of lists of strings as returned by `&`.\n @param name [Symbol, nil]\n If provided, the name of the selector argument. This is used\n for error reporting.\n @param allow_parent_ref [Boolean]\n Whether the parsed selector should allow parent references.\n @return [Sass::Selector::CommaSequence] The parsed selector.\n @throw [ArgumentError] if the parse failed for any reason.", "Parses a user-provided complex selector.\n\n A complex selector can contain combinators but cannot contain commas.\n\n @param value [Sass::Script::Value::String, Sass::Script::Value::List]\n The selector to parse. This can be either a string or a list of\n strings.\n @param name [Symbol, nil]\n If provided, the name of the selector argument. This is used\n for error reporting.\n @param allow_parent_ref [Boolean]\n Whether the parsed selector should allow parent references.\n @return [Sass::Selector::Sequence] The parsed selector.\n @throw [ArgumentError] if the parse failed for any reason.", "Parses a user-provided compound selector.\n\n A compound selector cannot contain combinators or commas.\n\n @param value [Sass::Script::Value::String] The selector to parse.\n @param name [Symbol, nil]\n If provided, the name of the selector argument. This is used\n for error reporting.\n @param allow_parent_ref [Boolean]\n Whether the parsed selector should allow parent references.\n @return [Sass::Selector::SimpleSequence] The parsed selector.\n @throw [ArgumentError] if the parse failed for any reason.", "Converts a user-provided selector into string form or throws an\n ArgumentError if it's in an invalid format.", "Converts a user-provided selector into string form or returns\n `nil` if it's in an invalid format.", "Returns the standard exception backtrace,\n including the Sass backtrace.\n\n @return [Array]", "Returns a string representation of the Sass backtrace.\n\n @param default_filename [String] The filename to use for unknown files\n @see #sass_backtrace\n @return [String]", "Fetch given a key and options and a fallback block attempts to find the key in the cache\n and stores the block result in there if no key is found.\n\n cache = Rabl::CacheEngine.new; cache.fetch(\"some_key\") { \"fallback data\" }", "Maps a cache key to an engine", "Returns the items that were found in the cache", "Maps the results from the cache back to the builders", "Returns the source given a relative template path", "Returns the object rootname based on if the root should be included\n Can be called with data as a collection or object\n determine_object_root(@user, :user, true) => \"user\"\n determine_object_root(@user, :person) => \"person\"\n determine_object_root([@user, @user]) => \"user\"", "Returns true if the obj is a collection of items\n is_collection?(@user) => false\n is_collection?([]) => true", "Returns an Engine based representation of any data object given ejs template block\n object_to_engine(@user) { attribute :full_name } => { ... }\n object_to_engine(@user, :source => \"...\") { attribute :full_name } => { ... }\n object_to_engine([@user], :source => \"...\") { attribute :full_name } => { ... }\n options must have :source (rabl file contents)\n options can have :source_location (source filename)", "Returns true if the cache has been enabled for the application", "Sets the object to be used as the data source for this template\n object(@user)\n object @user => :person\n object @users", "Sets the object as a collection casted to a simple array\n collection @users\n collection @users => :people\n collection @users, :root => :person\n collection @users, :object_root => :person", "Returns a guess at the default object for this template\n default_object => @user", "Returns a guess at the format in this context_scope\n request_format => \"xml\"", "Supports calling helpers defined for the template context_scope using method_missing hook", "Returns the rabl template path for padrino views using configured views", "Returns the rabl template path for Rails, including special lookups for Rails 2 and 3", "Returns the rabl template path for sinatra views using configured views", "Creates a child node that is included in json output\n child(@user) { attribute :full_name }\n child(@user => :person) { ... }\n child(@users => :people) { ... }", "Glues data from a child node to the json_output\n glue(@user) { attribute :full_name => :user_full_name }", "Calls permit! but doesn't raise authorization errors. If no exception is\n raised, permit? returns true and yields to the optional block.", "Returns the role symbols of the given user.", "Returns the privilege hierarchy flattened for given privileges in context.", "resolves all the values in condition_hash", "may return an array of obligations to be OR'ed", "Consumes the given obligation, converting it into scope join and condition options.", "Parses the next step in the association path. If it's an association, we advance down the\n path. Otherwise, it's an attribute, and we need to evaluate it as a comparison operation.", "Adds the given expression to the current obligation's indicated path's conditions.\n\n Condition expressions must follow the format +[ , , ]+.", "Returns the model associated with the given path.", "Returns the reflection corresponding to the given path.", "Attempts to map a reflection for the given path. Raises if already defined.", "Attempts to map a table alias for the given path. Raises if already defined.", "If the user meets the given privilege, permitted_to? returns true\n and yields to the optional block.", "While permitted_to? is used for authorization, in some cases\n content should only be shown to some users without being concerned\n with authorization. E.g. to only show the most relevant menu options\n to a certain group of users. That is what has_role? should be used for.", "Intended to be used where you want to allow users with any single listed role to view\n the content in question", "As has_role? except checks all roles included in the role hierarchy", "As has_any_role? except checks all roles included in the role hierarchy", "Generates a +Fixnum+ hash value for this user object. Implemented to support equality.\n @return [Fixnum] The hash value.\n @see Object#hash\n Saves the room record to Redis, overwriting any previous data for the current ID.\n @return [void]", "Makes the robot join a room with the specified ID.\n @param room [Room, String] The room to join, as a {Room} object or a string identifier.\n @return [void]\n @since 3.0.0", "Makes the robot part from the room with the specified ID.\n @param room [Room, String] The room to leave, as a {Room} object or a string identifier.\n @return [void]\n @since 3.0.0", "Sends one or more messages to a user or room. If sending to a room,\n prefixes each message with the user's mention name.\n @param target [Source] The user or room to send to. If the Source\n has a room, it will choose the room. Otherwise, it will send to the\n user.\n @param strings [String, Array] One or more strings to send.\n @return [void]\n @since 3.1.0", "Triggers an event, instructing all registered handlers to invoke any\n methods subscribed to the event, and passing them a payload hash of\n arbitrary data.\n @param event_name [String, Symbol] The name of the event to trigger.\n @param payload [Hash] An optional hash of arbitrary data.\n @return [void]", "Loads the selected adapter.", "Starts the web server.", "Adds a new HTTP route for the handler.", "Creates and configures a new HTTP route.", "Saves the user record to Redis, overwriting any previous data for the\n current ID and user name.\n @return [void]", "Replies by sending the given strings back to the user who sent the\n message directly, even if the message was sent in a room.\n @param strings [String, Array] The strings to send back.\n @return [void]", "Validates an array of attributes, recursing if any nested attributes are encountered.", "Builds config.adapters", "Builds config.handlers", "Builds config.http", "Builds config.robot", "Sets a configuration attribute on the plugin.\n @return [void]\n @since 4.0.0\n @see ConfigurationBuilder#config", "Declares a configuration attribute.\n @param name [String, Symbol] The attribute's name.\n @param types [Object, Array] Optional: One or more types that the attribute's value\n must be.\n @param type [Object, Array] Optional: One or more types that the attribute's value\n must be.\n @param required [Boolean] Whether or not this attribute must be set. If required, and Lita\n is run without it set, Lita will abort on start up with a message about it.\n @param default [Object] An optional default value for the attribute.\n @yield A block to be evaluated in the context of the new attribute. Used for\n defining nested configuration attributes and validators.\n @return [void]", "Finalize a nested object.", "Finalize the root builder or any builder with children.", "Check's the value's type from inside the finalized object.", "Finds the first route that matches the request environment, if any. Does not trigger the\n route.\n @param env [Hash] A Rack environment.\n @return [Array] An array of the name of the first matching route.\n @since 4.0.0", "Registers routes in the router for each handler's defined routes.", "Checks if a user is in an authorization group.\n @param user [User] The user.\n @param group [Symbol, String] The name of the group.\n @return [Boolean] Whether or not the user is in the group.", "Checks if a user is an administrator.\n @param user [User] The user.\n @return [Boolean] Whether or not the user is an administrator.", "Returns a hash of authorization group names and the users in them.\n @return [Hash] A map of +Symbol+ group names to {User} objects.", "Allow custom route hooks to reject the route", "User must be in auth group if route is restricted.", "Create an empty object to use as the ERB context and set any provided variables in it.", "Starts Lita.\n @return [void]", "Outputs detailed stacktrace when there is a problem or exit 0 when OK.\n You can use this as a pre-check script for any automation\n @return [void]", "Merge schema data with provided schema\n\n @param [Hash, Prmd::Schema] schema\n @return [void]", "Convert Schema to JSON\n\n @return [String]", "Initializes new framer object.\n\n Generates common 9-byte frame header.\n - http://tools.ietf.org/html/draft-ietf-httpbis-http2-16#section-4.1\n\n @param frame [Hash]\n @return [String]", "Decodes common 9-byte header.\n\n @param buf [Buffer]", "Buffers outgoing DATA frames and applies flow control logic to split\n and emit DATA frames based on current flow control window. If the\n window is large enough, the data is sent immediately. Otherwise, the\n data is buffered until the flow control window is updated.\n\n Buffered DATA frames are emitted in FIFO order.\n\n @param frame [Hash]\n @param encode [Boolean] set to true by co", "Emit the connection preface if not yet", "Processes incoming HTTP 2.0 frames. The frames must be decoded upstream.\n\n @param frame [Hash]", "Processes outgoing HTTP 2.0 frames. Data frames may be automatically\n split and buffered based on maximum frame size and current stream flow\n control window size.\n\n @param frame [Hash]", "Sends a HEADERS frame containing HTTP response headers.\n All pseudo-header fields MUST appear in the header block before regular header fields.\n\n @param headers [Array or Hash] Array of key-value pairs or Hash\n @param end_headers [Boolean] indicates that no more headers will be sent\n @param end_stream [Boolean] indicates that no payload will be sent", "Sends DATA frame containing response payload.\n\n @param payload [String]\n @param end_stream [Boolean] indicates last response DATA frame", "Chunk data into max_size, yield each chunk, then return final chunk", "Handle locally initiated server-push event emitted by the stream.\n\n @param args [Array]\n @param callback [Proc]", "Subscribe to all future events for specified type.\n\n @param event [Symbol]\n @param block [Proc] callback function", "Emit event with provided arguments.\n\n @param event [Symbol]\n @param args [Array] arguments to be passed to the callbacks\n @param block [Proc] callback function", "Allocates new stream for current connection.\n\n @param priority [Integer]\n @param window [Integer]\n @param parent [Stream]", "Sends PING frame to the peer.\n\n @param payload [String] optional payload must be 8 bytes long\n @param blk [Proc] callback to execute when PONG is received", "Sends a GOAWAY frame indicating that the peer should stop creating\n new streams for current connection.\n\n Endpoints MAY append opaque data to the payload of any GOAWAY frame.\n Additional debug data is intended for diagnostic purposes only and\n carries no semantic value. Debug data MUST NOT be persistently stored,\n since it could contain sensitive information.\n\n @param error [Symbol]\n @param payload [String]", "Sends a connection SETTINGS frame to the peer.\n The values are reflected when the corresponding ACK is received.\n\n @param settings [Array or Hash]", "Applies HTTP 2.0 binary encoding to the frame.\n\n @param frame [Hash]\n @return [Array of Buffer] encoded frame", "Validate settings parameters. See sepc Section 6.5.2.\n\n @param role [Symbol] The sender's role: :client or :server\n @return nil if no error. Exception object in case of any error.", "Update connection settings based on parameters set by the peer.\n\n @param frame [Hash]", "Decode headers payload and update connection decompressor state.\n\n The receiver endpoint reassembles the header block by concatenating\n the individual fragments, then decompresses the block to reconstruct\n the header set - aka, header payloads are buffered until END_HEADERS,\n or an END_PROMISE flag is seen.\n\n @param frame [Hash]", "Encode headers payload and update connection compressor state.\n\n @param frame [Hash]\n @return [Array of Frame]", "Activates new incoming or outgoing stream and registers appropriate\n connection managemet callbacks.\n\n @param id [Integer]\n @param priority [Integer]\n @param window [Integer]\n @param parent [Stream]", "Emit GOAWAY error indicating to peer that the connection is being\n aborted, and once sent, raise a local exception.\n\n @param error [Symbol]\n @option error [Symbol] :no_error\n @option error [Symbol] :internal_error\n @option error [Symbol] :flow_control_error\n @option error [Symbol] :stream_closed\n @option error [Symbol] :frame_too_large\n @option error [Symbol] :compression_error\n @param msg [String]", "Create a build for the given commit.\n\n commit - the Janky::Commit instance to build.\n user - The login of the GitHub user who pushed.\n compare - optional String GitHub Compare View URL. Defaults to the\n commit last build, if any.\n room_id - optional String room ID. Defaults to the room set on\n the repository.\n\n Returns the newly created Janky::Build.", "Fetch the HEAD commit of this branch using the GitHub API and create a\n build and commit record.\n\n room_id - See build_for documentation. This is passed as is to the\n build_for method.\n user - Ditto.\n\n Returns the newly created Janky::Build.", "Human readable status of this branch\n\n Returns a String.", "Hash representation of this branch status.\n\n Returns a Hash with the name, status, sha1 and compare url.", "Calculate the name of the Jenkins job.\n\n Returns a String hash of this Repository name and uri.", "Run a copy of itself. Typically used to force a build in case of\n temporary test failure or when auto-build is disabled.\n\n new_room_id - optional Campfire room String ID. Defaults to the room of the\n build being re-run.\n\n Returns the build copy.", "Mark the build as started.\n\n url - the full String URL of the build on the Jenkins server.\n now - the Time at which the build started.\n\n Returns nothing or raise an Error for weird transitions.", "Mark the build as complete, store the build output and notify Campfire.\n\n green - Boolean indicating build success.\n now - the Time at which the build completed.\n\n Returns nothing or raise an Error for weird transitions.", "todo - memoize?", "Renders HTML table rows using given grid definition using columns defined in it.\n Allows to provide a custom layout for each for in place with a block\n\n Supported options:\n\n * :columns - Array of column names to display.\n Used in case when same grid class is used in different places\n and needs different columns. Default: all defined columns.\n * :partials - Path for partials lookup.\n Default: 'datagrid'.\n\n = datagrid_rows(grid) # Generic table rows Layout\n\n = datagrid_rows(grid) do |row| # Custom Layout\n %tr\n %td= row.project_name\n %td.project-status{class: row.status}= row.status", "Provides access to datagrid columns data.\n\n # Suppose that grid has first_name and last_name columns\n <%= datagrid_row(grid, user) do |row| %>\n \n <%= row.first_name %>\n <%= row.last_name %>\n \n <% end %>\n\n Used in case you want to build html table completelly manually", "Generates an ascending or descending order url for the given column", "Returns a form input html for the corresponding filter name", "Returns a form label html for the corresponding filter name", "Create a Grouping node. This allows you to set balanced\n pairs of parentheses around your SQL.\n\n ==== Arguments\n\n * +expr+ - The expression to group.\n\n ==== Example\n Post.where.has{_([summary, description]).in(...)}\n #=> SELECT \"posts\".* FROM \"posts\" WHERE (\"posts\".\"summary\", \"posts\".\"description\") IN (...)\"\n Post.select{[id, _(Comment.where.has{post_id == posts.id}.selecting{COUNT(id)})]}.as('comment_count')}\n #=> SELECT \"posts\".\"id\", (SELECT COUNT(\"comments\".\"id\") FROM \"comments\" WHERE \"comments.post_id\" = \"posts\".\"id\") AS \"comment_count\" FROM \"posts\"", "this method allows setting the current_tenant by reading the subdomain and looking\n it up in the tenant-model passed to the method. The method will look for the subdomain\n in a column referenced by the second argument.", "This method sets up a method that allows manual setting of the current_tenant. This method should\n be used in a before_action. In addition, a helper is setup that returns the current_tenant", "Initialize a new Metric.\n\n watch - The Watch.\n destination - The optional destination Hash in canonical hash form.\n Public: Instantiate the given Condition and pass it into the optional\n block. Attributes of the condition must be set in the config file.\n\n kind - The Symbol name of the condition.\n\n Returns nothing.", "Start the DRb server. Abort if there is already a running god instance\n on the socket.\n\n Returns nothing", "Verify that the minimum set of configuration requirements has been met.\n\n Returns true if valid, false if not.", "Move to the given state.\n\n to_state - The Symbol representing the state to move to.\n\n Returns this Task.", "Perform the given action.\n\n a - The Symbol action.\n c - The Condition.\n\n Returns this Task.", "Asynchronously evaluate and handle the given event condition. Handles\n logging notifications, and moving to the new state if necessary.\n\n condition - The Condition to handle.\n\n Returns nothing.", "Log info about the condition and return the list of messages logged.\n\n watch - The Watch.\n metric - The Metric.\n condition - The Condition.\n result - The Boolean result of the condition test evaluation.\n\n Returns the Array of String messages.", "Format the destination specification for use in debug logging.\n\n metric - The Metric.\n condition - The Condition.\n\n Returns the formatted String.", "Notify all recipients of the given condition with the specified message.\n\n condition - The Condition.\n message - The String message to send.\n\n Returns nothing.", "Instantiate a new Logger object", "Get all log output for a given Watch since a certain Time.\n +watch_name+ is the String name of the Watch\n +since+ is the Time since which to fetch log lines\n\n Returns String", "Fetch the PID from pid_file. If the pid_file does not\n exist, then use the PID from the last time it was read.\n If it has never been read, then return nil.\n\n Returns Integer(pid) or nil", "Send the given signal to this process.\n\n Returns nothing", "Ensure that a stop command actually stops the process. Force kill\n if necessary.\n\n Returns nothing", "Wait until the queue has something due, pop it off the queue, and return\n it.\n\n Returns the popped event.", "Create and schedule a new DriverEvent.\n\n condition - The Condition.\n delay - The Numeric number of seconds to delay (default: interval\n defined in condition).\n\n Returns nothing.", "Perform the specifics of the action.\n\n condition - The Condition.\n action - The Symbol action.\n\n Returns nothing.", "This is how the collection is loaded.\n\n You might want to overwrite this method if you want to add pagination\n for example. When you do that, don't forget to cache the result in an\n instance_variable:\n\n def collection\n @projects ||= end_of_association_chain.paginate(params[:page]).all\n end", "This methods gets your begin_of_association_chain, join it with your\n parents chain and returns the scoped association.", "URL to redirect to when redirect implies collection url.", "extract attributes from params", "Defines wich actions will be inherited from the inherited controller.\n Syntax is borrowed from resource_controller.\n\n actions :index, :show, :edit\n actions :all, :except => :index", "A quick method to declare polymorphic belongs to.", "A quick method to declare singleton belongs to.", "A quick method to declare optional belongs to.", "Defines custom restful actions by resource or collection basis.\n\n custom_actions :resource => [:delete, :transit], :collection => :search\n\n == Options\n\n * :resource - Allows you to specify resource actions.\n custom_actions :resource => :delete\n This macro creates 'delete' method in controller and defines\n delete_resource_{path,url} helpers. The body of generated 'delete'\n method is same as 'show' method. So you can override it if need\n\n * :collection - Allows you to specify collection actions.\n custom_actions :collection => :search\n This macro creates 'search' method in controller and defines\n search_resources_{path,url} helpers. The body of generated 'search'\n method is same as 'index' method. So you can override it if need", "Initialize resources class accessors and set their default values.", "Maps parents_symbols to build association chain.\n\n If the parents_symbols find :polymorphic, it goes through the\n params keys to see which polymorphic parent matches the given params.\n\n When optional is given, it does not raise errors if the polymorphic\n params are missing.", "Create a Connection object.\n @param version [String] The Unsplash API version to use.\n @param api_base_uri [String] Base URI at which to make API calls.\n @param oauth_base_uri [String] Base URI for OAuth requests.\n Get OAuth URL for user authentication and authorization.\n @param requested_scopes [Array] An array of permission scopes being requested.\n @return [String] The authorization URL.", "Build an Unsplash object with the given attributes.\n @param attrs [Hash]\n (Re)load full object details from Unsplash.\n @return [Unspash::Client] Itself, with full details reloaded.", "Get a list of photos uploaded by the user.\n @param page [Integer] Which page of results to return.\n @param per_page [Integer] The number of results per page.\n @return [Array] a list of +Unsplash::Photo+ objects.", "Get a list of collections created by the user.\n @param page [Integer] Which page of results to return.\n @param per_page [Integer] The number of results per page. (default: 10, maximum: 30)\n @return [Array] a list of +Unsplash::Collection+ objects.", "Update the collection's attributes.\n @param title [String] The title of the collection.\n @param description [String] The collection's description. (optional)\n @param private [Boolean] Whether to make the collection private. (optional)", "Add a photo to the collection. If the photo is already in the collection,\n this action has no effect.\n @param [Unsplash::Photo] The photo to add.\n @return [Hash] Collected photo metadata.", "Remove a photo from the collection. If the photo is not in the collection,\n this action has no effect.\n @param [Unsplash::Photo] The photo to remove.\n @return [Boolean] +true+ on success.", "Returns a copy of this duration, omitting its seconds.", "session key of rucaptcha", "Generate a new Captcha", "Verify captcha code\n\n params:\n resource - [optional] a ActiveModel object, if given will add validation error message to object.\n :keep_session - if true, RuCaptcha will not delete the captcha code session.\n :captcha - if given, the value of it will be used to verify the captcha,\n if do not give or blank, the value of params[:_rucaptcha] will be used to verify the captcha\n\n exmaples:\n\n verify_rucaptcha?\n verify_rucaptcha?(user, keep_session: true)\n verify_rucaptcha?(nil, keep_session: true)\n verify_rucaptcha?(nil, captcha: params[:user][:captcha])", "Generate a fresh new certificate for the configured domain.", "Just pass all certificates into the new instance. We use the variadic\n argument feature here to ease the usage and improve the readability.\n\n Example:\n\n certs_chain_file = Billy::CertificateChain.new('localhost',\n cert1,\n cert2, ..).file\n Write out the certificates chain file and pass the path back. This will\n produce a temporary file which will be remove after the current process\n terminates.", "Name of the connection pool. Used by ConnectionHandler to retrieve the current connection pool.", "Insert an XML declaration into the XML markup.\n\n For example:\n\n xml.declare! :ELEMENT, :blah, \"yada\"\n # => ", "Insert a processing instruction into the XML markup. E.g.\n\n For example:\n\n xml.instruct!\n #=> \n xml.instruct! :aaa, :bbb=>\"ccc\"\n #=> \n\n Note: If the encoding is setup to \"UTF-8\" and the value of\n $KCODE is \"UTF8\", then builder will emit UTF-8 encoded strings\n rather than the entity encoding normally used.", "Insert special instruction.", "Create XML markup based on the name of the method. This method\n is never invoked directly, but is called for each markup method\n in the markup block that isn't cached.", "If XmlBase.cache_method_calls = true, we dynamicly create the method\n missed as an instance method on the XMLBase object. Because XML\n documents are usually very repetative in nature, the next node will\n be handled by the new method instead of method_missing. As\n method_missing is very slow, this speeds up document generation\n significantly.", "Same as +render_to_string+ but writes the processed template to +output_path+.", "Adds a new tag to the permitted tags hash or replaces an existing one", "Same as pool, but links to the pool manager", "Create a new actor and link to the current one", "Wait for the given signal and return the associated value", "Send a signal to the first task waiting on this condition", "Broadcast a value to all waiting tasks and threads", "Execute the given method in future context", "Obtain the value for this Future", "Signal this future with the given result value", "Run the actor loop", "Perform a linking request with another actor", "Receive an asynchronous message", "Handle standard low-priority messages", "Handle any exceptions that occur within a running actor", "Handle cleaning up this actor after it exits", "Clean up after this actor", "Suspend the current task, changing the status to the given argument", "Resume a suspended task, giving it a value to return if needed", "Terminate this task", "Run the user-defined finalizer, if one is set", "Add a message to the Mailbox", "Receive a message from the Mailbox. May return nil and may return before\n the specified timeout.", "Receive a letter from the mailbox. Guaranteed to return a message. If\n timeout is exceeded, raise a TaskTimeout.", "Shut down this mailbox and clean up its contents", "Retrieve the next message in the mailbox", "Merge two incidents together. This may be useful if two incidents occur at the same time.", "Handle high-priority system event messages", "Create a new IncidentLogger.\n add an event.", "returns decrypted_message, status, desc, lines", "actually distribute the message", "apparently it's a million times faster to call this directly if\n we're just moving messages around on disk, than reading things\n into memory with raw_message.", "must be called first with the default account. fills in missing\n values from the default account.", "open up a thread view window", "both spam and deleted have the curious characteristic that you\n always want to hide the thread after either applying or removing\n that label. in all thread-index-views except for\n label-search-results-mode, when you mark a message as spam or\n deleted, you want it to disappear immediately; in LSRM, you only\n see deleted or spam emails, and when you undelete or unspam them\n you also want them to disappear immediately.", "see comment for multi_toggle_spam", "m-m-m-m-MULTI-KILL", "used to tag threads by query. this can be made a lot more sophisticated,\n but for right now we'll do the obvious this.", "preserve author order from the thread", "s nil means a blank line!", "we reset force_to_top when rolling buffers. this is so that the\n human can actually still move buffers around, while still\n programmatically being able to pop stuff up in the middle of\n drawing a window without worrying about covering it up.\n\n if we ever start calling roll_buffers programmatically, we will\n have to change this. but it's not clear that we will ever actually\n do that.", "returns an array of labels", "for simplicitly, we always place the question at the very bottom of the\n screen", "this may not actually be called anywhere, since we still keep contacts\n around without aliases to override any fullname changes.", "here we generate the actual content lines. we accumulate\n everything into @text, and we set @chunk_lines and\n @message_lines, and we update @layout.", "Return the number of matches for query in the index", "Load message with the given message-id from the index", "Given an array of email addresses, return an array of Person objects that\n have sent mail to or received mail from any of the given addresses.", "Index content that can't be changed by the user", "Construct a Xapian term", "link two containers", "loads in all messages needed to thread m\n may do nothing if m's thread is killed", "merges in a pre-loaded thread", "merges two threads together. both must be members of this threadset.\n does its best, heuristically, to determine which is the parent.", "the heart of the threading code", "this is called when the message body needs to actually be loaded.", "returns all the content from a message that will be indexed", "here's where we handle decoding mime attachments. unfortunately\n but unsurprisingly, the world of mime attachments is a bit of a\n mess. as an empiricist, i'm basing the following behavior on\n observed mail rather than on interpretations of rfcs, so probably\n this will have to be tweaked.\n\n the general behavior i want is: ignore content-disposition, at\n least in so far as it suggests something being inline vs being an\n attachment. (because really, that should be the recipient's\n decision to make.) if a mime part is text/plain, OR if the user\n decoding hook converts it, then decode it and display it\n inline. for these decoded attachments, if it has associated\n filename, then make it collapsable and individually saveable;\n otherwise, treat it as regular body text.\n\n everything else is just an attachment and is not displayed\n inline.\n\n so, in contrast to mutt, the user is not exposed to the workings\n of the gruesome slaughterhouse and sausage factory that is a\n mime-encoded message, but need only see the delicious end\n product.", "reverse the label->string mapping, for convenience!", "subclasses can override these three!", "set top line to l", "more complicated than one might think. three behaviors.", "ncurses inanity wrapper\n\n DO NOT READ THIS CODE. YOU WILL GO MAD.", "Trigger the success callback function attached to the client event that triggered\n this action. The object passed to this method will be passed as an argument to\n the callback function on the client.", "Trigger the failure callback function attached to the client event that triggered\n this action. The object passed to this method will be passed as an argument to\n the callback function on the client.", "Sends a message to the client that initiated the current event being executed. Messages\n are serialized as JSON into a two element Array where the first element is the event\n and the second element is the message that was passed, typically a Hash.\n\n To send an event under a namespace, add the `:namespace => :target_namespace` option.\n\n send_message :new_message, message_hash, :namespace => :product\n\n Nested namespaces can be passed as an array like the following:\n\n send_message :new, message_hash, :namespace => [:products,:glasses]\n\n See the {EventMap} documentation for more on mapping namespaced actions.", "Reloads the controller class to pick up code changes\n while in the development environment.", "Primary entry point for the Rack application", "Use the bare minimum to redirect to legacy page\n\n Don't use query string of legacy urlname.\n This drops the given query string.", "Updates all related contents by calling +update_essence+ on each of them.\n\n @param contents_attributes [Hash]\n Hash of contents attributes.\n The keys has to be the #id of the content to update.\n The values a Hash of attribute names and values\n\n @return [Boolean]\n True if +errors+ are blank or +contents_attributes+ hash is nil\n\n == Example\n\n @element.update_contents(\n \"1\" => {ingredient: \"Title\"},\n \"2\" => {link: \"https://google.com\"}\n )", "Copy current content's contents to given target element", "Returns the definition for given content_name", "Returns an array of all EssenceRichtext contents ids from elements\n\n This is used to re-initialize the TinyMCE editor in the element editor.", "creates the contents for this element as described in the elements.yml", "All available element definitions that can actually be placed on current page.\n\n It extracts all definitions that are unique or limited and already on page.\n\n == Example of unique element:\n\n - name: headline\n unique: true\n contents:\n - name: headline\n type: EssenceText\n\n == Example of limited element:\n\n - name: article\n amount: 2\n contents:\n - name: text\n type: EssenceRichtext", "Available element definitions excluding nested unique elements.", "All element definitions defined for page's page layout including nestable element definitions", "Looks in the page_layout descripion, if there are elements to autogenerate.\n\n And if so, it generates them.", "Deletes limited and outnumbered definitions from @_element_definitions.", "Define a page layout callback\n\n Pass a block or method name in which you have the +@page+ object available and can do\n everything as if you were in a normal controller action.\n\n Pass a +Alchemy::PageLayout+ name, an array of names, or +:all+ to\n evaluate the callback on either some specific or all the pages.", "Serialized object representation for json api", "Updates the essence.\n\n Called from +Alchemy::Element#update_contents+\n\n Adds errors to self.base if essence validation fails.", "Block-level helper for element views. Constructs a DOM element wrapping\n your content element and provides a block helper object you can use for\n concise access to Alchemy's various helpers.\n\n === Example:\n\n <%= element_view_for(element) do |el| %>\n <%= el.render :title %>\n <%= el.render :body %>\n <%= link_to \"Go!\", el.ingredient(:target_url) %>\n <% end %>\n\n You can override the tag, ID and class used for the generated DOM\n element:\n\n <%= element_view_for(element, tag: 'span', id: 'my_id', class: 'thing') do |el| %>\n <%- ... %>\n <% end %>\n\n If you don't want your view to be wrapped into an extra element, simply set\n `tag` to `false`:\n\n <%= element_view_for(element, tag: false) do |el| %>\n <%- ... %>\n <% end %>\n\n @param [Alchemy::Element] element\n The element to display.\n @param [Hash] options\n Additional options.\n\n @option options :tag (:div)\n The HTML tag to be used for the wrapping element.\n @option options :id (the element's dom_id)\n The wrapper tag's DOM ID.\n @option options :class (the element's essence name)\n The wrapper tag's DOM class.\n @option options :tags_formatter\n A lambda used for formatting the element's tags (see Alchemy::ElementsHelper::element_tags_attributes). Set to +false+ to not include tags in the wrapper element.", "Returns a path to picture for use inside a image_tag helper.\n\n Any additional options are passed to the url_helper, so you can add arguments to your url.\n\n Example:\n\n <%= image_tag picture.url(size: '320x200', format: 'png') %>", "Returns the processed image dependent of size and cropping parameters", "Returns the encoded image\n\n Flatten animated gifs, only if converting to a different format.\n Can be overwritten via +options[:flatten]+.", "Returns the value from resource attribute\n\n If the attribute has a relation, the related object's attribute value will be returned.\n\n The output will be truncated after 50 chars.\n Pass another number to truncate then and pass false to disable this completely.\n\n @param [Alchemy::Resource] resource\n @param [Hash] attribute\n @option options [Hash] :truncate (50) The length of the value returned.\n @option options [Hash] :datetime_format (alchemy.default) The format of timestamps.\n @option options [Hash] :time_format (alchemy.time) The format of time values.\n\n @return [String]", "Returns a options hash for simple_form input fields.", "Renders the row for a resource record in the resources table.\n\n This helper has a nice fallback. If you create a partial for your record then this partial will be rendered.\n\n Otherwise the default +app/views/alchemy/admin/resources/_resource.html.erb+ partial gets rendered.\n\n == Example\n\n For a resource named +Comment+ you can create a partial named +_comment.html.erb+\n\n # app/views/admin/comments/_comment.html.erb\n \n <%= comment.title %>\n <%= comment.body %>\n \n\n NOTE: Alchemy gives you a local variable named like your resource", "Returns all attribute names that are searchable in the admin interface", "Returns a help text for resource's form\n\n === Example:\n\n de:\n alchemy:\n resource_help_texts:\n my_resource_name:\n attribute_name: This is the fancy help text", "Expands the resource_relations hash with matching activerecord associations data.", "Stores all activerecord associations in model_associations attribute", "Prints out all the todos", "Prints out the given log message with the color due to its type\n\n @param [String] message\n @param [Symbol] type", "Gives the color string using Thor\n Used for colorizing the message on the shell\n\n @param [String] name\n @return [String]", "Picture rendering options\n\n Returns the +default_render_format+ of the associated +Alchemy::Picture+\n together with the +crop_from+ and +crop_size+ values\n\n @return [HashWithIndifferentAccess]", "Returns an url for the thumbnail representation of the assigned picture\n\n It takes cropping values into account, so it always represents the current\n image displayed in the frontend.\n\n @return [String]", "A Hash of coordinates suitable for the graphical image cropper.\n\n @return [Hash]", "Show image cropping link for content and options?", "Returns a hint\n\n To add a hint to a content pass +hint: true+ to the element definition in its element.yml\n\n Then the hint itself is placed in the locale yml files.\n\n Alternativly you can pass the hint itself to the hint key.\n\n == Locale Example:\n\n # elements.yml\n - name: headline\n contents:\n - name: headline\n type: EssenceText\n hint: true\n\n # config/locales/de.yml\n de:\n content_hints:\n headline: Lorem ipsum\n\n == Hint Key Example:\n\n - name: headline\n contents:\n - name: headline\n type: EssenceText\n hint: Lorem ipsum\n\n @return String", "Returns the default centered image mask for a given size.\n If the mask is bigger than the image, the mask is scaled down\n so the largest possible part of the image is visible.", "Returns a size value String for the thumbnail used in essence picture editors.", "Returns the rendered cropped image. Tries to use the crop_from and crop_size\n parameters. When they can't be parsed, it just crops from the center.", "This function takes a target and a base dimensions hash and returns\n the dimensions of the image when the base dimensions hash fills\n the target.\n\n Aspect ratio will be preserved.", "Uses imagemagick to make a centercropped thumbnail. Does not scale the image up.", "Use imagemagick to custom crop an image. Uses -thumbnail for better performance when resizing.", "Used when centercropping.", "Returns the previous page on the same level or nil.\n\n @option options [Boolean] :restricted (false)\n only restricted pages (true), skip restricted pages (false)\n @option options [Boolean] :public (true)\n only public pages (true), skip public pages (false)", "Publishes the page.\n\n Sets +public_on+ and the +published_at+ value to current time\n and resets +public_until+ to nil\n\n The +published_at+ attribute is used as +cache_key+.", "Stores the old urlname in a LegacyPageUrl", "Returns true if the page cache control headers should be set.\n\n == Disable Alchemy's page caching globally\n\n # config/alchemy/config.yml\n ...\n cache_pages: false\n\n == Disable caching on page layout level\n\n # config/alchemy/page_layouts.yml\n - name: contact\n cache: false\n\n == Note:\n\n This only sets the cache control headers and skips rendering of the page body,\n if the cache is fresh.\n This does not disable the fragment caching in the views.\n So if you don't want a page and it's elements to be cached,\n then be sure to not use <% cache element %> in the views.\n\n @returns Boolean", "Set a list of tags\n Pass a String with comma separated tag names or\n an Array of tag names", "sends file as attachment. aka download", "Returns a security token for signed picture rendering requests.\n\n Pass a params hash containing:\n\n size [String] (Optional)\n crop [Boolean] (Optional)\n crop_from [String] (Optional)\n crop_size [String] (Optional)\n quality [Integer] (Optional)\n\n to sign them.", "Makes a slug of all ancestors urlnames including mine and delimit them be slash.\n So the whole path is stored as urlname in the database.", "Converts the given name into an url friendly string.\n\n Names shorter than 3 will be filled up with dashes,\n so it does not collidate with the language code.", "== Renders the element view partial\n\n === Accepted Formats\n\n * html\n * js (Tries to replace a given +container_id+ with the elements view partial content via jQuery.)", "Render a Fontawesome icon\n\n @param icon_class [String] Fontawesome icon name\n @param size: nil [String] Fontawesome icon size\n @param transform: nil [String] Fontawesome transform style\n\n @return [String]", "Checks if the given argument is a String or a Page object.\n If a String is given, it tries to find the page via page_layout\n Logs a warning if no page is given.", "== Loads page by urlname\n\n If a locale is specified in the request parameters,\n scope pages to it to make sure we can raise a 404 if the urlname\n is not available in that language.\n\n @return Alchemy::Page\n @return NilClass", "We only render the page if either the cache is disabled for this page\n or the cache is stale, because it's been republished by the user.", "Renders the +Essence+ view partial from +Element+ by name.\n\n Pass the name of the +Content+ from +Element+ as second argument.\n\n == Example:\n\n This renders the +Content+ named \"intro\" from element.\n\n <%= render_essence_view_by_name(element, \"intro\") %>", "Renders the +Esssence+ partial for given +Content+.\n\n The helper renders the view partial as default.\n\n Pass +:editor+ as second argument to render the editor partial\n\n == Options:\n\n You can pass a options Hash to each type of essence partial as third argument.\n\n This Hash is available as +options+ local variable.\n\n for_view: {}\n for_editor: {}", "The current authorized user.\n\n In order to have Alchemy's authorization work, you have to\n provide a +current_user+ method in your app's ApplicationController,\n that returns the current user. To change the method +current_alchemy_user+\n will call, set +Alchemy.current_user_method+ to a different method name.\n\n If you don't have an App that can provide a +current_user+ object,\n you can install the `alchemy-devise` gem that provides everything you need.", "Try to find and stores current language for Alchemy.", "Stores language's id in the session.\n\n Also stores language in +Language.current+", "Renders elements from given page\n\n == Examples:\n\n === Render only certain elements:\n\n
\n <%= render_elements only: ['header', 'claim'] %>\n
\n
\n <%= render_elements except: ['header', 'claim'] %>\n
\n\n === Render elements from global page:\n\n
\n <%= render_elements from_page: 'footer' %>\n
\n\n === Fallback to elements from global page:\n\n You can use the fallback option as an override for elements that are stored on another page.\n So you can take elements from a global page and only if the user adds an element on current page the\n local one gets rendered.\n\n 1. You have to pass the the name of the element the fallback is for as for key.\n 2. You have to pass a page_layout name or {Alchemy::Page} from where the fallback elements is taken from as from key.\n 3. You can pass the name of element to fallback with as with key. This is optional (the element name from the for key is taken as default).\n\n <%= render_elements(fallback: {\n for: 'contact_teaser',\n from: 'sidebar',\n with: 'contact_teaser'\n }) %>\n\n === Custom elements finder:\n\n Having a custom element finder class:\n\n class MyCustomNewsArchive\n def elements(page:)\n news_page.elements.available.named('news').order(created_at: :desc)\n end\n\n private\n\n def news_page\n Alchemy::Page.where(page_layout: 'news-archive')\n end\n end\n\n In your view:\n\n
\n <%= render_elements finder: MyCustomNewsArchive.new %>\n
\n\n @option options [Alchemy::Page|String] :from_page (@page)\n The page the elements are rendered from. You can pass a page_layout String or a {Alchemy::Page} object.\n @option options [Array|String] :only\n A list of element names only to be rendered.\n @option options [Array|String] :except\n A list of element names not to be rendered.\n @option options [Number] :count\n The amount of elements to be rendered (begins with first element found)\n @option options [Number] :offset\n The offset to begin loading elements from\n @option options [Hash] :fallback\n Define elements that are rendered from another page.\n @option options [Boolean] :random (false)\n Randomize the output of elements\n @option options [Boolean] :reverse (false)\n Reverse the rendering order\n @option options [String] :separator\n A string that will be used to join the element partials.\n @option options [Class] :finder (Alchemy::ElementsFinder)\n A class instance that will return elements that get rendered.\n Use this for your custom element loading logic in views.", "Renders the HTML tag attributes required for preview mode.", "Returns the element's tags information as an attribute hash.\n\n @param [Alchemy::Element] element The {Alchemy::Element} you want to render the tags from.\n\n @option options [Proc] :formatter\n ('lambda { |tags| tags.join(' ') }')\n Lambda converting array of tags to a string.\n\n @return [Hash]\n HTML tag attributes containing the element's tag information.", "Returns next public element from same page.\n\n Pass an element name to get next of this kind.", "Copy all nested elements from current element to given target element.", "Essence validation errors\n\n == Error messages are translated via I18n\n\n Inside your translation file add translations like:\n\n alchemy:\n content_validations:\n name_of_the_element:\n name_of_the_content:\n validation_error_type: Error Message\n\n NOTE: +validation_error_type+ has to be one of:\n\n * blank\n * taken\n * invalid\n\n === Example:\n\n de:\n alchemy:\n content_validations:\n contactform:\n email:\n invalid: 'Die Email hat nicht das richtige Format'\n\n\n == Error message translation fallbacks\n\n In order to not translate every single content for every element\n you can provide default error messages per content name:\n\n === Example\n\n en:\n alchemy:\n content_validations:\n fields:\n email:\n invalid: E-Mail has wrong format\n blank: E-Mail can't be blank\n\n And even further you can provide general field agnostic error messages:\n\n === Example\n\n en:\n alchemy:\n content_validations:\n errors:\n invalid: %{field} has wrong format\n blank: %{field} can't be blank", "Renders links to language root pages of all published languages.\n\n @option options linkname [String] ('name')\n Renders name/code of language, or I18n translation for code.\n\n @option options show_title [Boolean] (true)\n Renders title attributes for the links.\n\n @option options spacer [String] ('')\n Renders the passed spacer string. You can also overwrite the spacer partial: \"alchemy/language_links/_spacer\".\n\n @option options reverse [Boolean] (false)\n Reverses the ordering of the links.", "Renders the navigation.\n\n It produces a html
structure with all necessary classes so you can produce every navigation the web uses today.\n I.E. dropdown-navigations, simple mainnavigations or even complex nested ones.\n\n === HTML output:\n\n \n\n As you can see: Everything you need.\n\n Not pleased with the way Alchemy produces the navigation structure?\n\n Then feel free to overwrite the partials (_renderer.html.erb and _link.html.erb) found in +views/navigation/+ or pass different partials via the options +:navigation_partial+ and +:navigation_link_partial+.\n\n === Passing HTML classes and ids to the renderer\n\n A second hash can be passed as html_options to the navigation renderer partial.\n\n ==== Example:\n\n <%= render_navigation({from_page: 'subnavi'}, {class: 'navigation', id: 'subnavigation'}) %>\n\n\n @option options submenu [Boolean] (false)\n Do you want a nested