Use this API to update bridgetable resources.
493111
public static base_responses update(nitro_service client, bridgetable resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			bridgetable updateresources[] = new bridgetable[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new bridgetable();
				updateresources[i].bridgeage = resources[i].bridgeage;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
624566
public static base_response update(nitro_service client, clusterinstance resource) throws Exception {
		clusterinstance updateresource = new clusterinstance();
		updateresource.clid = resource.clid;
		updateresource.deadinterval = resource.deadinterval;
		updateresource.hellointerval = resource.hellointerval;
		updateresource.preemption = resource.preemption;
		return updateresource.update_resource(client);
	}
1012418
public static base_response update(nitro_service client, callhome resource) throws Exception {
		callhome updateresource = new callhome();
		updateresource.emailaddress = resource.emailaddress;
		updateresource.proxymode = resource.proxymode;
		updateresource.ipaddress = resource.ipaddress;
		updateresource.port = resource.port;
		return updateresource.update_resource(client);
	}
507245
function updateResource(project, slug, xlfFile, apiHostname, credentials) {
    return new Promise((resolve, reject) => {
        const data = JSON.stringify({ content: xlfFile.contents.toString() });
        const options = {
            hostname: apiHostname,
            path: `/api/2/project/${project}/resource/${slug}/content`,
            headers: {
                'Content-Type': 'application/json',
                'Content-Length': Buffer.byteLength(data)
            },
            auth: credentials,
            method: 'PUT'
        };
        let request = https.request(options, (res) => {
            if (res.statusCode === 200) {
                res.setEncoding('utf8');
                let responseBuffer = '';
                res.on('data', function (chunk) {
                    responseBuffer += chunk;
                });
                res.on('end', () => {
                    const response = JSON.parse(responseBuffer);
                    log(`Resource ${project}/${slug} successfully updated on Transifex. Strings added: ${response.strings_added}, updated: ${response.strings_added}, deleted: ${response.strings_added}`);
                    resolve();
                });
            }
            else {
                reject(`Something went wrong in the request updating ${slug} in ${project}. ${res.statusCode}`);
            }
        });
        request.on('error', (err) => {
            reject(`Failed to update ${project}/${slug} on Transifex: ${err}`);
        });
        request.write(data);
        request.end();
    });
}
337032
public static br_broker update(nitro_service client, br_broker resource) throws Exception
	{
		resource.validate("modify");
		return ((br_broker[]) resource.update_resource(client))[0];
	}
1068476
public static base_responses update(nitro_service client, clusternode resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			clusternode updateresources[] = new clusternode[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new clusternode();
				updateresources[i].nodeid = resources[i].nodeid;
				updateresources[i].state = resources[i].state;
				updateresources[i].backplane = resources[i].backplane;
				updateresources[i].priority = resources[i].priority;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
1272353
public static base_responses update(nitro_service client, gslbvserver resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			gslbvserver updateresources[] = new gslbvserver[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new gslbvserver();
				updateresources[i].name = resources[i].name;
				updateresources[i].iptype = resources[i].iptype;
				updateresources[i].dnsrecordtype = resources[i].dnsrecordtype;
				updateresources[i].backupvserver = resources[i].backupvserver;
				updateresources[i].backupsessiontimeout = resources[i].backupsessiontimeout;
				updateresources[i].lbmethod = resources[i].lbmethod;
				updateresources[i].backuplbmethod = resources[i].backuplbmethod;
				updateresources[i].netmask = resources[i].netmask;
				updateresources[i].v6netmasklen = resources[i].v6netmasklen;
				updateresources[i].tolerance = resources[i].tolerance;
				updateresources[i].persistencetype = resources[i].persistencetype;
				updateresources[i].persistenceid = resources[i].persistenceid;
				updateresources[i].persistmask = resources[i].persistmask;
				updateresources[i].v6persistmasklen = resources[i].v6persistmasklen;
				updateresources[i].timeout = resources[i].timeout;
				updateresources[i].edr = resources[i].edr;
				updateresources[i].mir = resources[i].mir;
				updateresources[i].disableprimaryondown = resources[i].disableprimaryondown;
				updateresources[i].dynamicweight = resources[i].dynamicweight;
				updateresources[i].considereffectivestate = resources[i].considereffectivestate;
				updateresources[i].somethod = resources[i].somethod;
				updateresources[i].sopersistence = resources[i].sopersistence;
				updateresources[i].sopersistencetimeout = resources[i].sopersistencetimeout;
				updateresources[i].sothreshold = resources[i].sothreshold;
				updateresources[i].sobackupaction = resources[i].sobackupaction;
				updateresources[i].servicename = resources[i].servicename;
				updateresources[i].weight = resources[i].weight;
				updateresources[i].domainname = resources[i].domainname;
				updateresources[i].ttl = resources[i].ttl;
				updateresources[i].backupip = resources[i].backupip;
				updateresources[i].cookie_domain = resources[i].cookie_domain;
				updateresources[i].cookietimeout = resources[i].cookietimeout;
				updateresources[i].sitedomainttl = resources[i].sitedomainttl;
				updateresources[i].comment = resources[i].comment;
				updateresources[i].appflowlog = resources[i].appflowlog;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
430668
public static base_response update(nitro_service client, Interface resource) throws Exception {
		Interface updateresource = new Interface();
		updateresource.id = resource.id;
		updateresource.speed = resource.speed;
		updateresource.duplex = resource.duplex;
		updateresource.flowctl = resource.flowctl;
		updateresource.autoneg = resource.autoneg;
		updateresource.hamonitor = resource.hamonitor;
		updateresource.tagall = resource.tagall;
		updateresource.trunk = resource.trunk;
		updateresource.lacpmode = resource.lacpmode;
		updateresource.lacpkey = resource.lacpkey;
		updateresource.lagtype = resource.lagtype;
		updateresource.lacppriority = resource.lacppriority;
		updateresource.lacptimeout = resource.lacptimeout;
		updateresource.ifalias = resource.ifalias;
		updateresource.throughput = resource.throughput;
		updateresource.bandwidthhigh = resource.bandwidthhigh;
		updateresource.bandwidthnormal = resource.bandwidthnormal;
		return updateresource.update_resource(client);
	}
497840
def update(customer, **data):
        
        if isinstance(customer, resources.Customer):
            customer = customer.id

        http_client = HttpClient()
        response, _ = http_client.patch(routes.url(routes.CUSTOMER_RESOURCE, resource_id=customer), data)
        return resources.Customer(**response)
259295
def update(self, **kwargs):
        
        return self.__class__(self.resource.update(kwargs),
                              self.client,
                              wallet=self.wallet)
703915
def update_all(self, rs=None, since=None):
        ""
        self._log.info("Updating resources: %s", ' '.join(r.tag for r in rs))

        if rs is None:
            rs = resource.all_resources()
        ctx = self._ContextClass(self)
        for r in rs:
            self._atomic_update(lambda: ctx.sync_resource(r, since=since))
739706
def UpdateProtoResources(self, status):
    """"""
    user_cpu = status.cpu_time_used.user_cpu_time
    system_cpu = status.cpu_time_used.system_cpu_time
    self.context.client_resources.cpu_usage.user_cpu_time += user_cpu
    self.context.client_resources.cpu_usage.system_cpu_time += system_cpu

    user_cpu_total = self.context.client_resources.cpu_usage.user_cpu_time
    system_cpu_total = self.context.client_resources.cpu_usage.system_cpu_time

    self.context.network_bytes_sent += status.network_bytes_sent

    if self.runner_args.cpu_limit:
      if self.runner_args.cpu_limit < (user_cpu_total + system_cpu_total):
        # We have exceeded our limit, stop this flow.
        raise FlowRunnerError("CPU limit exceeded.")

    if self.runner_args.network_bytes_limit:
      if (self.runner_args.network_bytes_limit <
          self.context.network_bytes_sent):
        # We have exceeded our byte limit, stop this flow.
        raise FlowRunnerError("Network bytes limit exceeded.")
821231
public function updateDb()
    {
        $this->createUpdateTableIfNotExists();
        $this->getProcessedFiles();
        
        $path = leedch_resourceMysqlUpdateFolder;
        $files = $this->findNewFiles($path);
        
        $this->processNewFiles($files);
    }
1283467
protected void updateFromResource() {

        setCreationDate(m_resource.getDateCreated());
        int length = m_resource.getLength();
        if (m_resource.isFolder()) {
            length = 1;
        }
        setFileSize(length);
        setModifyDate(m_resource.getDateLastModified());
        setAttributes(m_resource.isFile() ? FileAttribute.Normal : FileAttribute.Directory);
    }
1041922
public static base_responses update(nitro_service client, snmpengineid resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			snmpengineid updateresources[] = new snmpengineid[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new snmpengineid();
				updateresources[i].engineid = resources[i].engineid;
				updateresources[i].ownernode = resources[i].ownernode;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
782341
public static base_response update(nitro_service client, lbwlm resource) throws Exception {
		lbwlm updateresource = new lbwlm();
		updateresource.wlmname = resource.wlmname;
		updateresource.katimeout = resource.katimeout;
		return updateresource.update_resource(client);
	}
725794
def update(self, resource, id_or_uri):
        
        return self._client.update(resource=resource, uri=id_or_uri)